pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/darktable



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue Feb  6 12:55:52 UTC 2018

Modified Files:
        pkgsrc/graphics/darktable: Makefile distinfo
Added Files:
        pkgsrc/graphics/darktable/patches: patch-src_CMakeLists.txt

Log Message:
darktable: Various fixes for SunOS/clang.


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 pkgsrc/graphics/darktable/Makefile
cvs rdiff -u -r1.28 -r1.29 pkgsrc/graphics/darktable/distinfo
cvs rdiff -u -r0 -r1.8 \
    pkgsrc/graphics/darktable/patches/patch-src_CMakeLists.txt

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

Modified files:

Index: pkgsrc/graphics/darktable/Makefile
diff -u pkgsrc/graphics/darktable/Makefile:1.81 pkgsrc/graphics/darktable/Makefile:1.82
--- pkgsrc/graphics/darktable/Makefile:1.81     Sun Jan 28 20:10:51 2018
+++ pkgsrc/graphics/darktable/Makefile  Tue Feb  6 12:55:52 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.81 2018/01/28 20:10:51 wiz Exp $
+# $NetBSD: Makefile,v 1.82 2018/02/06 12:55:52 jperkin Exp $
 
 DISTNAME=      darktable-2.2.5
 PKGREVISION=   7
@@ -46,6 +46,7 @@ CFLAGS+=      -mstackrealign -msse2 -march=i6
 .endif
 
 CFLAGS.NetBSD+=        -D_NETBSD_SOURCE
+CFLAGS.SunOS+= -D__SUNOS__=1
 
 .include "../../mk/compiler.mk"
 .if !empty(PKGSRC_COMPILER:Mgcc)
@@ -65,7 +66,9 @@ BUILDLINK_API_DEPENDS.sqlite3+= sqlite3>
 .include "../../devel/SDL/buildlink3.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/glib2/buildlink3.mk"
+.if ${OPSYS} != "SunOS"
 .include "../../devel/libinotify/buildlink3.mk"
+.endif
 .include "../../devel/libgphoto2/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../graphics/GraphicsMagick/buildlink3.mk"

Index: pkgsrc/graphics/darktable/distinfo
diff -u pkgsrc/graphics/darktable/distinfo:1.28 pkgsrc/graphics/darktable/distinfo:1.29
--- pkgsrc/graphics/darktable/distinfo:1.28     Fri Jul 14 10:02:28 2017
+++ pkgsrc/graphics/darktable/distinfo  Tue Feb  6 12:55:52 2018
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.28 2017/07/14 10:02:28 hauke Exp $
+$NetBSD: distinfo,v 1.29 2018/02/06 12:55:52 jperkin Exp $
 
 SHA1 (darktable-2.2.5.tar.xz) = f60ab3f9118e96c311f286a87102ad0d647cb111
 RMD160 (darktable-2.2.5.tar.xz) = 1a66797ca24dc7ef06fc5bb2fbed98724d50c0f8
 SHA512 (darktable-2.2.5.tar.xz) = fbc79398660b51e580d22dbdfc9a74d213f69335d6058e2844ef397951a1e840264b6d03d1b52b424319fb647a274ac14ff23ee9a9c60071f71497988bdf989b
 Size (darktable-2.2.5.tar.xz) = 3092540 bytes
+SHA1 (patch-src_CMakeLists.txt) = 4535599cf1d0f6aae1909bd4dc09281311e23e0c
 SHA1 (patch-src_external_rawspeed_RawSpeed_AriDecoder.cpp) = c1c7f8b03f63295361138ec1d6dbd1d323fa69ba
 SHA1 (patch-src_external_rawspeed_RawSpeed_ArwDecoder.cpp) = 435e99db5d512f6568048a8e6382f6def6e7430f
 SHA1 (patch-src_external_rawspeed_RawSpeed_ColorFilterArray.cpp) = 3abfbca5078d1ed068199e96e16b8eaea4eb662d

Added files:

Index: pkgsrc/graphics/darktable/patches/patch-src_CMakeLists.txt
diff -u /dev/null pkgsrc/graphics/darktable/patches/patch-src_CMakeLists.txt:1.8
--- /dev/null   Tue Feb  6 12:55:52 2018
+++ pkgsrc/graphics/darktable/patches/patch-src_CMakeLists.txt  Tue Feb  6 12:55:52 2018
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_CMakeLists.txt,v 1.8 2018/02/06 12:55:52 jperkin Exp $
+
+Don't link with the C compiler, CMake's CXXABI detection may insert
+C++ libraries into LIBS.
+
+--- src/CMakeLists.txt.orig    2017-05-28 14:22:21.000000000 +0000
++++ src/CMakeLists.txt
+@@ -684,7 +684,7 @@ if(APPLE)
+   set_target_properties(lib_darktable PROPERTIES MACOSX_RPATH TRUE)
+ endif(APPLE)
+ set_target_properties(lib_darktable PROPERTIES OUTPUT_NAME darktable)
+-set_target_properties(lib_darktable PROPERTIES LINKER_LANGUAGE C)
++#set_target_properties(lib_darktable PROPERTIES LINKER_LANGUAGE C)
+ 
+ #
+ # Link external libs



Home | Main Index | Thread Index | Old Index