diff options
author | jperkin <jperkin@pkgsrc.org> | 2018-06-26 10:49:10 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2018-06-26 10:49:10 +0000 |
commit | 42ee6d10b7bfc4c546973973d426b5853df64baa (patch) | |
tree | 3b679a0898efd5ce629effe13c0d1a37fb7c1f38 /graphics | |
parent | a57d76a5c918cc799b877e67c15c633e572242bb (diff) | |
download | pkgsrc-42ee6d10b7bfc4c546973973d426b5853df64baa.tar.gz |
darktable: Fix build on SunOS.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/darktable/distinfo | 3 | ||||
-rw-r--r-- | graphics/darktable/patches/patch-src_common_system__signal__handling.c | 18 |
2 files changed, 20 insertions, 1 deletions
diff --git a/graphics/darktable/distinfo b/graphics/darktable/distinfo index 6549c653ecd..0db3ac4132a 100644 --- a/graphics/darktable/distinfo +++ b/graphics/darktable/distinfo @@ -1,10 +1,11 @@ -$NetBSD: distinfo,v 1.29 2018/02/06 12:55:52 jperkin Exp $ +$NetBSD: distinfo,v 1.30 2018/06/26 10:49:10 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_common_system__signal__handling.c) = 296f5618c618a9b16af2ca5a1d9ff408c437c220 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 diff --git a/graphics/darktable/patches/patch-src_common_system__signal__handling.c b/graphics/darktable/patches/patch-src_common_system__signal__handling.c new file mode 100644 index 00000000000..7f910b23cb2 --- /dev/null +++ b/graphics/darktable/patches/patch-src_common_system__signal__handling.c @@ -0,0 +1,18 @@ +$NetBSD: patch-src_common_system__signal__handling.c,v 1.1 2018/06/26 10:49:11 jperkin Exp $ + +Fix build on SunOS. + +--- src/common/system_signal_handling.c.orig 2017-05-28 14:22:21.000000000 +0000 ++++ src/common/system_signal_handling.c +@@ -69,7 +69,11 @@ static dt_signal_handler_t *_orig_sig_ha + + #if(defined(__FreeBSD_version) && (__FreeBSD_version < 800071)) || (defined(OpenBSD) && (OpenBSD < 201305)) \ + || defined(__SUNOS__) ++#ifdef __sun ++static int dprintf(int fd, const char *fmt, ...) ++#else + static int dprintf(int fd, const char *fmt, ...) __attribute__((format(printf, 2, 3))) ++#endif + { + va_list ap; + FILE *f = fdopen(fd, "a"); |