File: 0002-qpdf-needs-at-least-c-17.patch

package info (click to toggle)
cups-filters 1.28.17-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,592 kB
  • sloc: ansic: 54,531; cpp: 7,037; sh: 1,911; makefile: 964; xml: 127; perl: 73; php: 28; python: 8
file content (23 lines) | stat: -rw-r--r-- 661 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Thorsten Alteholz <debian@alteholz.de>
Date: Fri, 10 Mar 2023 19:48:12 +0100
Subject: qpdf needs at least c++17

---
 Makefile.am | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 47a13bc..9f8c799 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -528,7 +528,9 @@ pdftopdf_SOURCES = \
 pdftopdf_CFLAGS = \
 	$(LIBQPDF_CFLAGS) \
 	$(CUPS_CFLAGS)
-pdftopdf_CXXFLAGS = -std=c++0x $(pdftopdf_CFLAGS)   # -std=c++11
+# qpdf now needs at least c++17
+#pdftopdf_CXXFLAGS = -std=c++0x $(pdftopdf_CFLAGS)   # -std=c++11
+pdftopdf_CXXFLAGS = $(pdftopdf_CFLAGS)
 pdftopdf_LDADD = \
 	$(LIBQPDF_LIBS) \
 	$(CUPS_LIBS)