FreeBSD Bugzilla – Attachment 29851 Details for
Bug 50519
[PATCH] net/samba: fix building with Winbind under 5.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.38 KB, created by
osa
on 2003-04-01 13:10:11 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
osa
Created:
2003-04-01 13:10:11 UTC
Size:
1.38 KB
patch
obsolete
>Index: ports/net/samba/Makefile >=================================================================== >RCS file: /home/ncvs/ports/net/samba/Makefile,v >retrieving revision 1.118 >diff -u -r1.118 Makefile >--- ports/net/samba/Makefile 25 Mar 2003 14:52:42 -0000 1.118 >+++ ports/net/samba/Makefile 1 Apr 2003 11:42:48 -0000 >@@ -7,6 +7,7 @@ > > PORTNAME= samba > PORTVERSION= 2.2.8 >+PORTREVISION= 1 > CATEGORIES= net > MASTER_SITES= http://us3.samba.org/samba/ftp/%SUBDIR%/ \ > http://us4.samba.org/samba/ftp/%SUBDIR%/ \ >--- /dev/null Tue Apr 1 14:30:34 2003 >+++ ports/net/samba/files/patch-source::nsswitch::pam_winbind.h Tue Apr 1 12:58:33 2003 >@@ -0,0 +1,19 @@ >+--- source/nsswitch/pam_winbind.h.orig Tue Apr 1 12:57:33 2003 >++++ source/nsswitch/pam_winbind.h Tue Apr 1 12:57:41 2003 >+@@ -25,7 +25,15 @@ >+ #define PAM_SM_ACCOUNT >+ #define PAM_SM_PASSWORD >+ >+-#if defined(SUNOS5) || defined(SUNOS4) || defined(HPUX) >++#if (__FreeBSD__ == 0) /* 1.0 did not define __FreeBSD__ */ >++#define __FreeBSD_version 199401 >++#elsif __FreeBSD__ == 1 /* 1.1 defined it to be 1 */ >++#define __FreeBSD_version 199405 >++#else /* 2.0 and higher define it to be 2 */ >++#include <osreldate.h> /* and this works */ >++#endif >++ >++#if defined(SUNOS5) || defined(SUNOS4) || defined(HPUX) || (defined (__FreeBSD_version) && (__FreeBSD_version > 500030)) >+ >+ /* Solaris always uses dynamic pam modules */ >+ #define PAM_EXTERN extern
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 50519
: 29851