summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2016-04-03 12:47:45 +0000
committerjoerg <joerg@pkgsrc.org>2016-04-03 12:47:45 +0000
commit17f8854af590f01871f53afccd102d8b6af950d9 (patch)
tree0e647c4d34f98e0ab15d091b4a523b0fbba891d0 /graphics
parent6c6169d7a382b1bdb274f803d1c46dba275f4970 (diff)
downloadpkgsrc-17f8854af590f01871f53afccd102d8b6af950d9.tar.gz
Needs Qt5's Linguist tool. On NetBSD, use getopt_long instead of the
silly getopt_long_only.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/luminance-hdr/Makefile3
-rw-r--r--graphics/luminance-hdr/distinfo3
-rw-r--r--graphics/luminance-hdr/patches/patch-src_MainCli_commandline.cpp15
3 files changed, 19 insertions, 2 deletions
diff --git a/graphics/luminance-hdr/Makefile b/graphics/luminance-hdr/Makefile
index f0170d235f7..752d49de643 100644
--- a/graphics/luminance-hdr/Makefile
+++ b/graphics/luminance-hdr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2016/03/05 11:28:40 jperkin Exp $
+# $NetBSD: Makefile,v 1.3 2016/04/03 12:47:45 joerg Exp $
DISTNAME= luminance-hdr-2.4.0
PKGREVISION= 1
@@ -25,5 +25,6 @@ USE_CMAKE= yes
.include "../../math/fftwf/buildlink3.mk"
.include "../../math/gsl/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../x11/qt5-qttools/buildlink3.mk"
.include "../../x11/qt5-qtwebkit/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/luminance-hdr/distinfo b/graphics/luminance-hdr/distinfo
index f726e8d425c..12068b35601 100644
--- a/graphics/luminance-hdr/distinfo
+++ b/graphics/luminance-hdr/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2016/02/07 22:10:47 markd Exp $
+$NetBSD: distinfo,v 1.2 2016/04/03 12:47:45 joerg Exp $
SHA1 (luminance-hdr-2.4.0.tar.bz2) = 58e711531bd20be80b4761137c9c684b4b67000f
RMD160 (luminance-hdr-2.4.0.tar.bz2) = 41fbd29ececa8f8de89dccabd6b48a66cc870307
@@ -6,3 +6,4 @@ SHA512 (luminance-hdr-2.4.0.tar.bz2) = aa14a13d12ba382f5f8dcb79a57aa68864678db62
Size (luminance-hdr-2.4.0.tar.bz2) = 10507522 bytes
SHA1 (patch-CMakeLists.txt) = 16492e3df08517fece3a03daf588a71f9296f4c3
SHA1 (patch-src_HelpBrowser_CMakeLists.txt) = 57277fd03e6c201fb6fadc3df169276c358460fa
+SHA1 (patch-src_MainCli_commandline.cpp) = bbbe118f6712381e9324629d921d934d73e48da8
diff --git a/graphics/luminance-hdr/patches/patch-src_MainCli_commandline.cpp b/graphics/luminance-hdr/patches/patch-src_MainCli_commandline.cpp
new file mode 100644
index 00000000000..1d4fa813efa
--- /dev/null
+++ b/graphics/luminance-hdr/patches/patch-src_MainCli_commandline.cpp
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_MainCli_commandline.cpp,v 1.1 2016/04/03 12:47:45 joerg Exp $
+
+--- src/MainCli/commandline.cpp.orig 2016-04-02 18:17:21.047535103 +0000
++++ src/MainCli/commandline.cpp
+@@ -47,6 +47,10 @@
+ #include <io.h>
+ #endif
+
++#ifdef __NetBSD__
++#define getopt_long_only getopt_long
++#endif
++
+ namespace
+ {
+ void printErrorAndExit(const QString& error_str)