pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/darktable graphics/darktable: Fix DragonFly b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7ff96fb681de
branches:  trunk
changeset: 607445:7ff96fb681de
user:      marino <marino%pkgsrc.org@localhost>
date:      Sun Aug 12 07:47:29 2012 +0000

description:
graphics/darktable: Fix DragonFly build

DragonFly needs same macro switches as FreeBSD here.

diffstat:

 graphics/darktable/distinfo                             |   4 +++-
 graphics/darktable/patches/patch-src_common_darktable.c |  13 +++++++++++++
 graphics/darktable/patches/patch-src_common_darktable.h |  13 +++++++++++++
 3 files changed, 29 insertions(+), 1 deletions(-)

diffs (52 lines):

diff -r 961b9c5ce0ba -r 7ff96fb681de graphics/darktable/distinfo
--- a/graphics/darktable/distinfo       Sun Aug 12 07:21:18 2012 +0000
+++ b/graphics/darktable/distinfo       Sun Aug 12 07:47:29 2012 +0000
@@ -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 @@
 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 -r 961b9c5ce0ba -r 7ff96fb681de graphics/darktable/patches/patch-src_common_darktable.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/darktable/patches/patch-src_common_darktable.c   Sun Aug 12 07:47:29 2012 +0000
@@ -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 -r 961b9c5ce0ba -r 7ff96fb681de graphics/darktable/patches/patch-src_common_darktable.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/darktable/patches/patch-src_common_darktable.h   Sun Aug 12 07:47:29 2012 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index