[SCM] xboxdrv packaging branch, master, updated. debian/0.8.2-1-38-g3cd58b7

Andrey Rahmatullin wrar at wrar.name
Sat Jun 16 11:18:55 UTC 2012


The following commit has been merged in the master branch:
commit 1410c00323f5bfa25efa74e75322cbd9b9fb4ec2
Author: Andrey Rahmatullin <wrar at wrar.name>
Date:   Sat Jun 16 16:02:09 2012 +0600

    Use $PATH in scons to help ccache.

diff --git a/debian/patches/series b/debian/patches/series
index 32c23c9..acd31aa 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 fix-xboxdrv-manpage.patch
+use-PATH.patch
diff --git a/debian/patches/use-PATH.patch b/debian/patches/use-PATH.patch
new file mode 100644
index 0000000..9e7737d
--- /dev/null
+++ b/debian/patches/use-PATH.patch
@@ -0,0 +1,31 @@
+Description: Use $PATH from the environment in scons
+ scons clears the environment by default which means ccache is not used during
+ the package build.
+Author: Andrey Rahmatullin <wrar at wrar.name>
+Forwarded: no
+Last-Update: 2012-06-16
+
+diff --git a/SConstruct b/SConstruct
+index 71e95cf..e244302 100644
+--- a/SConstruct
++++ b/SConstruct
+@@ -1,5 +1,6 @@
+ # -*- python -*-
+ 
++import os
+ import subprocess
+ import string
+ import re
+@@ -70,7 +71,11 @@ def build_bin2h(target, source, env):
+ env = Environment(BUILDERS = {
+     'DBusGlue' : Builder(action = build_dbus_glue),
+     'Bin2H'    : Builder(action = build_bin2h)
+-    })
++    },
++    ENV = {
++    'PATH' : os.environ['PATH'],
++    },
++    )
+ 
+ opts = Variables(['custom.py'], ARGUMENTS)
+ 

-- 
xboxdrv packaging



More information about the Pkg-games-commits mailing list