#948 closed defect (fixed)
bitchx fails to build with gcc 3.3 on jaguar, and on panther
Reported by: | ssen@… | Owned by: | ssen@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
BitchX fails to build if you are using Jaguar with gcc 3.3 because of some illegall cpp. On Panther, there's the additional problem of Bind 9 incompatibility
Change History (2)
Note: See
TracTickets for help on using
tickets.
? work Index: Portfile ============================================================ ======= RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/irc/bitchx/Portfile,v retrieving revision 1.9 diff -u -u -r1.9 Portfile --- Portfile 5 Aug 2003 09:29:11 -0000 1.9 +++ Portfile 21 Sep 2003 02:01:01 -0000 @@ -19,9 +19,13 @@
-configure.env CPPFLAGS=-no-cpp-precomp
+ patch-caf-evilserver patch-Makefile.in \ + patch-status.c
+ +variant darwin { + configure.env CFLAGS="-no-cpp-precomp -DBIND_8_COMPAT=1" +} Index: files/patch-status.c ============================================================ ======= RCS file: files/patch-status.c diff -N files/patch-status.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-status.c 21 Sep 2003 02:01:01 -0000 @@ -0,0 +1,11 @@ +--- source/status.c.orig Sun Aug 3 21:01:54 2003 ++++ source/status.c Sun Aug 3 21:02:52 2003 +@@ -1213,7 +1213,7 @@ + * current-type window, although i think they should go to all windows. + */ + #define STATUS_VAR(x) \ +-static char *status_user ## x ## (Window *window)
++static char *status_user ## x (Window *window) \ + { \ + char *text; \ + \