summaryrefslogtreecommitdiff
path: root/packages/qpdf2/files/fix-sigsegv.patch
blob: 33e9599d1c97c6aca8996314702da99f88cc26d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 ( "" );