Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=interim.git;a=commitdiff;h=0cc7f5babfb60fbce51d144b78c0a294582a9e05
commit 0cc7f5babfb60fbce51d144b78c0a294582a9e05
Author: Devil505 <[EMAIL PROTECTED]>
Date: Tue May 13 21:25:34 2008 +0200
gens-2.12b-1-i686
* new package
* closed request FS#2162
* added patch for gcc4
diff --git a/source/games-extra/gens/FrugalBuild
b/source/games-extra/gens/FrugalBuild
new file mode 100644
index 0000000..b562220
--- /dev/null
+++ b/source/games-extra/gens/FrugalBuild
@@ -0,0 +1,31 @@
+# Compiling Time: 0.14 SBU
+# Maintainer: Devil505 <[EMAIL PROTECTED]>
+
+pkgname=gens
+pkgver=2.12b
+pkgrel=1
+pkgdesc="An emulator for multiple Sega videogamesystems such as the Genesis,
Master System, Sega CD and 32X."
+depends=('sdl' 'gtk+2' 'freetype2' 'libxau' 'libxdmcp' 'libxdamage' 'libxext'
'libxml2')
+makedepends=('nasm')
+options=('scriptlet')
+Finclude sourceforge
+groups=('games-extra')
+archs=('i686')
+up2date="lynx -dump
http://sourceforge.net/project/showfiles.php?group_id=73619 | sed
's/rc3/2.12b/g' | Flasttar"
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-rc3.tar.gz
$pkgname-$pkgver-gcc4.patch)
+_F_cd_path="GensForLinux"
+sha1sums=('6057564665007686c9ea8df364be3220499f9917' \
+ '9b42f4ee97303716c4a2574242b0137630311d9c')
+
+_F_desktop_name="Gens"
+_F_desktop_desc="Sega Genesis Emulator"
+_F_desktop_icon="/usr/share/gens/gens_small.png"
+_F_desktop_categories="Application;Game"
+
+build()
+{
+ Fbuild
+ Fdesktop2
+}
+
+# optimization OK
diff --git a/source/games-extra/gens/gens-2.12b-gcc4.patch
b/source/games-extra/gens/gens-2.12b-gcc4.patch
new file mode 100644
index 0000000..88cf9b0
--- /dev/null
+++ b/source/games-extra/gens/gens-2.12b-gcc4.patch
@@ -0,0 +1,37 @@
+diff --git a/src/gens/emulator/g_main.c b/src/gens/emulator/g_main.c
+index 1c9f4f5..3ac13eb 100644
+--- a/src/gens/emulator/g_main.c
++++ b/src/gens/emulator/g_main.c
+@@ -5,6 +5,7 @@
+ #include <sys/stat.h>
+ #include <stdlib.h>
+ #include <stdio.h>
++#include <string.h>
+ #include "g_main.h"
+ #include "timer.h"
+ #include "gens.h"
+diff --git a/src/gens/emulator/g_main.h b/src/gens/emulator/g_main.h
+index c7ea4b2..9090766 100644
+--- a/src/gens/emulator/g_main.h
++++ b/src/gens/emulator/g_main.h
+@@ -36,6 +36,8 @@ extern char **language_name;
+ extern unsigned char Keys[];
+ extern unsigned char joystate[];
+
++static int Build_Language_String (void);
++
+ void SetWindowText(const char *text);
+
+ int Set_Render(int Full, int Num, int Force);
+diff --git a/src/gens/emulator/parse.c b/src/gens/emulator/parse.c
+index 5bece4a..67f8b49 100644
+--- a/src/gens/emulator/parse.c
++++ b/src/gens/emulator/parse.c
+@@ -1,6 +1,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <getopt.h>
++#include <string.h>
+ #include "port.h"
+ #include "save.h"
+ #include "cpu_68k.h"
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git