summaryrefslogtreecommitdiff
path: root/debian/patches/0011-test.patch
blob: d4d45902cf60fa1a246a75e52f8d0ed340865771 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Index: trunk/frontend/jpegtopdf.c
===================================================================
--- trunk.orig/frontend/jpegtopdf.c
+++ trunk/frontend/jpegtopdf.c
@@ -184,6 +184,7 @@ static SANE_Int _get_current_time( struc
 	SANE_Int		ret = SANE_ERR;
 	time_t			t;
 	long			tz;
+	long			timezone = 0;
 
 	if ( pt == NULL || sign_c == NULL || ptz_h == NULL || ptz_m == NULL ) {
 		goto EXIT;
@@ -201,7 +202,7 @@ static SANE_Int _get_current_time( struc
 		goto EXIT;
 	}
 	/* get time difference ( OHH'mm' ) */
-	tz = timezone;
+	tz = timezone; 
 	if ( tz > 0 ) {
 		*sign_c = '-';
 	}
Index: trunk/configure.ac
===================================================================
--- trunk.orig/configure.ac
+++ trunk/configure.ac
@@ -671,7 +671,7 @@ ALL_BACKENDS="abaton agfafocus apple art
         mustek_usb mustek_usb2 nec net niash pie pieusb pint \
         pixma plustek plustek_pp qcam ricoh ricoh2 rts8891 s9036 \
         sceptre sharp sm3600 sm3840 snapscan sp15c st400 \
-        stv680 tamarack teco1 teco2 teco3 test u12 umax
+        stv680 tamarack teco1 teco2 teco3 test u12 umax \
         umax_pp umax1220u v4l xerox_mfp p5"
 
 # If user specifies backends manually then cause configure