diff options
author | gutteridge <gutteridge@pkgsrc.org> | 2020-08-07 02:01:38 +0000 |
---|---|---|
committer | gutteridge <gutteridge@pkgsrc.org> | 2020-08-07 02:01:38 +0000 |
commit | 6f5a7de2a5fbd3082030dba700a3d246b6fccc8d (patch) | |
tree | 760613cc018d12b53ad6e82c3c4b263e9db1b291 /x11 | |
parent | 23ccf155b2edac6684b566cd543eae76d351fbd7 (diff) | |
download | pkgsrc-6f5a7de2a5fbd3082030dba700a3d246b6fccc8d.tar.gz |
qt5-qtimageformats: build fix
Diffstat (limited to 'x11')
-rw-r--r-- | x11/qt5-qtimageformats/Makefile | 3 | ||||
-rw-r--r-- | x11/qt5-qtimageformats/distinfo | 3 | ||||
-rw-r--r-- | x11/qt5-qtimageformats/patches/patch-src_plugins_imageformats_jp2_qjp2handler.cpp | 14 |
3 files changed, 18 insertions, 2 deletions
diff --git a/x11/qt5-qtimageformats/Makefile b/x11/qt5-qtimageformats/Makefile index 8769bd10b5e..ea6c8297b2b 100644 --- a/x11/qt5-qtimageformats/Makefile +++ b/x11/qt5-qtimageformats/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.45 2020/06/02 06:41:01 adam Exp $ +# $NetBSD: Makefile,v 1.46 2020/08/07 02:01:38 gutteridge Exp $ DISTNAME= qtimageformats-everywhere-src-${QTVERSION} PKGNAME= qt5-qtimageformats-${QTVERSION} +PKGREVISION= 1 COMMENT= Qt5 module for Image formats BUILD_TARGET= sub-src diff --git a/x11/qt5-qtimageformats/distinfo b/x11/qt5-qtimageformats/distinfo index df2d3eecd52..5b146115431 100644 --- a/x11/qt5-qtimageformats/distinfo +++ b/x11/qt5-qtimageformats/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.18 2020/06/02 06:41:01 adam Exp $ +$NetBSD: distinfo,v 1.19 2020/08/07 02:01:38 gutteridge Exp $ SHA1 (qtimageformats-everywhere-src-5.15.0.tar.xz) = e7c816cb8f06c8e88d4b59d084db29dc5fe45a26 RMD160 (qtimageformats-everywhere-src-5.15.0.tar.xz) = 32951b82135dbe036ece8e9a3bfa142fb8a497a1 SHA512 (qtimageformats-everywhere-src-5.15.0.tar.xz) = 3ac441915f2354ebe3eb2f6785a806ebe8bc2562a3a7d7bd0dc3380fd8842ce8a8dcdb7a767750b4da3d2d6b7881a7b54bb6c37f89c46e1468f27fc77396c304 Size (qtimageformats-everywhere-src-5.15.0.tar.xz) = 1811092 bytes +SHA1 (patch-src_plugins_imageformats_jp2_qjp2handler.cpp) = 3eed39559fceb3839eb461ade265c8d55ea08da0 diff --git a/x11/qt5-qtimageformats/patches/patch-src_plugins_imageformats_jp2_qjp2handler.cpp b/x11/qt5-qtimageformats/patches/patch-src_plugins_imageformats_jp2_qjp2handler.cpp new file mode 100644 index 00000000000..5d6f3fea250 --- /dev/null +++ b/x11/qt5-qtimageformats/patches/patch-src_plugins_imageformats_jp2_qjp2handler.cpp @@ -0,0 +1,14 @@ +$NetBSD: patch-src_plugins_imageformats_jp2_qjp2handler.cpp,v 1.1 2020/08/07 02:01:38 gutteridge Exp $ + +Needs math.h for pow(). + +--- src/plugins/imageformats/jp2/qjp2handler.cpp.orig 2020-04-27 07:24:21.000000000 +0000 ++++ src/plugins/imageformats/jp2/qjp2handler.cpp +@@ -44,6 +44,7 @@ + #include "qvariant.h" + #include "qcolor.h" + ++#include <math.h> + #include <jasper/jasper.h> + + QT_BEGIN_NAMESPACE |