aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-01-27 21:47:47 +0800
committermiwi <miwi@FreeBSD.org>2007-01-27 21:47:47 +0800
commita762d4ce5f54ad54037579a0ac32c1cd7e6bd212 (patch)
tree487c688aac483e4d9c060547173ee9e7e1418b9a /net
parentf683df299a7566df68a5993254dd4aeeca963884 (diff)
downloadfreebsd-ports-graphics-a762d4ce5f54ad54037579a0ac32c1cd7e6bd212.tar.gz
freebsd-ports-graphics-a762d4ce5f54ad54037579a0ac32c1cd7e6bd212.tar.zst
freebsd-ports-graphics-a762d4ce5f54ad54037579a0ac32c1cd7e6bd212.zip
- Fix build with gcc 4.1
Submitted by: pointyhat via kris Thanks to: trasz for fix
Diffstat (limited to 'net')
-rw-r--r--net/ulxmlrpcpp/Makefile1
-rw-r--r--net/ulxmlrpcpp/files/patch-ulxmlrpcpp-ulxmlrpcpp.h11
2 files changed, 12 insertions, 0 deletions
diff --git a/net/ulxmlrpcpp/Makefile b/net/ulxmlrpcpp/Makefile
index 6df1fefe4c8..28f12c0b0a3 100644
--- a/net/ulxmlrpcpp/Makefile
+++ b/net/ulxmlrpcpp/Makefile
@@ -8,6 +8,7 @@
PORTNAME= ulxmlrpcpp
PORTVERSION= 1.5.5
+PORTREVISION= 1
CATEGORIES= net devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/net/ulxmlrpcpp/files/patch-ulxmlrpcpp-ulxmlrpcpp.h b/net/ulxmlrpcpp/files/patch-ulxmlrpcpp-ulxmlrpcpp.h
new file mode 100644
index 00000000000..bc1df871cf4
--- /dev/null
+++ b/net/ulxmlrpcpp/files/patch-ulxmlrpcpp-ulxmlrpcpp.h
@@ -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