File: python3.patch

package info (click to toggle)
pixelize 2.0.0~git20220108.d1f9da9-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 540 kB
  • sloc: ansic: 2,248; makefile: 50; python: 45
file content (23 lines) | stat: -rw-r--r-- 521 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Author: Andreas Tille <tille@debian.org>
Last-Update: Tue, 08 Mar 2022 08:21:05 +0100
Description: Python3

--- a/tools/glade2c
+++ b/tools/glade2c
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 
 import xml.dom.minidom
 import sys, getopt
--- a/Makefile
+++ b/Makefile
@@ -47,7 +47,7 @@ depend:	Makefile $(HDR_FILES) $(SRC_FILE
 	$(CC) -MM $(CFLAGS) $(SRC_FILES) > depend
 
 include/pixelize_model.h: glade/pixelize.glade
-	$(GLADE2C) -i $< -o $@
+	python3 $(GLADE2C) -i $< -o $@
 	clang-format -i $@
 
 clean: