[arch-commits] Commit in pingus/trunk (PKGBUILD scons-python3.patch)
Antonio Rojas
arojas at archlinux.org
Sat Jul 27 08:37:02 UTC 2019
Date: Saturday, July 27, 2019 @ 08:37:02
Author: arojas
Revision: 493079
Fix build with python3 scons
Added:
pingus/trunk/scons-python3.patch
Modified:
pingus/trunk/PKGBUILD
---------------------+
PKGBUILD | 8 ++++++--
scons-python3.patch | 19 +++++++++++++++++++
2 files changed, 25 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-07-27 08:24:56 UTC (rev 493078)
+++ PKGBUILD 2019-07-27 08:37:02 UTC (rev 493079)
@@ -13,12 +13,14 @@
'pingus.desktop'
'pingus-0.7.6-gcc470-udl.patch'
'missing-header.patch'
- 'pingus-boost-1.69.patch')
+ 'pingus-boost-1.69.patch'
+ scons-python3.patch)
sha512sums=('ea0e7fd2cc1f6c23e62e222dffa1eb4764313ccecd716083c516fa4720c19562c9940da1dae4cbc527b85de9c0094f482e4f907212226b39ad044222b477769b'
'6c2a8da1bcb250217c47d70ad223c02cf12879bab201433e76bf98f5693886ab0d96da295a795bfefe1723596011d41ff615c2262a277414234b88c8e35c64c8'
'a6d541fc8417e49540f7760d707652d348ff46701e0d9d3df0463b1dfaca9c9781686ac1683b49bceebaca22cd9680652aaf1a65f3834f4e01cca41a002408ce'
'd2e04c4291c18f1b9d351137bd2143881f4bb5591baeb3c5866b05cbf06db7e6552aac6d00d1ac055e8624bfa4b312e3f5a58d7f29ceefd0dcf0c32ed24e7971'
- '31b0c3a3c309d9f25558ab49ebffc9e9f75acf804c84374ac455476017d0ba280a73f0e347fd7b9304264ca532e3992cae841b1b0c62fd0b9eb49e7d0eb4a738')
+ '31b0c3a3c309d9f25558ab49ebffc9e9f75acf804c84374ac455476017d0ba280a73f0e347fd7b9304264ca532e3992cae841b1b0c62fd0b9eb49e7d0eb4a738'
+ '47af4a5b46ccb1ede6b87bd46d62d115beb42461e0cfdb476f8bf002f83fd659f0e6fdcce56acb6a551f842e6f895ec70149da1f9d2569c02033a0a05d2aa21e')
build() {
cd ${pkgname}-${pkgver}
@@ -32,6 +34,8 @@
patch -Np1 -i ../missing-header.patch
# fix build with boost 1.69
patch -p0 -i ../pingus-boost-1.69.patch
+ # fix build with python3-scons
+ patch -p1 -i ../scons-python3.patch
scons prefix=/usr
}
Added: scons-python3.patch
===================================================================
--- scons-python3.patch (rev 0)
+++ scons-python3.patch 2019-07-27 08:37:02 UTC (rev 493079)
@@ -0,0 +1,19 @@
+--- pingus-0.7.6/SConscript.orig 2019-07-27 08:28:23.143619494 +0000
++++ pingus-0.7.6/SConscript 2019-07-27 08:29:35.844531921 +0000
+@@ -126,12 +126,12 @@
+ def configure_end(self):
+ self.env = self.conf.Finish()
+
+- print "Reports:"
+- print self.reports
++ print ("Reports:")
++ print (self.reports)
+
+ if not self.fatal_error == "":
+- print "Fatal Errors:"
+- print self.fatal_error
++ print ("Fatal Errors:")
++ print (self.fatal_error)
+ Exit(1)
+
+ def configure_gxx(self):
More information about the arch-commits
mailing list