summarylogtreecommitdiffstats
path: root/0005-Fix-libjpeg-workaround-for-conflict-with-rpcndr.h.patch
diff options
context:
space:
mode:
authorMartchus2021-10-02 12:37:23 +0200
committerMartchus2021-10-02 12:37:23 +0200
commit2964fa6af356c0594634beb56a9d0b7bf24eae48 (patch)
tree53d3343c47625b56d611550be0decfaff8b6de6a /0005-Fix-libjpeg-workaround-for-conflict-with-rpcndr.h.patch
parentd32d514e8565ea1a711c2f6d6da7f33e89bcfc66 (diff)
downloadaur-2964fa6af356c0594634beb56a9d0b7bf24eae48.tar.gz
Update to 6.2.0
Diffstat (limited to '0005-Fix-libjpeg-workaround-for-conflict-with-rpcndr.h.patch')
-rw-r--r--0005-Fix-libjpeg-workaround-for-conflict-with-rpcndr.h.patch18
1 files changed, 5 insertions, 13 deletions
diff --git a/0005-Fix-libjpeg-workaround-for-conflict-with-rpcndr.h.patch b/0005-Fix-libjpeg-workaround-for-conflict-with-rpcndr.h.patch
index 05dc25c51372..cc76a03fb98a 100644
--- a/0005-Fix-libjpeg-workaround-for-conflict-with-rpcndr.h.patch
+++ b/0005-Fix-libjpeg-workaround-for-conflict-with-rpcndr.h.patch
@@ -1,4 +1,4 @@
-From 187e32fa4e8f92796d75f2bd47efb464e4638aec Mon Sep 17 00:00:00 2001
+From a6d240cbda91d45efab6b2679fc28be54c1a5dff Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Mon, 2 Nov 2020 13:47:45 +0100
Subject: [PATCH 5/8] Fix libjpeg workaround for conflict with rpcndr.h
@@ -9,24 +9,16 @@ included before jmorecfg.h.
Change-Id: I011b7735485689c9797cffe2646c8c3d15d0645e
---
- src/plugins/imageformats/jpeg/qjpeghandler.cpp | 8 +-------
- 1 file changed, 1 insertion(+), 7 deletions(-)
+ src/plugins/imageformats/jpeg/qjpeghandler.cpp | 1 +
+ 1 file changed, 1 insertion(+)
diff --git a/src/plugins/imageformats/jpeg/qjpeghandler.cpp b/src/plugins/imageformats/jpeg/qjpeghandler.cpp
-index beef18f260..72708145f4 100644
+index a17afc0f69..72708145f4 100644
--- a/src/plugins/imageformats/jpeg/qjpeghandler.cpp
+++ b/src/plugins/imageformats/jpeg/qjpeghandler.cpp
-@@ -61,14 +61,8 @@
-
+@@ -62,6 +62,7 @@
// including jpeglib.h seems to be a little messy
extern "C" {
--// jpeglib.h->jmorecfg.h tries to typedef int boolean; but this conflicts with
--// some Windows headers that may or may not have been included
--#ifdef HAVE_BOOLEAN
--# undef HAVE_BOOLEAN
--#endif
--#define boolean jboolean
--
#define XMD_H // shut JPEGlib up
+#include <jconfig.h> // ensure jconfig.h is included before jmorecfg.h
#include <jpeglib.h>