From owner-freebsd-ports Sun Jul 28 17:30: 8 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 058C737B400 for ; Sun, 28 Jul 2002 17:30:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B61F443E4A for ; Sun, 28 Jul 2002 17:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6T0U2JU022610 for ; Sun, 28 Jul 2002 17:30:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6T0U25j022609; Sun, 28 Jul 2002 17:30:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3445537B400 for ; Sun, 28 Jul 2002 17:20:32 -0700 (PDT) Received: from vectors.cx (manifold.vectors.cx [64.163.147.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id E65F543E4A for ; Sun, 28 Jul 2002 17:20:31 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: from vectors.cx (8ea9d8664888bcd20c61671a1d3e7387@localhost [127.0.0.1]) by vectors.cx (8.12.4/8.12.4) with ESMTP id g6T0L52e070933 for ; Sun, 28 Jul 2002 17:21:05 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: (from monkey@localhost) by vectors.cx (8.12.4/8.12.4/Submit) id g6T0L5Tj070932; Sun, 28 Jul 2002 17:21:05 -0700 (PDT) (envelope-from monkey) Message-Id: <200207290021.g6T0L5Tj070932@vectors.cx> Date: Sun, 28 Jul 2002 17:21:05 -0700 (PDT) From: Adam Weinberger Reply-To: Adam Weinberger To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/41093: patch: fix x11-toolkits/xview Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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