[MacPorts] #36890: ffmpeg @1.0_1 +gpl2 Patch to allow successful build on PPC Tiger
#36890: ffmpeg @1.0_1 +gpl2 Patch to allow successful build on PPC Tiger ----------------------------+-------------------------------- Reporter: ccarey@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: tiger haspatch | Port: ffmpeg ----------------------------+-------------------------------- The {{{ffmpeg @1.0_1 +gpl2}}} port does not successfully build on PPC Tiger because of {{{ :debug:configure Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-1.0" && ./configure --prefix=/opt/local --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libspeex --disable-mmx --disable-mmx2 --disable- sse --disable-ssse3 --disable-amd3dnow --disable-amd3dnowext --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/gcc-4.0 --arch=ppc --enable-gpl --enable-postproc --enable- libx264 --enable-libxvid :info:configure Unknown option "--disable-mmx2". :info:configure See ./configure --help for available options. :info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-1.0" && ./configure --prefix=/opt/local --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libspeex --disable-mmx --disable-mmx2 --disable- sse --disable-ssse3 --disable-amd3dnow --disable-amd3dnowext --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/gcc-4.0 --arch=ppc --enable-gpl --enable-postproc --enable- libx264 --enable-libxvid :info:configure Exit code: 1 }}} The attached patch files fix the problem by 1. Replacing each usage of the Portfile’s {{{--disable-mmx2}}} option with {{{--disable-mmxext}}}; and 1. Appending {{{-lstdc++}}} to the “enabled libmodplug” line in the {{{configure}}} file. Additionally, because the {{{--enable-libschroedinger}}} option and {{{port:schroedinger}}} dependency are present in the Portfile, the {{{port:dirac}}} dependency can be removed. The {{{--enable-freetype}}} option and {{{port:freetype}}} dependency have been added to the Portfile to enable the building of {{{ffmpeg}}}’s drawtext filter. Altivec detection in the Portfile has also been enabled for PPC Macs with the {{{ppc7450}}} machine type; this section of the updated Portfile can be expanded to detect other PPC machines with Altivec support (such as G5 models). -- Ticket URL: <https://trac.macports.org/ticket/36890> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36890: ffmpeg @1.0_1 +gpl2 Patch to allow successful build on PPC Tiger ------------------------+-------------------------------- Reporter: ccarey@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: duplicate | Keywords: tiger haspatch Port: ffmpeg | ------------------------+-------------------------------- Changes (by jeremyhu@…): * status: new => closed * resolution: => duplicate Comment: #36877 -- Ticket URL: <https://trac.macports.org/ticket/36890#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36890: ffmpeg @1.0_1 +gpl2 Patch to allow successful build on PPC Tiger ------------------------+-------------------------------- Reporter: ccarey@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: duplicate | Keywords: tiger haspatch Port: ffmpeg | ------------------------+-------------------------------- Comment (by jeremyhu@…): r99425 adds --enable-freetype -- Ticket URL: <https://trac.macports.org/ticket/36890#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts