summaryrefslogtreecommitdiffstats
path: root/games/fceux/fceux-r2668.patch
blob: 8209efd94129a1ca13638cf156527db4441b6f95 (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
diff -Naur fceur2668.orig/SConstruct fceur2668/SConstruct
--- fceur2668.orig/SConstruct	2012-09-11 11:58:00.000000000 +0200
+++ fceur2668/SConstruct	2012-09-17 11:11:09.082042995 +0200
@@ -19,7 +19,7 @@
   BoolVariable('LUA',       'Enable Lua support', 1),
   BoolVariable('NEWPPU',    'Enable new PPU core', 1),
   BoolVariable('CREATE_AVI', 'Enable avi creation support (SDL only)', 1),
-  BoolVariable('LOGO', 'Enable a logoscreen when creating avis (SDL only)', '1'),
+  BoolVariable('LOGO', 'Enable a logoscreen when creating avis (SDL only)', '0'),
   BoolVariable('GTK', 'Enable GTK2 GUI (SDL only)', 1),
   BoolVariable('GTK3', 'Enable GTK3 GUI (SDL only)', 0),
   BoolVariable('CLANG', 'Compile with llvm-clang instead of gcc', 0)
@@ -30,8 +30,8 @@
 env = Environment(options = opts)
 
 #### Uncomment this for a public release ###
-# env.Append(CPPDEFINES=["PUBLIC_RELEASE"])
-# env['DEBUG'] = 0
+env.Append(CPPDEFINES=["PUBLIC_RELEASE"])
+env['DEBUG'] = 0
 ############################################
 
 # LSB_FIRST must be off for PPC to compile
@@ -97,6 +97,7 @@
     env.ParseConfig('pkg-config --cflags --libs gtk+-3.0')
     env.Append(CPPDEFINES=["_GTK3"])
     env.Append(CCFLAGS = ["-D_GTK"])
+  env.Append(LIBS =["-lz","-ldl"])
 
   ### Lua platform defines
   ### Applies to all files even though only lua needs it, but should be ok