summaryrefslogtreecommitdiff
path: root/debian/patches/0055-Fix_build_error.patch
blob: e947300493cbdc5d810e5401e6a35d9f5df78bae (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
Index: trunk/po/POTFILES.in
===================================================================
--- trunk.orig/po/POTFILES.in
+++ trunk/po/POTFILES.in
@@ -65,7 +65,7 @@ backend/p5.c
 backend/p5.h
 backend/p5_device.c
 backend/pixma/pixma.c
-backend/pixma/pixma_sane_options.c
+#backend/pixma/pixma_sane_options.c
 backend/plustek.c
 backend/plustek_pp.c
 backend/pnm.c
Index: trunk/backend/Makefile.am
===================================================================
--- trunk.orig/backend/Makefile.am
+++ trunk/backend/Makefile.am
@@ -947,10 +947,10 @@ $(srcdir)/pixma/pixma.c: \
 
 $(srcdir)/pixma/pixma_sane_options.h:
 	@echo Generating $@ from $(@D)/pixma.c
-	@(cd $(@D); python scripts/pixma_gen_options.py h < pixma.c > $(@F))
+	@(cd $(@D); python3 scripts/pixma_gen_options.py h < pixma.c > $(@F))
 $(srcdir)/pixma/pixma_sane_options.c:
 	@echo Generating $@ from $(@D)/pixma.c
-	@(cd $(@D); python scripts/pixma_gen_options.py   < pixma.c > $(@F))
+	@(cd $(@D); python3 scripts/pixma_gen_options.py   < pixma.c > $(@F))
 
 EXTRA_DIST += pixma/pixma_sane_options.c
 EXTRA_DIST += pixma/pixma_sane_options.h