summaryrefslogtreecommitdiff
path: root/packages/qpdf2/files/fix-sigsegv.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/qpdf2/files/fix-sigsegv.patch')
-rw-r--r--packages/qpdf2/files/fix-sigsegv.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/qpdf2/files/fix-sigsegv.patch b/packages/qpdf2/files/fix-sigsegv.patch
index e69de29bb2..33e9599d1c 100644
--- a/packages/qpdf2/files/fix-sigsegv.patch
+++ b/packages/qpdf2/files/fix-sigsegv.patch
@@ -0,0 +1,22 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- qpdf2_2.2.1/qpdf.cpp~fix-sigsegv
++++ qpdf2_2.2.1/qpdf.cpp
+@@ -42,10 +42,10 @@
+ {
+ QPEApplication app ( argc, argv );
+
+- if (argc >= 1
+- && strcmp(argv[1],"-d") == 0) {
+- qpdf_debug_level = atoi(argv[2]);
+- }
++// if (argc >= 1
++// && strcmp(argv[1],"-d") == 0) {
++// qpdf_debug_level = atoi(argv[2]);
++// }
+
+ // read config file
+ globalParams = new GlobalParams ( "" );