Browse Source

ap/fakeroot: Upgraded to fakeroot-1.23.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
77b0e9dc8c
  1. 20
      ap/fakeroot/fakeroot-1.23-fix-dlsym-warnings.patch
  2. 11
      ap/fakeroot/fakeroot.SlackBuild
  3. 1
      ap/fakeroot/fakeroot_1.20.2.orig.tar.bz2.sha1
  4. 1
      ap/fakeroot/fakeroot_1.23.orig.tar.xz.sha256

20
ap/fakeroot/fakeroot-1.23-fix-dlsym-warnings.patch

@ -0,0 +1,20 @@
diff -Naur fakeroot-1.23.orig/libfakeroot.c fakeroot-1.23/libfakeroot.c
--- fakeroot-1.23.orig/libfakeroot.c 2018-07-01 20:01:34.000000000 +0100
+++ fakeroot-1.23/libfakeroot.c 2019-05-06 00:22:37.875133004 +0100
@@ -256,9 +256,14 @@
/* clear dlerror() just in case dlsym() legitimately returns NULL */
msg = dlerror();
*(next_wrap[i].doit)=dlsym(get_libc(), next_wrap[i].name);
+
if ( (msg = dlerror()) != NULL){
- fprintf (stderr, "dlsym(%s): %s\n", next_wrap[i].name, msg);
-/* abort ();*/
+#ifdef LIBFAKEROOT_DEBUGGING
+ if (fakeroot_debug) {
+ fprintf (stderr, "dlsym(%s): %s\n", next_wrap[i].name, msg);
+/* abort ();*/
+ }
+#endif
}
}
}

11
ap/fakeroot/fakeroot.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2008,2009,2010,2011,2015 Damien Goutte-Gattat
# Copyright (C) 2008,2009,2010,2011,2015,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -25,8 +25,8 @@
# Source package infos
NAMESRC=${NAMESRC:-fakeroot}
VERSION=${VERSION:-1.20.2}
ARCHIVE=${ARCHIVE:-${NAMESRC}_$VERSION.orig.tar.bz2}
VERSION=${VERSION:-1.23}
ARCHIVE=${ARCHIVE:-${NAMESRC}_$VERSION.orig.tar.xz}
WGET=${WGET:-http://ftp.debian.org/debian/pool/main/f/fakeroot/$ARCHIVE}
# Build infos
@ -74,7 +74,7 @@ if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
@ -84,6 +84,9 @@ tar xf $CWD/$ARCHIVE
cd $NAME
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
# Prevent spurious warnings
# <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830912>
patch -p 1 < $CWD/fakeroot-1.23-fix-dlsym-warnings.patch
./configure \
--prefix=/usr \
--mandir=/usr/man \

1
ap/fakeroot/fakeroot_1.20.2.orig.tar.bz2.sha1

@ -1 +0,0 @@
367040df07043edb630942b21939e493f3fad888 fakeroot_1.20.2.orig.tar.bz2

1
ap/fakeroot/fakeroot_1.23.orig.tar.xz.sha256

@ -0,0 +1 @@
009cd6696a931562cf1c212bb57ca441a4a2d45cd32c3190a35c7ae98506f4f6 fakeroot_1.23.orig.tar.xz
Loading…
Cancel
Save