ports/86521: [PATCH] japanese/ja-im-ja: [fix build on 4.x, use GCONF_SCHAMAS]

Tod McQuillin devin at spamcop.net
Sat Sep 24 05:50:16 UTC 2005


>Number:         86521
>Category:       ports
>Synopsis:       [PATCH] japanese/ja-im-ja: [fix build on 4.x, use GCONF_SCHAMAS]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 24 05:50:15 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Tod McQuillin
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD plexi.pun-pun.prv 4.11-STABLE FreeBSD 4.11-STABLE #1: Wed Aug 10 22:19:18 JST 2005
>Description:
im-ja does not build on FreeBSD 4.x.  The attached
patch-src_helper_helper-socket.c allows the build to succeed.

Also use GCONF_SCHEMAS in the Makefile as demanded by portlint.

Added file(s):
- files/patch-src_helper_helper-socket.c

Port maintainer (nectar at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- ja-im-ja-1.4.patch begins here ---
Index: Makefile
===================================================================
RCS file: /usr/src/cvs-repo/ports/japanese/im-ja/Makefile,v
retrieving revision 1.17
diff -u -u -r1.17 Makefile
--- Makefile	1 Aug 2005 16:57:19 -0000	1.17
+++ Makefile	24 Sep 2005 05:43:54 -0000
@@ -31,6 +31,7 @@
 CONFIGURE_ENV+=	INTLTOOL_PERL="${PERL}"
 
 MAN1=		im-ja-conf.1 im-ja-xim-server.1
+GCONF_SCHAMAS=	im-ja.schemas
 
 .include <bsd.port.pre.mk>
 
Index: pkg-plist
===================================================================
RCS file: /usr/src/cvs-repo/ports/japanese/im-ja/pkg-plist,v
retrieving revision 1.7
diff -u -u -r1.7 pkg-plist
--- pkg-plist	1 Aug 2005 16:57:19 -0000	1.7
+++ pkg-plist	24 Sep 2005 05:43:29 -0000
@@ -1,7 +1,6 @@
 bin/im-ja-conf
 bin/im-ja-xim-server
 @unexec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-uninstall-rule %D/etc/gconf/schemas/im-ja.schemas > /dev/null || /usr/bin/true
-etc/gconf/schemas/im-ja.schemas
 @exec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-install-rule %D/etc/gconf/schemas/im-ja.schemas > /dev/null || /usr/bin/true
 lib/gtk-2.0/2.4.0/immodules/im-ja.so
 lib/im-ja/im-ja-applet
Index: files/patch-src_helper_helper-socket.c
===================================================================
RCS file: files/patch-src_helper_helper-socket.c
diff -N files/patch-src_helper_helper-socket.c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-src_helper_helper-socket.c	24 Sep 2005 05:36:21 -0000
@@ -0,0 +1,14 @@
+--- src/helper/helper-socket.c~	Wed Apr 13 03:10:13 2005
++++ src/helper/helper-socket.c	Sat Sep 24 14:31:08 2005
+@@ -25,9 +25,10 @@
+ 
+ #include <glib.h>
+ 
++#include <sys/types.h>
++#include <sys/time.h>
+ #include <netinet/in.h>
+ #include <string.h>
+-#include <sys/types.h>
+ #include <sys/un.h>
+ #include <sys/socket.h>
+ #include <sys/select.h>
--- ja-im-ja-1.4.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list