ports/93254: fix build on fbsd 4.x (patch included)

Ronald Klop ronald at cs.vu.nl
Sun Feb 12 22:20:23 UTC 2006


>Number:         93254
>Category:       ports
>Synopsis:       fix build on fbsd 4.x (patch included)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 12 22:20:09 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Ronald Klop
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:


System: FreeBSD 6.0-STABLE #3: Mon Jan 30 02:17:26 CET 2006
    root at laptop.klop.ws:/usr/obj/usr/src/sys/LAPTOP



>Description:


Kris reported a build problem on freebsd 4.
This fixes it by making the source compatible with gcc 2.95.
(I don't have freebsd 4, so it is not tested on freebsd 4, but it should work.)



>How-To-Repeat:





>Fix:


--- jmp.fix-on-fbsd4.patch begins here ---
diff -ruN0 /usr/ports/java/jmp/files/patch-ui_gtk.c jmp/files/patch-ui_gtk.c
--- /usr/ports/java/jmp/files/patch-ui_gtk.c	Thu Jan  1 01:00:00 1970
+++ jmp/files/patch-ui_gtk.c	Sun Feb 12 22:54:36 2006
@@ -0,0 +1,9 @@
+$FreeBSD$
+
+--- ui_gtk.c.orig	Sun Feb 12 22:53:25 2006
++++ ui_gtk.c	Sun Feb 12 22:52:09 2006
+@@ -307,0 +308 @@
++		GtkWidget *w;
+@@ -309 +310 @@
+-		GtkWidget *w = 
++		w = 
--- jmp.fix-on-fbsd4.patch ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list