Opened 21 years ago

Closed 21 years ago

Last modified 9 years ago

#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)

comment:1 Changed 21 years ago by ssen@…

? 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 @@
 checksums	md5 79431ff0880e7317049045981fac8adc
 worksrcdir	BitchX
 depends_lib	lib:libdl:dlcompat
-configure.env	CPPFLAGS=-no-cpp-precomp
 configure.args	--without-gtk --without-ssl
 patchfiles	patch-dcc-force-port patch-funny.c \
 		patch-names.c patch-source_server.c \
-		patch-caf-evilserver patch-Makefile.in
+		patch-caf-evilserver patch-Makefile.in \
+		patch-status.c
 destroot.args	prefix=${destroot}/${prefix}
+
+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;							\
+ 									\
Last edited 9 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 Changed 21 years ago by ssen@…

Resolution: fixed
Status: newclosed

COmmitted

Note: See TracTickets for help on using tickets.