Browse Source

merged old pam fixes from kde31 and applied some kde32 adaptions (untested)

git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2438 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 21 years ago
parent
commit
d32c8e0121
2 changed files with 39 additions and 0 deletions
  1. +23
    -0
      package/kde/kdeadmin/libtool-fix.patch
  2. +16
    -0
      package/kde/kdeadmin/pam-fix.patch

+ 23
- 0
package/kde/kdeadmin/libtool-fix.patch

@ -0,0 +1,23 @@
A tiny "hack" for our /lib vs. /usr/lib situation. Too damn kde* uses an
own copy of libtool - we need to verify how the official GNU beast behaves
and maybe really fix that one.
- Rene Rebe <rene@rocklinux.org>
--- kdeadmin-3.1.4/admin/ltmain.sh.orig 2003-12-03 16:30:02.000000000 +0100
+++ kdeadmin-3.1.4/admin/ltmain.sh 2003-12-03 16:30:56.000000000 +0100
@@ -1963,9 +1963,12 @@
dir="$ladir"
absdir="$abs_ladir"
libdir="$abs_ladir"
- else
+ elif test -f "$libdir/$linklib" ; then
dir="$libdir"
absdir="$libdir"
+ else
+ dir="/lib"
+ absdir="/lib"
fi
else
dir="$ladir/$objdir"

+ 16
- 0
package/kde/kdeadmin/pam-fix.patch

@ -0,0 +1,16 @@
We need libpam and libpam_misc for kuser.
- Rene Rebe <rene@rocklinux.org>
--- kdeadmin-3.2.0/configure.orig 2004-03-02 20:58:16.000000000 +0100
+++ kdeadmin-3.2.0/configure 2004-03-02 21:02:41.000000000 +0100
@@ -30703,7 +30703,7 @@
#define HAVE_PAM 1
_ACEOF
- PAMLIBS="$PAM_MISC_LIB -lpam $LIBDL"
+ PAMLIBS="$PAM_MISC_LIB -lpam -lpam_misc $LIBDL"
use_pam=yes
if test "$pam_header" = "pam/pam_appl.h"; then

Loading…
Cancel
Save