summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-11-08 21:14:01 +0000
committerjoerg <joerg@pkgsrc.org>2013-11-08 21:14:01 +0000
commit12d341f68adc9c366a607be774854071aa1eb340 (patch)
treeb4cba334b9924447a0770e5c4db1a1e2c67d46ed
parentdd628401888dc3a411097460c146dedc8ad76c83 (diff)
downloadpkgsrc-12d341f68adc9c366a607be774854071aa1eb340.tar.gz
Needs pod2man. Fix missing ffsll on NetBSD.
-rw-r--r--archivers/lrzip/Makefile4
-rw-r--r--archivers/lrzip/distinfo3
-rw-r--r--archivers/lrzip/patches/patch-lrzip__private.h13
3 files changed, 17 insertions, 3 deletions
diff --git a/archivers/lrzip/Makefile b/archivers/lrzip/Makefile
index ba2c199b320..d8c15b6efed 100644
--- a/archivers/lrzip/Makefile
+++ b/archivers/lrzip/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2013/10/21 11:29:05 fhajny Exp $
+# $NetBSD: Makefile,v 1.2 2013/11/08 21:14:01 joerg Exp $
DISTNAME= lrzip-0.616
CATEGORIES= archivers
@@ -12,7 +12,7 @@ LICENSE= gnu-gpl-v2
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
-USE_TOOLS+= bash:run pkg-config
+USE_TOOLS+= bash:run pkg-config pod2man
USE_LANGUAGES= c c++
PKGCONFIG_OVERRIDE+= lrzip.pc.in
diff --git a/archivers/lrzip/distinfo b/archivers/lrzip/distinfo
index f97aa569987..27733099b73 100644
--- a/archivers/lrzip/distinfo
+++ b/archivers/lrzip/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.1 2013/10/21 11:29:05 fhajny Exp $
+$NetBSD: distinfo,v 1.2 2013/11/08 21:14:01 joerg Exp $
SHA1 (lrzip-0.616.tar.bz2) = 374a021ff087ee93b2d5894fd16aa3aef26dfa8f
RMD160 (lrzip-0.616.tar.bz2) = 6cc2a3f6fd13bfbaba93ae61bf0597383e0d98cd
Size (lrzip-0.616.tar.bz2) = 493886 bytes
SHA1 (patch-liblrzip.c) = 64092c1b186ced54ba57aba21eb4c9180c82e3ed
SHA1 (patch-lrzip.h) = 42c3f7eccbd93e1bad5bb91941c1e69a2ff261cd
+SHA1 (patch-lrzip__private.h) = b56cc367a9c2038ccc3448ec2d8c7e07c7e3b44c
diff --git a/archivers/lrzip/patches/patch-lrzip__private.h b/archivers/lrzip/patches/patch-lrzip__private.h
new file mode 100644
index 00000000000..d6741569c16
--- /dev/null
+++ b/archivers/lrzip/patches/patch-lrzip__private.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-lrzip__private.h,v 1.1 2013/11/08 21:14:02 joerg Exp $
+
+--- lrzip_private.h.orig 2013-11-08 20:52:44.000000000 +0000
++++ lrzip_private.h
+@@ -139,7 +139,7 @@ extern int errno;
+ #define unlikely(x) __builtin_expect(!!(x), 0)
+ #define __maybe_unused __attribute__((unused))
+
+-#if defined(__MINGW32__) || defined(__CYGWIN__) || defined(ANDROID) || defined(__APPLE__)
++#if defined(__MINGW32__) || defined(__CYGWIN__) || defined(ANDROID) || defined(__APPLE__) || defined(__NetBSD__)
+ # define ffsll __builtin_ffsll
+ #endif
+