summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-action/rafkill/files')
-rw-r--r--games-action/rafkill/files/digest-rafkill-1.2.33
-rw-r--r--games-action/rafkill/files/rafkill-1.2.3-build.patch16
2 files changed, 19 insertions, 0 deletions
diff --git a/games-action/rafkill/files/digest-rafkill-1.2.3 b/games-action/rafkill/files/digest-rafkill-1.2.3
new file mode 100644
index 000000000000..0fa5cf489fe0
--- /dev/null
+++ b/games-action/rafkill/files/digest-rafkill-1.2.3
@@ -0,0 +1,3 @@
+MD5 1fc57e141e815a1128ceb49c587e6024 rafkill-1.2.3.tar.gz 6221729
+RMD160 2d0388e84c20a649618669bbfe5a2397521871b2 rafkill-1.2.3.tar.gz 6221729
+SHA256 7d43026b33b63b2b01ea2d0169653749e6f8404b30ba5a2701e797bb16d0a63a rafkill-1.2.3.tar.gz 6221729
diff --git a/games-action/rafkill/files/rafkill-1.2.3-build.patch b/games-action/rafkill/files/rafkill-1.2.3-build.patch
new file mode 100644
index 000000000000..f894c8ce9c10
--- /dev/null
+++ b/games-action/rafkill/files/rafkill-1.2.3-build.patch
@@ -0,0 +1,16 @@
+--- SConstruct
++++ SConstruct
+@@ -46,7 +46,12 @@
+ # print "Install directory = $prefix"
+ # print "Directory where symlinked binary will go = $bin"
+
+-flags = [ '-g3', '-Wall', '-fno-rtti', '-Woverloaded-virtual', '-O2', '-DINSTALL_DIR=\\\"$prefix\\\"' ];
++SConsignFile()
++env.Replace(CXX = os.environ['CXX'])
++if os.environ.get('CXXFLAGS'):
++ env.Replace(CPPFLAGS = os.environ['CXXFLAGS'])
++
++flags = [ '-Wall', '-fno-rtti', '-Woverloaded-virtual' ];
+ env.Append( CCFLAGS = flags, CPPPATH = [ "build" ] )
+
+ # SConscript( 'src/SConscript', build_dir='build', exports = 'env' );