Bug#32809: libpam0g: Fix for glibc2.1
Package: libpam0g
Version: 0.65-0.8
In glibc2.1 some string functions are realised as macros. Declarations of
string functions are not necessary if you included <string.h> in your
sources and will fail with glibc2.1 because of the macro expansion.
Please check the appended patch and incorporate it in your next release.
Greetings,
Christian
PS.: pam defines its own string functions so the patch disables string
optimizations completely
-- System Information
Debian Release: 2.1
Kernel Version: Linux koenig 2.2.1 #1 Tue Feb 2 12:06:47 CET 1999 sparc unknown
Versions of the packages libpam0g depends on:
ii libc6 2.0.105-1.2 The GNU C library version 2 (run-time files)
ii libpwdb0g 0.54preD-3.1 Password database library for Linux-PAM [lib
ii libpam0g-util 0.65-0.8.1 Authentication modules and system binaries f
diff -u -r -N pam-0.65-old/debian/changelog pam-0.65/debian/changelog
--- pam-0.65-old/debian/changelog Wed Feb 3 15:39:24 1999
+++ pam-0.65/debian/changelog Wed Feb 3 15:39:33 1999
@@ -1,3 +1,11 @@
+pam (0.65-0.8.1) frozen unstable; urgency=low
+
+ * non maintainer, sparc only upload
+ * compile with -D__NO_STRING_INLINES to disable string optimizations
+ with glibc2.1
+
+ -- Christian Meder <meder@isr.uni-stuttgart.de> Tue, 19 Jan 1999 00:48:47 +0100
+
pam (0.65-0.8) frozen unstable; urgency=high
* Marked PAM as orphaned, given that there has been no maintainer upload
diff -u -r -N pam-0.65-old/debian/rules pam-0.65/debian/rules
--- pam-0.65-old/debian/rules Wed Feb 3 15:39:24 1999
+++ pam-0.65/debian/rules Wed Feb 3 15:39:33 1999
@@ -29,8 +29,8 @@
touch .freezemake # Silence warning text
# First build the dynamic libpam, so that we can link the security
# modules against it
- $(MAKE) STATIC= DIRS=libpam
- $(MAKE) all
+ $(MAKE) CC="gcc -D__NO_STRING_INLINES" STATIC= DIRS=libpam
+ $(MAKE) all CC="gcc -D__NO_STRING_INLINES"
cd doc ; make PSER="sgml2latex --output=ps" postscript htmls texts
touch build-stamp
Reply to: