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/gpm/gpm-1.20.1/configure.patch | 35 +++++++++++++++++++++++ recipes/gpm/gpm-1.20.1/gpm-OPEN_MAX.patch | 46 +++++++++++++++++++++++++++++++ recipes/gpm/gpm-1.20.1/init | 32 +++++++++++++++++++++ recipes/gpm/gpm-1.20.1/no-docs.patch | 16 +++++++++++ recipes/gpm/gpm_1.20.1.bb | 38 +++++++++++++++++++++++++ 5 files changed, 167 insertions(+) create mode 100644 recipes/gpm/gpm-1.20.1/configure.patch create mode 100644 recipes/gpm/gpm-1.20.1/gpm-OPEN_MAX.patch create mode 100644 recipes/gpm/gpm-1.20.1/init create mode 100644 recipes/gpm/gpm-1.20.1/no-docs.patch create mode 100644 recipes/gpm/gpm_1.20.1.bb (limited to 'recipes/gpm') diff --git a/recipes/gpm/gpm-1.20.1/configure.patch b/recipes/gpm/gpm-1.20.1/configure.patch new file mode 100644 index 0000000000..8088fba8cc --- /dev/null +++ b/recipes/gpm/gpm-1.20.1/configure.patch @@ -0,0 +1,35 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- gpm-1.20.1/./configure.in~configure ++++ gpm-1.20.1/./configure.in +@@ -3,8 +3,9 @@ + dnl Process this file with autoconf to produce a configure script. + dnl written jan/1997 - T.E.Dickey + +-AC_INIT(src/gpm.c) +-AC_PREREQ(2.12) ++AC_INIT ++AC_CONFIG_SRCDIR([src/gpm.c]) ++AC_PREREQ(2.57) + AC_CONFIG_HEADER(src/headers/config.h) + + release=1.20.1 +@@ -82,7 +83,7 @@ + fi + + ITZ_SYS_ELF +-if test ${itz_cv_sys_elf} = yes && test x${ac_cv_prog_gcc} = xyes ; then ++if test ${itz_cv_sys_elf} = yes && test x${ac_cv_c_compiler_gnu} = xyes ; then + SHLIB=libgpm.so + else + SHLIB= +@@ -132,4 +133,5 @@ + + dnl AC_DEFINE_UNQUOTED(SYSCONFDIR,"$sysconfdir") + dnl AC_DEFINE_UNQUOTED(SBINDIR,"$sbindir") +-AC_OUTPUT(Makefile.include Makefile doc/Makefile src/Makefile contrib/Makefile doc/doc.gpm) ++AC_CONFIG_FILES([Makefile.include Makefile doc/Makefile src/Makefile contrib/Makefile doc/doc.gpm]) ++AC_OUTPUT diff --git a/recipes/gpm/gpm-1.20.1/gpm-OPEN_MAX.patch b/recipes/gpm/gpm-1.20.1/gpm-OPEN_MAX.patch new file mode 100644 index 0000000000..6fa86e1168 --- /dev/null +++ b/recipes/gpm/gpm-1.20.1/gpm-OPEN_MAX.patch @@ -0,0 +1,46 @@ +Index: gpm-1.20.1/src/prog/gpm-root.y +=================================================================== +--- gpm-1.20.1.orig/src/prog/gpm-root.y ++++ gpm-1.20.1/src/prog/gpm-root.y +@@ -44,7 +44,6 @@ + #include /* fstat() */ + #include /* uname() */ + #include /* winsize */ +-#include /* OPEN_MAX */ + #include /* VT_ACTIVATE */ + #include /* K_SHIFT */ + #include +@@ -525,7 +524,9 @@ int f_bgcmd(int mode, DrawItem *self, in + open("/dev/null",O_RDONLY); /* stdin */ + open(consolename,O_WRONLY); /* stdout */ + dup(1); /* stderr */ +- for (i=3;iarg,(char *)NULL); + exit(1); /* shouldn't happen */ + default: return 0; +Index: gpm-1.20.1/src/special.c +=================================================================== +--- gpm-1.20.1.orig/src/special.c ++++ gpm-1.20.1/src/special.c +@@ -25,7 +25,6 @@ + + /* This file is compiled conditionally, see the Makefile */ + +-#include /* for OPEN_MAX */ + #include + #include + #include +@@ -155,7 +154,9 @@ int processSpecial(Gpm_Event *event) + open(GPM_NULL_DEV,O_RDONLY); /* stdin */ + open(option.consolename,O_WRONLY); /* stdout */ + dup(1); /* stderr */ +- for (i=3;i