View | Details | Raw Unified | Return to bug 271914
Collapse All | Expand All

(-)b/graphics/qt5-imageformats/Makefile (+2 lines)
Lines 15-18 LIB_DEPENDS= libjasper.so:graphics/jasper \ Link Here
15
USES=		compiler:c++11-lang localbase qmake qt-dist:5,imageformats
15
USES=		compiler:c++11-lang localbase qmake qt-dist:5,imageformats
16
USE_QT=		core gui buildtools:build
16
USE_QT=		core gui buildtools:build
17
17
18
CXXFLAGS+=	-Dregister=
19
18
.include <bsd.port.mk>
20
.include <bsd.port.mk>
(-)b/graphics/qt5-imageformats/files/patch-src_imageformats_configure.json (-1 / +11 lines)
Lines 1-4 Link Here
1
--- src/imageformats/configure.json.orig	2022-03-02 19:21:52 UTC
1
--- src/imageformats/configure.json.orig	2023-01-03 22:24:44 UTC
2
+++ src/imageformats/configure.json
2
+++ src/imageformats/configure.json
3
@@ -19,6 +19,7 @@
3
@@ -19,6 +19,7 @@
4
             "headers": "jasper/jasper.h",
4
             "headers": "jasper/jasper.h",
Lines 8-10 Link Here
8
                     "string.h",
8
                     "string.h",
9
                     "jasper/jasper.h"
9
                     "jasper/jasper.h"
10
                 ],
10
                 ],
11
@@ -41,6 +42,9 @@
12
         "mng": {
13
             "headers": "libmng.h",
14
             "test": {
15
+                "head": [
16
+                    "#define register"
17
+                ],
18
                 "include": [
19
                     "stdio.h",
20
                     "libmng.h"

Return to bug 271914