aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qtopia/qpdf2/files/fix-sigsegv.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-qtopia/qpdf2/files/fix-sigsegv.patch')
-rw-r--r--recipes-qtopia/qpdf2/files/fix-sigsegv.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes-qtopia/qpdf2/files/fix-sigsegv.patch b/recipes-qtopia/qpdf2/files/fix-sigsegv.patch
new file mode 100644
index 0000000..33e9599
--- /dev/null
+++ b/recipes-qtopia/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 ( "" );