Date: Tue, 20 Sep 2005 20:29:38 +0200 From: "Pawel Pekala" <c0rn@gazeta.pl> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/86377: [PATCH] databases/clip unbreak on FreeBSD 4.x Message-ID: <1127240978.0@blaviken.slowicza.org> Resent-Message-ID: <200509201840.j8KIe6ai077319@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1127240978.0>