summaryrefslogtreecommitdiff
path: root/debian/patches/0055-Fix_build_error.patch
blob: 38166924dc4d7cb37d5a9205ee40f19bf506aaec (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
35
36
Description: Fix build error
Author: Jörg Frings-Fürst <debian@jff.email>
Forwarded: not-needed
Last-Update: 2020-08-28
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
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