aboutsummaryrefslogtreecommitdiffstats
path: root/net/samba3
diff options
context:
space:
mode:
authortimur <timur@FreeBSD.org>2008-09-06 01:30:02 +0800
committertimur <timur@FreeBSD.org>2008-09-06 01:30:02 +0800
commit8d7f015bee00e04894303a61d64158386109bc0e (patch)
treeb8fb026b9b2cc7f2b4ba2bb1b32bc24398d17fa3 /net/samba3
parent02b3b14b115ff15547f953ca1f3f486c4b3b7427 (diff)
downloadfreebsd-ports-gnome-8d7f015bee00e04894303a61d64158386109bc0e.tar.gz
freebsd-ports-gnome-8d7f015bee00e04894303a61d64158386109bc0e.tar.zst
freebsd-ports-gnome-8d7f015bee00e04894303a61d64158386109bc0e.zip
I was too quick to drop off a hack, that masks "25 years old BSD bug" in
Samba. So, here is small patch that will let people with legacy libc to run Samba. Funny enough, 6.4 and 7.1 are not going to be affected, but patch will go into the release CDs...
Diffstat (limited to 'net/samba3')
-rw-r--r--net/samba3/Makefile2
-rw-r--r--net/samba3/files/patch-lib__replace__libreplace.m410
2 files changed, 11 insertions, 1 deletions
diff --git a/net/samba3/Makefile b/net/samba3/Makefile
index d9d460a9f2ff..af8ddf872c37 100644
--- a/net/samba3/Makefile
+++ b/net/samba3/Makefile
@@ -7,7 +7,7 @@
PORTNAME= samba
PORTVERSION?= 3.0.32
-PORTREVISION= 0
+PORTREVISION= 1
PORTEPOCH?= 1
CATEGORIES?= net
MASTER_SITES= ${MASTER_SITE_SAMBA}
diff --git a/net/samba3/files/patch-lib__replace__libreplace.m4 b/net/samba3/files/patch-lib__replace__libreplace.m4
new file mode 100644
index 000000000000..1cdd3d70c2a6
--- /dev/null
+++ b/net/samba3/files/patch-lib__replace__libreplace.m4
@@ -0,0 +1,10 @@
+--- ./lib/replace/libreplace.m4.orig 2008-09-05 16:58:51.000000000 +0200
++++ ./lib/replace/libreplace.m4 2008-09-05 16:59:05.000000000 +0200
+@@ -332,7 +332,6 @@
+ m4_include(strptime.m4)
+ m4_include(win32.m4)
+ m4_include(timegm.m4)
+-m4_include(repdir.m4)
+
+ AC_CHECK_FUNCS([syslog memset memcpy],,[AC_MSG_ERROR([Required function not found])])
+