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/libcap/libcap-1.10/make.patch | 20 ++++++++++++++++++++ recipes/libcap/libcap-1.10/makenames.patch | 13 +++++++++++++ recipes/libcap/libcap-1.10/syscall.patch | 20 ++++++++++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 recipes/libcap/libcap-1.10/make.patch create mode 100644 recipes/libcap/libcap-1.10/makenames.patch create mode 100644 recipes/libcap/libcap-1.10/syscall.patch (limited to 'recipes/libcap/libcap-1.10') diff --git a/recipes/libcap/libcap-1.10/make.patch b/recipes/libcap/libcap-1.10/make.patch new file mode 100644 index 0000000000..5788099f08 --- /dev/null +++ b/recipes/libcap/libcap-1.10/make.patch @@ -0,0 +1,20 @@ +Index: libcap-1.10.orig/Make.Rules +=================================================================== +--- libcap-1.10.orig.orig/Make.Rules 1999-11-18 07:06:02.000000000 +0100 ++++ libcap-1.10.orig/Make.Rules 2006-03-20 23:05:56.083854920 +0100 +@@ -41,15 +41,11 @@ + + # Compilation specifics + +-CC=gcc +-COPTFLAGS=-O2 + DEBUG=-g #-DDEBUG + WARNINGS=-ansi -D_POSIX_SOURCE -Wall -Wwrite-strings \ + -Wpointer-arith -Wcast-qual -Wcast-align \ + -Wtraditional -Wstrict-prototypes -Wmissing-prototypes \ + -Wnested-externs -Winline -Wshadow -pedantic +-LD=ld +-LDFLAGS=-s #-g + + IPATH=-I$(topdir)/libcap/include + INCS=$(topdir)/libcap/include/sys/capability.h diff --git a/recipes/libcap/libcap-1.10/makenames.patch b/recipes/libcap/libcap-1.10/makenames.patch new file mode 100644 index 0000000000..445f2116ec --- /dev/null +++ b/recipes/libcap/libcap-1.10/makenames.patch @@ -0,0 +1,13 @@ +Index: libcap-1.10.orig/libcap/Makefile +=================================================================== +--- libcap-1.10.orig.orig/libcap/Makefile 2006-03-20 23:11:05.696786600 +0100 ++++ libcap-1.10.orig/libcap/Makefile 2006-03-20 23:14:29.527799576 +0100 +@@ -45,7 +45,7 @@ + all: $(MINLIBNAME) + + _makenames: _makenames.c cap_names.sed +- $(CC) $(CFLAGS) $(LDFLAGS) $< -o $@ ++ $(BUILD_CC) $(BUILD_CFLAGS) $(BUILD_LDFLAGS) $< -o $@ + + cap_names.h: _makenames + ./_makenames > cap_names.h diff --git a/recipes/libcap/libcap-1.10/syscall.patch b/recipes/libcap/libcap-1.10/syscall.patch new file mode 100644 index 0000000000..86163f2b1a --- /dev/null +++ b/recipes/libcap/libcap-1.10/syscall.patch @@ -0,0 +1,20 @@ +Index: libcap-1.10/libcap/cap_sys.c +=================================================================== +--- libcap-1.10.orig/libcap/cap_sys.c 2007-05-24 10:59:24.000000000 +0200 ++++ libcap-1.10/libcap/cap_sys.c 2007-05-24 11:01:42.000000000 +0200 +@@ -11,6 +11,7 @@ + #define __LIBRARY__ + #include + ++#if 0 + _syscall2(int, capget, + cap_user_header_t, header, + cap_user_data_t, data) +@@ -18,6 +19,7 @@ + _syscall2(int, capset, + cap_user_header_t, header, + const cap_user_data_t, data) ++#endif + + /* + * $Log: cap_sys.c,v $ -- cgit 1.2.3-korg