summaryrefslogtreecommitdiff
path: root/source/l/libnl
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/libnl')
-rw-r--r--source/l/libnl/libnl-include_limits.h.patch11
-rwxr-xr-xsource/l/libnl/libnl.SlackBuild4
2 files changed, 1 insertions, 14 deletions
diff --git a/source/l/libnl/libnl-include_limits.h.patch b/source/l/libnl/libnl-include_limits.h.patch
deleted file mode 100644
index b2171551..00000000
--- a/source/l/libnl/libnl-include_limits.h.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Nur libnl-1.1.orig/include/netlink-local.h libnl-1.1/include/netlink-local.h
---- libnl-1.1.orig/include/netlink-local.h 2008-01-14 09:48:45.000000000 -0600
-+++ libnl-1.1/include/netlink-local.h 2009-02-22 18:08:38.242219028 -0600
-@@ -26,6 +26,7 @@
- #include <sys/socket.h>
- #include <inttypes.h>
- #include <assert.h>
-+#include <limits.h>
-
- #include <arpa/inet.h>
- #include <netdb.h>
diff --git a/source/l/libnl/libnl.SlackBuild b/source/l/libnl/libnl.SlackBuild
index a71ef471..6c78eb2c 100755
--- a/source/l/libnl/libnl.SlackBuild
+++ b/source/l/libnl/libnl.SlackBuild
@@ -60,7 +60,7 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
-rm -rf $PKGNAM-$SRC_VERSION
+rm -rf $PKGNAM-$VERSION
tar xvf $CWD/$PKGNAM-$VERSION.tar.?z* || exit 1
cd $PKGNAM-$VERSION || exit 1
chown -R root:root .
@@ -70,8 +70,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-zcat $CWD/libnl-include_limits.h.patch.gz | patch -p1 || exit 1
-
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \