ports/58346: Fix x11/gyroscope build on 5.X
Samy Al Bahra
samy at kerneled.com
Tue Oct 21 19:30:17 UTC 2003
>Number: 58346
>Category: ports
>Synopsis: Fix x11/gyroscope build on 5.X
>Confidential: no
>Severity: critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Oct 21 12:30:15 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Samy Al Bahra
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
Kerneled
>Environment:
System: FreeBSD beastie.freebsd.local 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Wed Aug 20 18:35:24 AST 2003 samy at beastie.freebsd.local:/usr/src/sys/i386/compile/KERNELED i386
>Description:
x11/gyroscope does not build on FreeBSD
5.X due to multiline literals (depreciated in
gcc 3.X). The attached patch fixes this.
>How-To-Repeat:
Build gyroscope on a 5.X machine.
>Fix:
diff -ruN gyroscope/Makefile /tmp/gyroscope/Makefile
--- gyroscope/Makefile Tue Oct 21 22:18:47 2003
+++ /tmp/gyroscope/Makefile Tue Oct 21 22:19:38 2003
@@ -20,10 +20,4 @@
ALL_TARGET= # empty
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 501000
-BROKEN= "Does not compile"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -ruN gyroscope/files/patch-gtkcolorsel.c /tmp/gyroscope/files/patch-gtkcolorsel.c
--- gyroscope/files/patch-gtkcolorsel.c Thu Jan 1 03:00:00 1970
+++ /tmp/gyroscope/files/patch-gtkcolorsel.c Tue Oct 21 22:19:09 2003
@@ -0,0 +1,15 @@
+--- gtkcolorsel.c.orig Tue Oct 21 22:18:28 2003
++++ gtkcolorsel.c Tue Oct 21 22:18:28 2003
+@@ -320,9 +320,9 @@
+ gtk_container_add (GTK_CONTAINER (about_window), vbox);
+ gtk_widget_show (vbox);
+
+- label = gtk_label_new ("\nGyrosCoPe HTML colour picker\nVersion 1.0\n30th January, 1999
+- \n http://www.millar.u-net.com/gyroscope.html \n
+- neil at millar.u-net.com\n");
++ label = gtk_label_new ("\nGyrosCoPe HTML colour picker\nVersion 1.0\n30th January, 1999\n"\
++" \n http://www.millar.u-net.com/gyroscope.html \n"\
++" neil at millar.u-net.com\n");
+ gtk_box_pack_start (GTK_BOX (vbox), label, TRUE, TRUE, 0);
+ gtk_widget_show (label);
+
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list