- Fix build with gcc 4.1

Submitted by:	pointyhat via kris
Thanks to:      trasz for fix
This commit is contained in:
Martin Wilke 2007-01-27 13:47:47 +00:00
parent 00809b6b21
commit 831f19a62d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=183412
2 changed files with 12 additions and 0 deletions

View file

@ -8,6 +8,7 @@
PORTNAME= ulxmlrpcpp
PORTVERSION= 1.5.5
PORTREVISION= 1
CATEGORIES= net devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

View file

@ -0,0 +1,11 @@
--- ulxmlrpcpp/ulxmlrpcpp.h.orig Sat Jan 27 12:57:48 2007
+++ ulxmlrpcpp/ulxmlrpcpp.h Sat Jan 27 12:58:07 2007
@@ -743,7 +743,7 @@
#if defined(__CYGWIN__)
# define ulxr_snprintf snprintf
#else
-# define ulxr_snprintf std::snprintf
+# define ulxr_snprintf snprintf
#endif
# define ulxr_swprintf std::swprintf