From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 15 10:20:24 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8CEB216A420 for ; Thu, 15 Sep 2005 10:20:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D97B43D6A for ; Thu, 15 Sep 2005 10:20:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j8FAKDpF087728 for ; Thu, 15 Sep 2005 10:20:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j8FAKDuo087727; Thu, 15 Sep 2005 10:20:13 GMT (envelope-from gnats) Resent-Date: Thu, 15 Sep 2005 10:20:13 GMT Resent-Message-Id: <200509151020.j8FAKDuo087727@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Johan van Selst Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D416D16A41F for ; Thu, 15 Sep 2005 10:16:16 +0000 (GMT) (envelope-from johans@stack.nl) Received: from mailhost.stack.nl (vaak.stack.nl [131.155.140.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDFAD43D49 for ; Thu, 15 Sep 2005 10:16:14 +0000 (GMT) (envelope-from johans@stack.nl) Received: from hammer.stack.nl (hammer.stack.nl [IPv6:2001:610:1108:5010::153]) by mailhost.stack.nl (Postfix) with ESMTP id 69A20A3009 for ; Thu, 15 Sep 2005 12:16:13 +0200 (CEST) Received: by hammer.stack.nl (Postfix, from userid 801) id 1CC2F63F7; Thu, 15 Sep 2005 12:16:12 +0200 (CEST) Message-Id: <20050915101612.1CC2F63F7@hammer.stack.nl> Date: Thu, 15 Sep 2005 12:16:12 +0200 (CEST) From: Johan van Selst To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/86150: www/wsmake: unbreak on !i386 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Johan van Selst List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2005 10:20:24 -0000 >Number: 86150 >Category: ports >Synopsis: www/wsmake: unbreak on !i386 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Sep 15 10:20:12 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Johan van Selst >Release: FreeBSD 6.0-BETA4 amd64 >Organization: >Environment: System: FreeBSD hammer.stack.nl 6.0-BETA4 FreeBSD 6.0-BETA4 #2: Fri Sep 9 18:52:55 CEST 2005 root@hammer.stack.nl:/usr/obj/usr/src/sys/HAMMER amd64 >Description: This patch makes the port work on amd64 and probably other archs. Update MASTER_SITES while were at it, but note that SF doesn't provide the examples and documentation either. >How-To-Repeat: >Fix: va_end() expects a va_list as argument. This patch introduces: wsmake/files/patch-libwsmake_wsUtil.cpp wsmake/files/patch-libwsmake_wsUtil.h diff -uNr wsmake/Makefile wsmake/Makefile --- wsmake/Makefile Thu Nov 25 11:15:32 2004 +++ wsmake/Makefile Thu Sep 15 12:09:41 2005 @@ -8,8 +8,8 @@ PORTNAME= wsmake PORTVERSION= 0.6.4 CATEGORIES= www -MASTER_SITES= http://www.wsmake.org/dwnlds/stable/ \ - http://www.wsmake.org/docs/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= wsmake DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} examples.tar.gz DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} @@ -26,10 +26,6 @@ .endif .include - -.if ${ARCH} != "i386" -BROKEN= "Does not compile on !i386" -.endif post-patch: @${REINPLACE_CMD} -e 's,void\*,char\*,g' ${WRKSRC}/libwsmake/wsUtil.cpp diff -uNr wsmake/files/patch-libwsmake_wsUtil.cpp wsmake/files/patch-libwsmake_wsUtil.cpp --- wsmake/files/patch-libwsmake_wsUtil.cpp Thu Jan 1 01:00:00 1970 +++ wsmake/files/patch-libwsmake_wsUtil.cpp Thu Sep 15 09:41:22 2005 @@ -0,0 +1,17 @@ +--- libwsmake/wsUtil.cpp.orig Thu Sep 15 09:39:57 2005 ++++ libwsmake/wsUtil.cpp Thu Sep 15 09:37:15 2005 +@@ -709,12 +709,12 @@ void std::__wsmake_set_quiet(int quiet) + } + } + +-void std::__wsmake_print_it(FILE *out, const char *output, const va_list *ap) ++void std::__wsmake_print_it(FILE *out, const char *output, va_list *ap) + { + if(__wsmake_quiet) return; + + vfprintf(out,output,*ap); +- va_end((char*&)*ap); ++ va_end(*ap); + } + + #ifdef DEBUG diff -uNr wsmake/files/patch-libwsmake_wsUtil.h wsmake/files/patch-libwsmake_wsUtil.h --- wsmake/files/patch-libwsmake_wsUtil.h Thu Jan 1 01:00:00 1970 +++ wsmake/files/patch-libwsmake_wsUtil.h Thu Sep 15 09:41:16 2005 @@ -0,0 +1,11 @@ +--- libwsmake/wsUtil.h.orig Thu Sep 15 09:39:51 2005 ++++ libwsmake/wsUtil.h Thu Sep 15 09:38:34 2005 +@@ -77,7 +77,7 @@ namespace std + void __wsmake_print_error(const char *, ...); + void __wsmake_print(const char *, ...); + void __wsmake_print(int, const char *, ...); +- void __wsmake_print_it(FILE *, const char *, const va_list *); ++ void __wsmake_print_it(FILE *, const char *, va_list *); + } + + #endif /* __WSUTIL_H__ */ >Release-Note: >Audit-Trail: >Unformatted: