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...
This commit is contained in:
Timur I. Bakeyev 2008-09-05 17:30:02 +00:00
parent 6c937fdd77
commit d804725c68
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=219938
2 changed files with 11 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= samba
PORTVERSION?= 3.0.32
PORTREVISION= 0
PORTREVISION= 1
PORTEPOCH?= 1
CATEGORIES?= net
MASTER_SITES= ${MASTER_SITE_SAMBA}

View File

@ -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])])