ports/51076: [patch] x11-toolkits/xview-clients now build

Serge Gagnon gagnon__s at videotron.ca
Thu Apr 17 04:20:15 UTC 2003


>Number:         51076
>Category:       ports
>Synopsis:       [patch] x11-toolkits/xview-clients now build
>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:   Wed Apr 16 21:20:13 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Serge Gagnon
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
me
>Environment:
System: FreeBSD quenix.dyndns.org 4.8-STABLE FreeBSD 4.8-STABLE #0: Sat Apr 5 09:39:35 EST 2003 serge at quenix.dyndns.org:/usr/obj/usr/src/sys/OCEAN2 i386


>Description:
	
	- Make somes changes in the Makefile to allow the ports to build
	- Add a new patch file to fix a compile error.
		patch-clients-olwm-gettext.c

>How-To-Repeat:

run make

>Fix:


--- patch-xview-client.diff begins here ---
diff -u /usr/ports/x11-toolkits/xview-clients/Makefile ./Makefile
--- /usr/ports/x11-toolkits/xview-clients/Makefile	Thu Feb 20 14:20:28 2003
+++ ./Makefile	Thu Apr 17 00:19:58 2003
@@ -17,7 +17,7 @@
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	OpenLook applications and man pages
 
-DEPENDS=	${PORTSDIR}/x11-toolkits/xview:install
+LIB_DEPENDS=	xview.3:${PORTSDIR}/x11-toolkits/xview
 
 USE_X_PREFIX=	yes
 EXTRACT_ONLY=	# empty
@@ -27,5 +27,8 @@
 
 MAN1=		clock.1 cmdtool.1 olwm.1 olwmslave.1 shelltool.1
 MANCOMPRESSED=	yes
+
+post-fetch:
+	cd ${PORTSDIR}/x11-toolkits/xview; ${MAKE} configure
 
 .include <bsd.port.mk>
Common subdirectories: /usr/ports/x11-toolkits/xview-clients/files and ./files
--- patch-xview-client.diff ends here ---

--- patch-clients-olwm-gettext.c begins here ---
--- clients/olwm/gettext.c.orig	Thu Apr 17 00:00:25 2003
+++ clients/olwm/gettext.c	Thu Apr 17 00:02:00 2003
@@ -20,7 +20,7 @@
 char *_gettext();
 char *in_path();
 char *fgets(), *getenv();
-caddr_t mmap(), calloc();
+caddr_t calloc();
 
 static struct domain_binding *firstbind=0, *lastbind=0;
 
--- patch-clients-olwm-gettext.c ends here ---


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



More information about the freebsd-ports-bugs mailing list