pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libewf libewf: avoid using inline



details:   https://anonhg.NetBSD.org/pkgsrc/rev/47ae3f094b41
branches:  trunk
changeset: 380986:47ae3f094b41
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jun 22 10:29:02 2022 +0000

description:
libewf: avoid using inline

To fix build on NetBSD 9+

diffstat:

 devel/libewf/distinfo                              |   3 ++-
 devel/libewf/patches/patch-libuna_libuna__inline.h |  21 +++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r 2998b2721ff1 -r 47ae3f094b41 devel/libewf/distinfo
--- a/devel/libewf/distinfo     Wed Jun 22 10:25:38 2022 +0000
+++ b/devel/libewf/distinfo     Wed Jun 22 10:29:02 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:15:19 nia Exp $
+$NetBSD: distinfo,v 1.5 2022/06/22 10:29:02 wiz Exp $
 
 BLAKE2s (libewf-experimental-20150126.tar.gz) = aa9318f9d58c80d96528f8fd182c8a9e580880ed3ad6a2a5de75e66182d3a579
 SHA512 (libewf-experimental-20150126.tar.gz) = ebb713c99ae365069e47b3ccab7963010c1eb61d961ae597502bc31696f33be5f394e665afb9b62d8c8cad1a83ea3f8c08759aa2ef79cb4e4b411b1f66faf707
 Size (libewf-experimental-20150126.tar.gz) = 2130325 bytes
+SHA1 (patch-libuna_libuna__inline.h) = b8ad58fb633407b4ee53464e4c996ae5c73c3378
diff -r 2998b2721ff1 -r 47ae3f094b41 devel/libewf/patches/patch-libuna_libuna__inline.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libewf/patches/patch-libuna_libuna__inline.h        Wed Jun 22 10:29:02 2022 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-libuna_libuna__inline.h,v 1.1 2022/06/22 10:29:02 wiz Exp $
+
+Avoid using inline, leads to missing symbols like this
+
+ld: ../libcsystem/.libs/libcsystem.a(libuna_byte_stream.o): in function `libuna_byte_stream_size_from_utf8':
+libuna_byte_stream.c:(.text+0x81): undefined reference to `libuna_unicode_character_copy_from_utf8'
+
+on at least NetBSD 9 and 9.99 with default compiler (gcc).
+
+
+--- libuna/libuna_inline.h.orig        2015-01-25 07:30:04.000000000 +0000
++++ libuna/libuna_inline.h
+@@ -31,7 +31,7 @@
+ #define LIBUNA_INLINE /* inline */
+ 
+ #else
+-#define LIBUNA_INLINE inline
++#define LIBUNA_INLINE /* inline */
+ 
+ #endif
+ 



Home | Main Index | Thread Index | Old Index