Update libraw to the latest stable version 0.20. Chnagelog:

https://www.libraw.org/news/libraw-0-20-Release


Only added exports in dynamic. Some exports removed in PLT, but which
does not lead to BUMP major, correct?

Tested with Digikam 7.0. OK?

Rafael

Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/libraw/Makefile,v
retrieving revision 1.44
diff -u -p -u -p -r1.44 Makefile
--- Makefile    10 Jan 2020 11:19:33 -0000      1.44
+++ Makefile    18 Aug 2020 04:53:54 -0000
@@ -2,13 +2,12 @@
 
 COMMENT =              library for reading RAW files
 
-DISTNAME =             LibRaw-0.19.5
+DISTNAME =             LibRaw-0.20.0
 PKGNAME =              ${DISTNAME:L}
-REVISION =             0
 CATEGORIES =           graphics
 
-SHARED_LIBS +=  raw                  4.0      # 15.0
-SHARED_LIBS +=  raw_r                4.0      # 15.0
+SHARED_LIBS +=  raw                  4.1      # 15.0
+SHARED_LIBS +=  raw_r                4.1      # 15.0
 
 HOMEPAGE =             https://www.libraw.org/
 
@@ -17,7 +16,7 @@ MAINTAINER =          Rafael Sadowski <rsadowski
 # LGPL v2.1 OR CDDL v1.0
 PERMIT_PACKAGE =       Yes
 
-WANTLIB += c jasper jpeg lcms2 m pthread ${COMPILER_LIBCXX}
+WANTLIB += ${COMPILER_LIBCXX} c jasper jpeg lcms2 m z
 
 MASTER_SITES =         https://www.libraw.org/data/
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/graphics/libraw/distinfo,v
retrieving revision 1.16
diff -u -p -u -p -r1.16 distinfo
--- distinfo    5 Sep 2019 16:20:25 -0000       1.16
+++ distinfo    18 Aug 2020 04:53:54 -0000
@@ -1,2 +1,2 @@
-SHA256 (LibRaw-0.19.5.tar.gz) = QKJi18xxcCcRoPrsEGEY7gBPhshswigoHRLRbaA+AvU=
-SIZE (LibRaw-0.19.5.tar.gz) = 1303806
+SHA256 (LibRaw-0.20.0.tar.gz) = Hwo4PaLOn0CQh/rNKCYd7L9r5yzJDHjNADsHZuTWlKM=
+SIZE (LibRaw-0.20.0.tar.gz) = 1431412
Index: patches/patch-internal_dcraw_common_cpp
===================================================================
RCS file: patches/patch-internal_dcraw_common_cpp
diff -N patches/patch-internal_dcraw_common_cpp
--- patches/patch-internal_dcraw_common_cpp     5 Sep 2019 16:20:25 -0000       
1.4
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,25 +0,0 @@
-$OpenBSD: patch-internal_dcraw_common_cpp,v 1.4 2019/09/05 16:20:25 rsadowski 
Exp $
-
-OpenBSD has its own strnlen and strcasestr.
-
-Index: internal/dcraw_common.cpp
---- internal/dcraw_common.cpp.orig
-+++ internal/dcraw_common.cpp
-@@ -46,7 +46,7 @@ int CLASS fcol(int row, int col)
-   return FC(row, col);
- }
- 
--#if !defined(__FreeBSD__)
-+#if !defined(__FreeBSD__) || !defined(__OpenBSD__)
- static size_t local_strnlen(const char *s, size_t n)
- {
-   const char *p = (const char *)memchr(s, 0, n);
-@@ -130,7 +130,7 @@ static int stread(char *buf, size_t len, LibRaw_abstra
- #define stmread(buf, maxlen, fp) stread(buf, MIN(maxlen, sizeof(buf)), fp)
- #endif
- 
--#if !defined(__GLIBC__) && !defined(__FreeBSD__)
-+#if !defined(__GLIBC__) && (!defined(__FreeBSD__) || !defined(__OpenBSD__))
- char *my_memmem(char *haystack, size_t haystacklen, char *needle, size_t 
needlelen)
- {
-   char *c;
Index: patches/patch-libraw_pc_in
===================================================================
RCS file: /cvs/ports/graphics/libraw/patches/patch-libraw_pc_in,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 patch-libraw_pc_in
--- patches/patch-libraw_pc_in  10 Jan 2020 11:19:33 -0000      1.2
+++ patches/patch-libraw_pc_in  18 Aug 2020 04:53:54 -0000
@@ -11,4 +11,4 @@ Index: libraw.pc.in
  Version: @PACKAGE_VERSION@
 -Libs: -L${libdir} -lraw -lstdc++@PC_OPENMP@
 +Libs: -L${libdir} -lraw@PC_OPENMP@
- Cflags: -I${includedir}/libraw
+ Cflags: -I${includedir}/libraw -I${includedir}
Index: patches/patch-libraw_r_pc_in
===================================================================
RCS file: /cvs/ports/graphics/libraw/patches/patch-libraw_r_pc_in,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-libraw_r_pc_in
--- patches/patch-libraw_r_pc_in        10 Jan 2020 11:19:33 -0000      1.1
+++ patches/patch-libraw_r_pc_in        18 Aug 2020 04:53:54 -0000
@@ -11,4 +11,4 @@ Index: libraw_r.pc.in
  Version: @PACKAGE_VERSION@
 -Libs: -L${libdir} -lraw_r -lstdc++@PC_OPENMP@
 +Libs: -L${libdir} -lraw_r@PC_OPENMP@
- Cflags: -I${includedir}/libraw
+ Cflags: -I${includedir}/libraw -I${includedir}
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/graphics/libraw/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 PLIST
--- pkg/PLIST   3 Jul 2017 17:29:06 -0000       1.6
+++ pkg/PLIST   18 Aug 2020 04:53:54 -0000
@@ -7,6 +7,7 @@
 @bin bin/multirender_test
 @bin bin/postprocessing_benchmark
 @bin bin/raw-identify
+@bin bin/rawtextdump
 @bin bin/simple_dcraw
 @bin bin/unprocessed_raw
 include/libraw/
@@ -17,10 +18,10 @@ include/libraw/libraw_datastream.h
 include/libraw/libraw_internal.h
 include/libraw/libraw_types.h
 include/libraw/libraw_version.h
-lib/libraw.a
+@static-lib lib/libraw.a
 lib/libraw.la
 @lib lib/libraw.so.${LIBraw_VERSION}
-lib/libraw_r.a
+@static-lib lib/libraw_r.a
 lib/libraw_r.la
 @lib lib/libraw_r.so.${LIBraw_r_VERSION}
 lib/pkgconfig/libraw.pc

Reply via email to