mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-17 23:18:49 -04:00
app-emulation/skyeye fix
DON't EXPECT IT TO WORK. SKYEYE IS CRAP.
This commit is contained in:
parent
2f839cdffb
commit
ecf1aef25e
51
app-emulation/skyeye/files/skyeye-malloc.patch
Normal file
51
app-emulation/skyeye/files/skyeye-malloc.patch
Normal file
@ -0,0 +1,51 @@
|
||||
diff --git a/device/flash/skyeye_flash.c b/device/flash/skyeye_flash.c
|
||||
index 1834ec7..b5175d0 100644
|
||||
--- a/device/flash/skyeye_flash.c
|
||||
+++ b/device/flash/skyeye_flash.c
|
||||
@@ -23,6 +23,7 @@
|
||||
* 09/22/2005 initial version
|
||||
* walimis <wlm@student.dlut.edu.cn>
|
||||
*/
|
||||
+#include <stdlib.h>
|
||||
|
||||
#include "portable/portable.h"
|
||||
#include <sys/time.h>
|
||||
diff --git a/device/sound/skyeye_sound.c b/device/sound/skyeye_sound.c
|
||||
index 50163fc..2ceac2d 100644
|
||||
--- a/device/sound/skyeye_sound.c
|
||||
+++ b/device/sound/skyeye_sound.c
|
||||
@@ -21,7 +21,7 @@
|
||||
/*
|
||||
* 03/25/2007 initial version by Anthony Lee
|
||||
*/
|
||||
-
|
||||
+#include <stdlib.h>
|
||||
#include "skyeye_device.h"
|
||||
#include "skyeye_options.h"
|
||||
#include "skyeye.h"
|
||||
diff --git a/device/net/skyeye_net.c b/device/net/skyeye_net.c
|
||||
index 9ff7250..9e06e65 100644
|
||||
--- a/device/net/skyeye_net.c
|
||||
+++ b/device/net/skyeye_net.c
|
||||
@@ -23,7 +23,7 @@
|
||||
* 05/01/2005 initial version
|
||||
* walimis <wlm@student.dlut.edu.cn>
|
||||
*/
|
||||
-
|
||||
+#include <stdlib.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
diff --git a/device/touchscreen/skyeye_touchscreen.c b/device/touchscreen/skyeye_touchscreen.c
|
||||
index 3d75434..2af9500 100644
|
||||
--- a/device/touchscreen/skyeye_touchscreen.c
|
||||
+++ b/device/touchscreen/skyeye_touchscreen.c
|
||||
@@ -21,7 +21,7 @@
|
||||
/*
|
||||
* 03/19/2007 initial version by Anthony Lee
|
||||
*/
|
||||
-
|
||||
+#include <stdlib.h>
|
||||
#include "skyeye_device.h"
|
||||
#include "skyeye_options.h"
|
||||
#include "skyeye.h"
|
@ -4,21 +4,20 @@
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils
|
||||
inherit eutils libtool autotools
|
||||
|
||||
DESCRIPTION="an ARM embedded hardware simulator"
|
||||
HOMEPAGE="http://www.skyeye.org/"
|
||||
SRC_URI="http://skyeye.git.sourceforge.net/gitroot/${P}.tar.bz2"
|
||||
SRC_URI="http://gentoo-china-overlay.googlecode.com/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/glib:2
|
||||
media-libs/freetype
|
||||
=sys-devel/llvm-3.0*
|
||||
sys-libs/ncurses
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/pango"
|
||||
@ -27,7 +26,20 @@ DEPEND="${RDEPEND}
|
||||
|
||||
DOCS=( ChangeLog README TODO )
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-{iconv,arm,common,testsuite,utils,llvm}.patch
|
||||
pkg_setup(){
|
||||
eerror "The CODE QULITY of ${PN} is _TOTALLY_ _SHIT_ , don't report any bug to the maintainer, please flood the upstream."
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-{iconv,arm,common,testsuite,utils,llvm,malloc}.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure(){
|
||||
export CFLAGS="$CFLAGS -DPACKAGE=${PN} -DPACKAGE_VERSION=${PV}"
|
||||
econf
|
||||
}
|
||||
|
||||
pkg_postinst(){
|
||||
eerror "The CODE QULITY of ${PN} is _TOTALLY_ _SHIT_ , don't report any bug to the maintainer, please flood the upstream."
|
||||
}
|
||||
|
@ -12,7 +12,7 @@ EGIT_BRANCH="dyncom_arm_ppc"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86"
|
||||
KEYWORDS=""
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
|
Loading…
x
Reference in New Issue
Block a user