Date: 22 Apr 2005 02:18:46 -0000 From: Jason Stone <jason-fbsd-ports-gale@shalott.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/80230: unbreak gale port on 4.x Message-ID: <20050422021846.74600.qmail@treehorn.dfmm.org> Resent-Message-ID: <200504220220.j3M2KFS2096477@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 80230 >Category: ports >Synopsis: unbreak gale port on 4.x >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Apr 22 02:20:15 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Jason Stone >Release: FreeBSD 5.4-PRERELEASE i386 >Organization: >Environment: System: FreeBSD treehorn.dfmm.org 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #0: Thu Mar 3 01:13:08 PST 2005 root@treehorn.dfmm.org:/usr/obj/usr/src/sys/JKERN i386 >Description: unbreak gale on 4.x >How-To-Repeat: >Fix: diff -ruN gale.orig/Makefile gale/Makefile --- gale.orig/Makefile Thu Apr 21 03:19:42 2005 +++ gale/Makefile Thu Apr 21 19:16:01 2005 @@ -7,6 +7,7 @@ PORTNAME= gale PORTVERSION= 0.99f +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://download.ofb.net/${PORTNAME}/ DISTNAME= ${PORTNAME}-${PORTVERSION}ruit @@ -34,14 +35,13 @@ .include <bsd.port.pre.mk> .if ${OSVERSION} < 500039 -IGNORE= requires wchar functions for compilation +CFLAGS+= -DNEED_WCWIDTH .endif # cheesy hack - test-oop doesn't build, but we don't care. pre-configure: ${REINPLACE_CMD} -e 's/\(^noinst_PROGRAMS =.*\)test-oop/\1/' \ ${WRKSRC}/liboop/Makefile.in - ${ECHO} -n > ${WRKSRC}/libgale/wcwidth.c post-install: @${CAT} ${PKGMESSAGE} diff -ruN gale.orig/files/patch-wcwidth gale/files/patch-wcwidth --- gale.orig/files/patch-wcwidth Wed Dec 31 16:00:00 1969 +++ gale/files/patch-wcwidth Thu Apr 21 15:05:11 2005 @@ -0,0 +1,15 @@ +--- libgale/wcwidth.c.orig Mon Dec 30 21:08:50 2002 ++++ libgale/wcwidth.c Thu Apr 21 15:02:47 2005 +@@ -6,6 +6,7 @@ + * Markus Kuhn -- 2000-02-08 -- public domain + */ + ++#ifdef NEED_WCWIDTH + #include "gale/compat.h" + + /* These functions define the column width of an ISO 10646 character +@@ -126,3 +127,4 @@ + + return width; + } ++#endif >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050422021846.74600.qmail>