This commit is contained in:
parent
ecffa28d57
commit
d6bfce491b
@ -131,6 +131,7 @@ Patch1: scp2-user-config-suse.diff
|
||||
# FIXME: the right fix is to compile the help and produce the .db_, .ht_, and other files
|
||||
Patch2: nlpsolver-no-broken-help.diff
|
||||
Patch3: mediawiki-no-broken-help.diff
|
||||
Patch4: pdfium-optional.patch
|
||||
# PATCH-FIX-OPENSUSE boo#1186110 fix GCC 11 error
|
||||
Patch6: gcc11-fix-error.patch
|
||||
Patch9: fix_math_desktop_file.patch
|
||||
@ -1089,6 +1090,7 @@ Provides %{langname} translations and additional resources (help files, etc.) fo
|
||||
%endif # Leap 42/SLE-12
|
||||
%patch -P 2
|
||||
%patch -P 3
|
||||
%patch -P 4
|
||||
%patch -P 6 -p1
|
||||
%patch -P 9 -p1
|
||||
%if 0%{?suse_version} < 1500
|
||||
|
19
pdfium-optional.patch
Normal file
19
pdfium-optional.patch
Normal file
@ -0,0 +1,19 @@
|
||||
--- external/pdfium/annot.patch.1
|
||||
+++ external/pdfium/annot.patch.1
|
||||
@@ -2,7 +2,15 @@ diff --git a/fpdfsdk/fpdf_annot.cpp b/fpdfsdk/fpdf_annot.cpp
|
||||
index bc1f7f7eb..075baf1df 100644
|
||||
--- a/fpdfsdk/fpdf_annot.cpp
|
||||
+++ b/fpdfsdk/fpdf_annot.cpp
|
||||
-@@ -1366,6 +1366,42 @@ FPDFAnnot_GetFontSize(FPDF_FORMHANDLE hHandle,
|
||||
+@@ -5,6 +5,7 @@
|
||||
+ #include "public/fpdf_annot.h"
|
||||
+
|
||||
+ #include <memory>
|
||||
++#include <optional>
|
||||
+ #include <sstream>
|
||||
+ #include <utility>
|
||||
+ #include <vector>
|
||||
+@@ -1366,6 +1367,42 @@ FPDFAnnot_GetFontSize(FPDF_FORMHANDLE hHandle,
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user