ports/86377: [PATCH] databases/clip unbreak on FreeBSD 4.x
Pawel Pekala
c0rn at gazeta.pl
Tue Sep 20 18:40:08 UTC 2005
>Number: 86377
>Category: ports
>Synopsis: [PATCH] databases/clip unbreak on FreeBSD 4.x
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 20 18:40:06 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Pawel Pekala
>Release: FreeBSD 4.11-RELEASE-p11 i386
>Organization:
>Environment:
System: FreeBSD 4.11-RELEASE-p11 #9: Thu Jun 30 20:16:52 CEST 2005
root at ph240.swidnica.sdi.tpnet.pl:/usr/obj/usr/src/sys/CORN
>Description:
fixes gcc-2.95 issue
>How-To-Repeat:
>Fix:
--- clip.patch begins here ---
diff -urN /usr/ports/databases/clip/Makefile clip/Makefile
--- /usr/ports/databases/clip/Makefile Sun Jul 3 18:13:21 2005
+++ clip/Makefile Tue Sep 20 19:33:30 2005
@@ -50,7 +50,7 @@
.endif
.if ${OSVERSION} < 500000
-BROKEN= "Does not compile"
+EXTRA_PATCHES+= ${FILESDIR}/extra-cliplibs_clip-gtk2_general.c
.endif
# OPT_CLIPLIBS contains the optional subdirectories built by
diff -urN /usr/ports/databases/clip/files/extra-cliplibs_clip-gtk2_general.c clip/files/extra-cliplibs_clip-gtk2_general.c
--- /usr/ports/databases/clip/files/extra-cliplibs_clip-gtk2_general.c Thu Jan 1 01:00:00 1970
+++ clip/files/extra-cliplibs_clip-gtk2_general.c Sun Sep 18 16:50:56 2005
@@ -0,0 +1,28 @@
+--- cliplibs/clip-gtk2/general.c.orig Sun Sep 18 15:19:32 2005
++++ cliplibs/clip-gtk2/general.c Sun Sep 18 15:27:53 2005
+@@ -605,6 +605,12 @@
+ int
+ clip_G_OBJECTGET(ClipMachine * cm)
+ {
++ GObject *gobj ;
++ gint i ;
++ gboolean b ;
++ gchar *c ;
++ gdouble d ;
++
+ C_widget *cwid = _fetch_cw_arg(cm);
+ C_object *cobj = _fetch_co_arg(cm);
+ gchar *name = _clip_parc(cm, 2);
+@@ -612,12 +618,6 @@
+
+ CHECKARG(2, CHARACTER_t);
+ CHECKARG(3, NUMERIC_t);
+-
+- GObject *gobj ;
+- gint i ;
+- gboolean b ;
+- gchar *c ;
+- gdouble d ;
+
+ if (cwid->objtype == GTK_OBJ_WIDGET)
+ gobj = G_OBJECT(cwid->widget);
--- clip.patch ends here ---
--
LOGO - nowy magazyn dla mezczyzn, ktorzy znaja sie na rzeczy. Juz w sprzedazy.
http://www.logo.gazeta.pl
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list