aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2009-07-19 20:11:03 +0800
committervanilla <vanilla@FreeBSD.org>2009-07-19 20:11:03 +0800
commit9ab801ee016e9e1aea8a3e7163bddfec6955a000 (patch)
tree96f54c40c3ddc196aa0c94ab8705fffce176da19 /databases
parent5af20c4502fafe987b25212a6c3765657a563290 (diff)
downloadfreebsd-ports-gnome-9ab801ee016e9e1aea8a3e7163bddfec6955a000.tar.gz
freebsd-ports-gnome-9ab801ee016e9e1aea8a3e7163bddfec6955a000.tar.zst
freebsd-ports-gnome-9ab801ee016e9e1aea8a3e7163bddfec6955a000.zip
Fix building on RELENG_6.
Diffstat (limited to 'databases')
-rw-r--r--databases/libmemcached/Makefile2
-rw-r--r--databases/libmemcached/files/patch-libmemcached__visibility.h12
2 files changed, 13 insertions, 1 deletions
diff --git a/databases/libmemcached/Makefile b/databases/libmemcached/Makefile
index b472012f78b7..4eff949e8f95 100644
--- a/databases/libmemcached/Makefile
+++ b/databases/libmemcached/Makefile
@@ -7,7 +7,7 @@
PORTNAME= libmemcached
PORTVERSION= 0.31
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://download.tangent.org/
diff --git a/databases/libmemcached/files/patch-libmemcached__visibility.h b/databases/libmemcached/files/patch-libmemcached__visibility.h
new file mode 100644
index 000000000000..d218c6910a07
--- /dev/null
+++ b/databases/libmemcached/files/patch-libmemcached__visibility.h
@@ -0,0 +1,12 @@
+--- libmemcached/visibility.h.orig 2009-07-18 20:31:32.000000000 +0800
++++ libmemcached/visibility.h 2009-07-18 20:31:49.000000000 +0800
+@@ -34,6 +34,9 @@
+ # elif defined(_MSC_VER)
+ # define LIBMEMCACHED_API extern __declspec(dllexport)
+ # define LIBMEMCACHED_LOCAL
++# else
++# define LIBMEMCACHED_API
++# define LIBMEMCACHED_LOCAL
+ # endif /* defined(HAVE_VISIBILITY) */
+ #else /* defined(BUILDING_LIBMEMCACHED) */
+ # if defined(_MSC_VER)