summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-08-12 07:47:29 +0000
committermarino <marino@pkgsrc.org>2012-08-12 07:47:29 +0000
commit5b1348d95aa47a54728608aa570d6d9aebc2ed93 (patch)
tree7d410833d49177971c2e81af3e10d8ad126d46a8 /graphics
parente46a4d435250b72406d46a3a1314804847262b3f (diff)
downloadpkgsrc-5b1348d95aa47a54728608aa570d6d9aebc2ed93.tar.gz
graphics/darktable: Fix DragonFly build
DragonFly needs same macro switches as FreeBSD here.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/darktable/distinfo4
-rw-r--r--graphics/darktable/patches/patch-src_common_darktable.c13
-rw-r--r--graphics/darktable/patches/patch-src_common_darktable.h13
3 files changed, 29 insertions, 1 deletions
diff --git a/graphics/darktable/distinfo b/graphics/darktable/distinfo
index b24083e3008..5e339b288ef 100644
--- a/graphics/darktable/distinfo
+++ b/graphics/darktable/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2012/07/29 20:20:47 wiz Exp $
+$NetBSD: distinfo,v 1.12 2012/08/12 07:47:29 marino Exp $
SHA1 (darktable-1.0.5.tar.gz) = d007ada0f3fb3af6861de74323577b90eec3996e
RMD160 (darktable-1.0.5.tar.gz) = e9740b7ebc045e8e52b42c41074888e423ff8c3e
@@ -6,6 +6,8 @@ Size (darktable-1.0.5.tar.gz) = 2568221 bytes
SHA1 (patch-cmake_modules_FindGTK2.cmake) = de1273594801ab82da31b624845e0b36a77b53b3
SHA1 (patch-src_CMakeLists.txt) = da62516e65b1c14eec4264fa603d9bdbd2e5d668
SHA1 (patch-src_LibRaw_libraw_libraw__alloc.h) = 1217d6bf0b14b538d39e9bfe9fa70e2f7bffbfc5
+SHA1 (patch-src_common_darktable.c) = 1254eb162d30500c1a8a36935ea7491dc9e6c2da
+SHA1 (patch-src_common_darktable.h) = afa5122f22434496378edf5568fb610f1dc5b650
SHA1 (patch-src_common_imageio__rgbe.c) = 71ac4e58bd89310323c25464bda8cb7a46c597cb
SHA1 (patch-src_control_jobs_control__jobs.c) = 418bc906d7fb54d6c55060bf60f0e24b6b9d1f12
SHA1 (patch-src_develop_blend.c) = 7411edf0903bbed7b4afcb82bc5c650100f23755
diff --git a/graphics/darktable/patches/patch-src_common_darktable.c b/graphics/darktable/patches/patch-src_common_darktable.c
new file mode 100644
index 00000000000..5ad5591bbc6
--- /dev/null
+++ b/graphics/darktable/patches/patch-src_common_darktable.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_common_darktable.c,v 1.1 2012/08/12 07:47:29 marino Exp $
+
+--- src/common/darktable.c.orig 2012-07-21 10:44:08.000000000 +0000
++++ src/common/darktable.c
+@@ -54,7 +54,7 @@
+ #include <unistd.h>
+ #include <locale.h>
+
+-#if !defined(__APPLE__) && !defined(__FreeBSD__)
++#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__DragonFly__)
+ #include <malloc.h>
+ #endif
+ #ifdef __APPLE__
diff --git a/graphics/darktable/patches/patch-src_common_darktable.h b/graphics/darktable/patches/patch-src_common_darktable.h
new file mode 100644
index 00000000000..575c95e7b6b
--- /dev/null
+++ b/graphics/darktable/patches/patch-src_common_darktable.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_common_darktable.h,v 1.1 2012/08/12 07:47:29 marino Exp $
+
+--- src/common/darktable.h.orig 2012-07-21 10:44:08.000000000 +0000
++++ src/common/darktable.h
+@@ -43,7 +43,7 @@
+ #include <mach/mach.h>
+ #include <sys/sysctl.h>
+ #endif
+-#if defined(__DragonFly__) || defined(__FreeBSD__)
++#if defined(__DragonFly__) || defined(__FreeBSD__) || defined(__DragonFly__)
+ typedef unsigned int u_int;
+ #include <sys/types.h>
+ #include <sys/sysctl.h>