[MacPorts] #9524: BUG: fluxbox needs GCC 4.x to build on "Panther" 10.3.9

MacPorts noreply at macports.org
Thu Mar 24 06:15:57 PDT 2016


#9524: BUG: fluxbox needs GCC 4.x to build on "Panther" 10.3.9
-------------------------+--------------------
  Reporter:  stephen@…   |      Owner:  pmq@…
      Type:  defect      |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  1.2
Resolution:  worksforme  |   Keywords:
      Port:  fluxbox     |
-------------------------+--------------------
Changes (by ryandesign@…):

 * port:   => fluxbox


Old description:

> The last few updates of x11/fluxbox have failed to build on my PowerBook
> G4 with Mac OS X 10.3.9 "Panther", due to problems with advanced C++
> features used.
>
> Finally I got around to trying a build with GCC 4.1 by adding this patch
> to the Portfile
>
> Index: dports/x11/fluxbox/Portfile
> ===================================================================
> RCS file:
> /Volumes/src/cvs/od/proj/darwinports/dports/x11/fluxbox/Portfile,v
> retrieving revision 1.16
> diff -u -r1.16 Portfile
> --- dports/x11/fluxbox/Portfile 20 Jun 2006 06:39:39 -0000      1.16
> +++ dports/x11/fluxbox/Portfile 21 Jun 2006 04:57:41 -0000
> @@ -17,3 +17,4 @@
>  use_bzip2      yes
>  depends_lib    lib:libX11.6:XFree86 lib:libXext.6:XFree86
>  configure.args --mandir=${prefix}/share/man
> +configure.env  CC=/opt/local/bin/gcc-dp-4.1
> CXX=/opt/local/bin/g++-dp-4.1
>
> I suspect that GCC-4.0 would be sufficient, but haven't tried that.
> Also, that patch is presumably inappropriate for "Tiger", so it should be
> conditional on darwin7.  Note that as far as I know GCC-4.1 doesn't work
> out of the box on DarwinPorts, you need the patch I sent a couple of
> weeks ago (see issue 7167).

New description:

 The last few updates of x11/fluxbox have failed to build on my PowerBook
 G4 with Mac OS X 10.3.9 "Panther", due to problems with advanced C++
 features used.

 Finally I got around to trying a build with GCC 4.1 by adding this patch
 to the Portfile

 {{{
 Index: dports/x11/fluxbox/Portfile
 ===================================================================
 RCS file:
 /Volumes/src/cvs/od/proj/darwinports/dports/x11/fluxbox/Portfile,v
 retrieving revision 1.16
 diff -u -r1.16 Portfile
 --- dports/x11/fluxbox/Portfile 20 Jun 2006 06:39:39 -0000      1.16
 +++ dports/x11/fluxbox/Portfile 21 Jun 2006 04:57:41 -0000
 @@ -17,3 +17,4 @@
  use_bzip2      yes
  depends_lib    lib:libX11.6:XFree86 lib:libXext.6:XFree86
  configure.args --mandir=${prefix}/share/man
 +configure.env  CC=/opt/local/bin/gcc-dp-4.1 CXX=/opt/local/bin/g++-dp-4.1
 }}}

 I suspect that GCC-4.0 would be sufficient, but haven't tried that.  Also,
 that patch is presumably inappropriate for "Tiger", so it should be
 conditional on darwin7.  Note that as far as I know GCC-4.1 doesn't work
 out of the box on DarwinPorts, you need the patch I sent a couple of weeks
 ago (see issue 7167).

--

-- 
Ticket URL: <https://trac.macports.org/ticket/9524#comment:7>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list