pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/libewf



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Jun 22 10:29:02 UTC 2022

Modified Files:
        pkgsrc/devel/libewf: distinfo
Added Files:
        pkgsrc/devel/libewf/patches: patch-libuna_libuna__inline.h

Log Message:
libewf: avoid using inline

To fix build on NetBSD 9+


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/libewf/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/libewf/patches/patch-libuna_libuna__inline.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/libewf/distinfo
diff -u pkgsrc/devel/libewf/distinfo:1.4 pkgsrc/devel/libewf/distinfo:1.5
--- pkgsrc/devel/libewf/distinfo:1.4    Tue Oct 26 10:15:19 2021
+++ pkgsrc/devel/libewf/distinfo        Wed Jun 22 10:29:02 2022
@@ -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

Added files:

Index: pkgsrc/devel/libewf/patches/patch-libuna_libuna__inline.h
diff -u /dev/null pkgsrc/devel/libewf/patches/patch-libuna_libuna__inline.h:1.1
--- /dev/null   Wed Jun 22 10:29:02 2022
+++ pkgsrc/devel/libewf/patches/patch-libuna_libuna__inline.h   Wed Jun 22 10:29:02 2022
@@ -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