Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Staging:N
inkscape
0005-fix-poppler-0.71.0-build.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0005-fix-poppler-0.71.0-build.patch of Package inkscape
From d047859d90cef3784e2d13e40887a70d8d517897 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Szczepaniak?= <szczepaniak.bartek@gmail.com> Date: Tue, 6 Nov 2018 07:41:40 +0000 Subject: [PATCH] fix poppler 0.71.0 build. --- src/extension/internal/pdfinput/poppler-transition-api.h | 6 ++++++ 1 file changed, 6 insertions(+) #diff --git a/src/extension/internal/pdfinput/poppler-transition-api.h b/src/extension/internal/pdfinput/poppler-transition-api.h #index 6ed911b04b..4437052593 100644 #--- a/src/extension/internal/pdfinput/poppler-transition-api.h #+++ b/src/extension/internal/pdfinput/poppler-transition-api.h #@@ -3,6 +3,12 @@ # # #include <glib/poppler-features.h> # #+#if POPPLER_CHECK_VERSION(0,71,0) #+typedef bool GBool; #+#define gTrue true #+#define gFalse false #+#endif #+ # #if POPPLER_CHECK_VERSION(0,70,0) # #define _POPPLER_CONST const # #else diff --git a/src/extension/internal/pdfinput/pdf-parser.h b/src/extension/internal/pdfinput/pdf-parser.h index 6ed911b04b..4437052593 100644 --- a/src/extension/internal/pdfinput/pdf-parser.h +++ b/src/extension/internal/pdfinput/pdf-parser.h @@ -21,6 +21,15 @@ } } } +#if POPPLER_CHECK_VERSION(0,71,0) +typedef bool GBool; +#define gTrue true +#define gFalse false +#endif +#if POPPLER_CHECK_VERSION(0, 72, 0) +#define getCString c_str +#endif + // TODO clean up and remove using: using Inkscape::Extension::Internal::SvgBuilder; -- 2.22.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