pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/archivers/zziplib Fix archivers/zziplib build on NetBS...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b12872e011d1
branches: trunk
changeset: 359012:b12872e011d1
user: kamil <kamil%pkgsrc.org@localhost>
date: Sat Feb 25 12:16:44 2017 +0000
description:
Fix archivers/zziplib build on NetBSD 7.99.62 amd64
Fix inline function error reference:
work/zziplib-0.13.59/zzip/.libs/libzzip.so: undefined reference to `__zzip_aligned4'
Replace _zzip_inline with regular static inline.
diffstat:
archivers/zziplib/distinfo | 3 ++-
archivers/zziplib/patches/patch-zzip_zip.c | 27 +++++++++++++++++++++++++++
2 files changed, 29 insertions(+), 1 deletions(-)
diffs (45 lines):
diff -r b251c564c6c2 -r b12872e011d1 archivers/zziplib/distinfo
--- a/archivers/zziplib/distinfo Sat Feb 25 11:04:10 2017 +0000
+++ b/archivers/zziplib/distinfo Sat Feb 25 12:16:44 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2015/12/08 11:13:04 jperkin Exp $
+$NetBSD: distinfo,v 1.13 2017/02/25 12:16:44 kamil Exp $
SHA1 (zziplib-0.13.59.tar.bz2) = ddbce25cb36c3b4c2b892e2c8a88fa4a0be29a71
RMD160 (zziplib-0.13.59.tar.bz2) = b96f547039ac005f6e9ca2cf92c388a077b9b21e
@@ -8,3 +8,4 @@
SHA1 (patch-ba) = 1f680820112114534318ad46603992b16e183866
SHA1 (patch-bb) = afdcf01c5aea03f7bfd61492acbe4f3743d50b0a
SHA1 (patch-bc) = 897a79994d90124972afdb9fa803e82520e6ae0e
+SHA1 (patch-zzip_zip.c) = bbceb2ed9cd80620a297d4b8c48624bb2824dafb
diff -r b251c564c6c2 -r b12872e011d1 archivers/zziplib/patches/patch-zzip_zip.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/zziplib/patches/patch-zzip_zip.c Sat Feb 25 12:16:44 2017 +0000
@@ -0,0 +1,27 @@
+$NetBSD: patch-zzip_zip.c,v 1.1 2017/02/25 12:16:44 kamil Exp $
+
+Fix inline function error reference:
+work/zziplib-0.13.59/zzip/.libs/libzzip.so: undefined reference to `__zzip_aligned4'
+
+Replace _zzip_inline with regular static inline.
+
+--- zzip/zip.c.orig 2009-09-24 21:57:00.000000000 +0000
++++ zzip/zip.c
+@@ -90,7 +90,7 @@ int __zzip_parse_root_directory(int fd,
+ struct zzip_dir_hdr **hdr_return,
+ zzip_plugin_io_t io);
+
+-_zzip_inline char *__zzip_aligned4(char *p);
++static inline char *__zzip_aligned4(char *p);
+
+ /* ------------------------ harden routines ------------------------------ */
+
+@@ -377,7 +377,7 @@ __zzip_fetch_disk_trailer(int fd, zzip_o
+ * to pointer types but we do need only the lower bits in this implementation,
+ * so we can just cast the value to a long value.
+ */
+-_zzip_inline char *
++static inline char *
+ __zzip_aligned4(char *p)
+ {
+ #define aligned4 __zzip_aligned4
Home |
Main Index |
Thread Index |
Old Index