Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jul 2002 17:21:05 -0700 (PDT)
From:      Adam Weinberger <adam@vectors.cx>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/41093: patch: fix x11-toolkits/xview 
Message-ID:  <200207290021.g6T0L5Tj070932@vectors.cx>

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

>Number:         41093
>Category:       ports
>Synopsis:       patch: fix x11-toolkits/xview
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 28 17:30:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Adam Weinberger
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD smacky.vectors.cx 4.6-STABLE FreeBSD 4.6-STABLE #113: Wed Jul 24 12:13:03 PDT 2002 root@smacky.vectors.cx:/usr/src/sys/compile/smacky i386


	
>Description:
	x11-toolkits/xview/$WRKSRC/lib/libxview/misc/gettext.c uses its own mmap
	if it doesn't exist in the system, but prototypes its internal function
	regardless, killing the build.
	
>How-To-Repeat:
	
>Fix:

	

	this patch can happily exist as x11-toolkits/xview/files/patch-lq

--- xview-patch-lq.patch begins here ---
--- lib/libxview/misc/gettext.c.orig	Sun Jul 28 17:07:43 2002
+++ lib/libxview/misc/gettext.c	Sun Jul 28 17:08:14 2002
@@ -13,7 +13,9 @@
 char * dgettext(), *bindtextdomain();
 char *_gettext();
 char *fgets(), *getenv();
+#ifndef OS_HAS_MMAP
 caddr_t mmap();
+#endif
 
 static struct domain_binding *firstbind=0, *lastbind=0;
 
--- xview-patch-lq.patch ends here ---


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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