mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
- Unbreak on !i386
Tested by: submitter (amd64), barner (sparc64, ia64) Submitted by: Johan van Selst <johans@stack.nl> PR: ports/86150
This commit is contained in:
parent
90e8af9d9c
commit
9914ec42f7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=142813
@ -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}
|
||||
@ -27,10 +27,6 @@ DISTFILES+= user-manual-html.tar.gz
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} != "i386"
|
||||
BROKEN= "Does not compile on !i386"
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,void\*,char\*,g' ${WRKSRC}/libwsmake/wsUtil.cpp
|
||||
|
||||
|
17
www/wsmake/files/patch-libwsmake_wsUtil.cpp
Normal file
17
www/wsmake/files/patch-libwsmake_wsUtil.cpp
Normal file
@ -0,0 +1,17 @@
|
||||
--- libwsmake/wsUtil.cpp.orig Sat Sep 1 20:09:13 2001
|
||||
+++ libwsmake/wsUtil.cpp Thu Sep 15 12:38:48 2005
|
||||
@@ -709,12 +709,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
-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((void*&)*ap);
|
||||
+ va_end(*ap);
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
11
www/wsmake/files/patch-libwsmake_wsUtil.h
Normal file
11
www/wsmake/files/patch-libwsmake_wsUtil.h
Normal file
@ -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__ */
|
Loading…
Reference in New Issue
Block a user