summaryrefslogtreecommitdiff
path: root/x11/XFree86-4-libraries/files/patch-z38
diff options
context:
space:
mode:
Diffstat (limited to 'x11/XFree86-4-libraries/files/patch-z38')
-rw-r--r--x11/XFree86-4-libraries/files/patch-z3827
1 files changed, 27 insertions, 0 deletions
diff --git a/x11/XFree86-4-libraries/files/patch-z38 b/x11/XFree86-4-libraries/files/patch-z38
new file mode 100644
index 000000000000..2c8cce6ddcd2
--- /dev/null
+++ b/x11/XFree86-4-libraries/files/patch-z38
@@ -0,0 +1,27 @@
+--- Original/xc/programs/xdm/Imakefile Tue Oct 24 12:53:55 2000
++++ programs/xdm/Imakefile Tue Oct 24 12:52:46 2000
+@@ -75,11 +75,6 @@
+ PWD_DEFINES = -DUSESHADOW -DSHADOWSUITE
+ #endif
+
+-#if HasPam
+-PAM_LIBRARIES = -lpam DlLibrary
+-PAM_DEFINES = -DUSE_PAM
+-#endif
+-
+ #if !defined(i386IscArchitecture) && !defined(i386ScoArchitecture) && !defined(LinuxArchitecture) && !defined(NTOArchitecture) && !defined(SGIArchitecture)
+ SYS_LIBRARIES3 = -lresolv
+ #endif
+@@ -89,6 +84,11 @@
+ #if defined(LinuxArchitecture) && (!UseElfFormat || LinuxShadowSuite)
+ SYS_LIBRARIES1 = -lshadow
+ #endif
++#endif
++
++#if HasPam
++PAM_LIBRARIES = -lpam DlLibrary
++PAM_DEFINES = -DUSE_PAM
+ #endif
+
+ #if defined(UltrixArchitecture)
+