Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Feb 2006 23:12:45 +0100
From:      "Ronald Klop" <ronald@cs.vu.nl>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Cc:        ronald@cs.vu.nl
Subject:   ports/93254: fix build on fbsd 4.x (patch included)
Message-ID:  <1139782365.20122@laptop.klop.ws>
Resent-Message-ID: <200602122220.k1CMKAQW011046@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1139782365.20122>