From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- recipes/skippy/files/event_base.patch | 11 ++++++++++ recipes/skippy/files/fix-makefile.patch | 37 +++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 recipes/skippy/files/event_base.patch create mode 100644 recipes/skippy/files/fix-makefile.patch (limited to 'recipes/skippy/files') diff --git a/recipes/skippy/files/event_base.patch b/recipes/skippy/files/event_base.patch new file mode 100644 index 0000000000..20632edf15 --- /dev/null +++ b/recipes/skippy/files/event_base.patch @@ -0,0 +1,11 @@ +--- skippy-xd-0.5.0/mainwin.c.old 2005-04-29 03:54:32 +01:00 ++++ skippy-xd-0.5.0/mainwin.c 2005-04-29 03:55:06 +01:00 +@@ -67,7 +67,7 @@ + XRenderPictureAttributes pa; + XRenderColor clear; + int error_base; +-#ifdef XINERAMA ++#if 1 + int event_base; + #endif /* XINERAMA */ + diff --git a/recipes/skippy/files/fix-makefile.patch b/recipes/skippy/files/fix-makefile.patch new file mode 100644 index 0000000000..843be52467 --- /dev/null +++ b/recipes/skippy/files/fix-makefile.patch @@ -0,0 +1,37 @@ +--- skippy-xd-0.5.0/Makefile.old 2005-04-29 03:42:33 +01:00 ++++ skippy-xd-0.5.0/Makefile 2005-04-29 03:45:21 +01:00 +@@ -1,17 +1,17 @@ +-PREFIX = /usr/local +-BINDIR = ${PREFIX}/bin ++#PREFIX = /usr ++#BINDIR = ${PREFIX}/bin + +-X11PREFIX = /usr/X11R6 ++#X11PREFIX = /usr/X11R6 + +-CFLAGS += -I${X11PREFIX}/include `pkg-config xft xrender xcomposite xdamage xfixes --cflags` -g -pedantic -Wall +-LDFLAGS += -L${X11PREFIX}/lib -lX11 -lm `pkg-config xft xrender xcomposite xdamage xfixes --libs` ++CFLAGS += `${PKG_CONFIG} xft xrender xcomposite xdamage xfixes --cflags` -Wall ++LDFLAGS += -lX11 -lm `${PKG_CONFIG} xft xrender xcomposite xdamage xfixes --libs` + + # Disable post-processing effects +-# CFLAGS += -DNOEFFECTS ++CFLAGS += -DNOEFFECTS + + # Comment these out to disable Xinerama support +-CFLAGS += -DXINERAMA +-LDFLAGS += -lXext -lXinerama ++#CFLAGS += -DXINERAMA ++#LDFLAGS += -lXext -lXinerama + + # Uncomment this for Xinerama debugging + #CFLAGS += -DDEBUG +@@ -24,7 +24,7 @@ + all: skippy-xd${EXESUFFIX} + + skippy-xd${EXESUFFIX}: Makefile ${SOURCES} ${HEADERS} +- gcc ${CFLAGS} -o skippy-xd${EXESUFFIX} ${SOURCES} ${LDFLAGS} ++ ${CC} ${CFLAGS} -o skippy-xd${EXESUFFIX} ${SOURCES} ${LDFLAGS} + + clean: + rm -f skippy-xd${EXESUFFIX} -- cgit v1.2.3