FreeBSD Bugzilla – Attachment 29151 Details for
Bug 48772
[PATCH] security/vlock: fix build under FreeBSD 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-02-28 11:10:09 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
osa
Created:
2003-02-28 11:10:09 UTC
Size:
1.38 KB
patch
obsolete
>Index: ports/security/vlock/files/patch-ae >=================================================================== >RCS file: /home/ncvs/ports/security/vlock/files/patch-ae,v >retrieving revision 1.1 >diff -u -r1.1 patch-ae >--- ports/security/vlock/files/patch-ae 22 Oct 2000 15:36:25 -0000 1.1 >+++ ports/security/vlock/files/patch-ae 28 Feb 2003 10:56:58 -0000 >@@ -1,6 +1,34 @@ >---- input.c.orig Wed Jan 13 16:19:14 1999 >-+++ input.c Sun Oct 22 08:22:42 2000 >-@@ -291,7 +291,7 @@ >+--- input.c.orig Thu Jan 14 03:19:14 1999 >++++ input.c Fri Feb 28 13:48:38 2003 >+@@ -60,11 +60,27 @@ >+ #error "Shadow and PAM don't mix!" >+ #endif >+ >++#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 >++ >+ #include <security/pam_appl.h> >++#if defined (__FreeBSD_version) && (__FreeBSD_version > 500030) >++#include <security/openpam.h> >++#else >+ #include <security/pam_misc.h> >++#endif >+ >+ static struct pam_conv PAM_conversation = { >++#if defined (__FreeBSD_version) && (__FreeBSD_version > 500030) >++ openpam_ttyconv, >++#else >+ &misc_conv, >++#endif >+ NULL >+ }; >+ >+@@ -291,7 +307,7 @@ > setuid(getuid()); > setgid(getgid());
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 48772
: 29151