[32998] trunk/dports/net/samba3
mww at macports.org
mww at macports.org
Wed Jan 16 03:01:28 PST 2008
Revision: 32998
http://trac.macosforge.org/projects/macports/changeset/32998
Author: mww at macports.org
Date: 2008-01-16 03:01:26 -0800 (Wed, 16 Jan 2008)
Log Message:
-----------
fix build on 10.5 -- thanks to ecronin (#13559)
Modified Paths:
--------------
trunk/dports/net/samba3/Portfile
Added Paths:
-----------
trunk/dports/net/samba3/files/
trunk/dports/net/samba3/files/patch-source_smbd_utmp_c.diff
Modified: trunk/dports/net/samba3/Portfile
===================================================================
--- trunk/dports/net/samba3/Portfile 2008-01-16 10:23:45 UTC (rev 32997)
+++ trunk/dports/net/samba3/Portfile 2008-01-16 11:01:26 UTC (rev 32998)
@@ -20,7 +20,6 @@
distname samba-${version}
checksums md5 8761cd7c02833d959fbebd4f69895075 \
sha1 4fcad8134f89a123a254138de0ace4a13993b007
-depends_build port:cups-headers
depends_lib port:libiconv port:openssl port:popt
worksrcdir ${worksrcdir}/source
@@ -48,8 +47,12 @@
${worksrcpath}/Makefile.in
}
+platform darwin 9 {
+ patchfiles patch-source_smbd_utmp_c.diff
+}
+
platform darwin 8 {
- configure.compiler gcc-4.0
+ depends_build port:cups-headers
}
post-destroot {
Added: trunk/dports/net/samba3/files/patch-source_smbd_utmp_c.diff
===================================================================
--- trunk/dports/net/samba3/files/patch-source_smbd_utmp_c.diff (rev 0)
+++ trunk/dports/net/samba3/files/patch-source_smbd_utmp_c.diff 2008-01-16 11:01:26 UTC (rev 32998)
@@ -0,0 +1,13 @@
+--- smbd/utmp.c.orig 2008-01-09 20:25:53.000000000 -0500
++++ smbd/utmp.c 2008-01-09 20:30:08.000000000 -0500
+@@ -398,6 +398,10 @@
+ /* Odd. Have utmpx.h but no "getutmpx()". Drop to non-x stuff */
+ DEBUG(1,("utmp_update: have utmpx.h but no getutmpx() function\n"));
+ utmp_nox_update(u, claim);
++#elif !defined(HAVE_UPDWTMPX)
++ /* Have utmpx.h but no "updwtmpx()". Drop to non-x stuff */
++ DEBUG(1,("utmp_update: have utmpx.h but no updwtmpx() function\n"));
++ utmp_nox_update(u, claim);
+ #else
+ pstring uname, wname;
+ struct utmpx ux, *uxrc;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080116/659a409b/attachment.html
More information about the macports-changes
mailing list