From d804725c682b4c29d6ab648af3f7cb59c503b441 Mon Sep 17 00:00:00 2001 From: "Timur I. Bakeyev" Date: Fri, 5 Sep 2008 17:30:02 +0000 Subject: [PATCH] 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... --- net/samba3/Makefile | 2 +- net/samba3/files/patch-lib__replace__libreplace.m4 | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 net/samba3/files/patch-lib__replace__libreplace.m4 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])]) +