summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimur I. Bakeyev <timur@FreeBSD.org>2008-09-05 17:30:02 +0000
committerTimur I. Bakeyev <timur@FreeBSD.org>2008-09-05 17:30:02 +0000
commitd804725c682b4c29d6ab648af3f7cb59c503b441 (patch)
tree5071785fe7b5f5b0009eeb4ffb4703d7f9ad3c89
parentUnbreak install for "smbk5pwd". (diff)
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...
-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])])
+