Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:alesar1:mingw-w64
mingw-w64-qt6-base
0005-Fix-libjpeg-workaround-for-conflict-with-r...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0005-Fix-libjpeg-workaround-for-conflict-with-rpcndr.h.patch of Package mingw-w64-qt6-base
From 4819b1a1a2216cb11ebc847e1aec4f7b2587386b Mon Sep 17 00:00:00 2001 From: Martchus <martchus@gmx.net> Date: Mon, 2 Nov 2020 13:47:45 +0100 Subject: [PATCH 05/17] Fix libjpeg workaround for conflict with rpcndr.h Otherwise it won't compile against mingw-w64-libjpeg-turbo. This version of libjpeg seems to take care of the conflict already as long as jconfig.h is included before jmorecfg.h. Change-Id: I011b7735485689c9797cffe2646c8c3d15d0645e --- 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 6bc7712c617..db5500d99ea 100644 --- a/src/plugins/imageformats/jpeg/qjpeghandler.cpp +++ b/src/plugins/imageformats/jpeg/qjpeghandler.cpp @@ -26,6 +26,7 @@ // including jpeglib.h seems to be a little messy extern "C" { #define XMD_H // shut JPEGlib up +#include <jconfig.h> // ensure jconfig.h is included before jmorecfg.h #include <jpeglib.h> #ifdef const # undef const // remove crazy C hackery in jconfig.h -- 2.44.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor