Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/qt5-qtimageformats qt5-qtimageformats: build fix



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0e2a12b26a6e
branches:  trunk
changeset: 436638:0e2a12b26a6e
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Fri Aug 07 02:01:38 2020 +0000

description:
qt5-qtimageformats: build fix

diffstat:

 x11/qt5-qtimageformats/Makefile                                                   |   3 +-
 x11/qt5-qtimageformats/distinfo                                                   |   3 +-
 x11/qt5-qtimageformats/patches/patch-src_plugins_imageformats_jp2_qjp2handler.cpp |  14 ++++++++++
 3 files changed, 18 insertions(+), 2 deletions(-)

diffs (43 lines):

diff -r 7b0308600437 -r 0e2a12b26a6e x11/qt5-qtimageformats/Makefile
--- a/x11/qt5-qtimageformats/Makefile   Fri Aug 07 01:58:12 2020 +0000
+++ b/x11/qt5-qtimageformats/Makefile   Fri Aug 07 02:01:38 2020 +0000
@@ -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 -r 7b0308600437 -r 0e2a12b26a6e x11/qt5-qtimageformats/distinfo
--- a/x11/qt5-qtimageformats/distinfo   Fri Aug 07 01:58:12 2020 +0000
+++ b/x11/qt5-qtimageformats/distinfo   Fri Aug 07 02:01:38 2020 +0000
@@ -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 -r 7b0308600437 -r 0e2a12b26a6e x11/qt5-qtimageformats/patches/patch-src_plugins_imageformats_jp2_qjp2handler.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/qt5-qtimageformats/patches/patch-src_plugins_imageformats_jp2_qjp2handler.cpp Fri Aug 07 02:01:38 2020 +0000
@@ -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



Home | Main Index | Thread Index | Old Index