summaryrefslogtreecommitdiffstats
path: root/meta/packages/ipkg/files
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/ipkg/files')
-rw-r--r--meta/packages/ipkg/files/terse.patch18
-rw-r--r--meta/packages/ipkg/files/uclibc.patch13
-rw-r--r--meta/packages/ipkg/files/uninclude-replace.patch10
3 files changed, 41 insertions, 0 deletions
diff --git a/meta/packages/ipkg/files/terse.patch b/meta/packages/ipkg/files/terse.patch
new file mode 100644
index 0000000000..3c4d6bed7e
--- /dev/null
+++ b/meta/packages/ipkg/files/terse.patch
@@ -0,0 +1,18 @@
1
2#
3# Patch managed by http://www.holgerschurig.de/patcher.html
4#
5
6--- C/ipkg_cmd.c~terse
7+++ C/ipkg_cmd.c
8@@ -148,9 +146,7 @@
9 int result;
10 p_userdata = userdata;
11 result = (cmd->fun)(conf, argc, argv);
12- if ( result == 0 ) {
13- ipkg_message(conf, IPKG_NOTICE, "Successfully terminated.\n");
14- } else {
15+ if ( result != 0 ) {
16 ipkg_message(conf, IPKG_NOTICE, "An error ocurred, return value: %d.\n", result);
17 }
18
diff --git a/meta/packages/ipkg/files/uclibc.patch b/meta/packages/ipkg/files/uclibc.patch
new file mode 100644
index 0000000000..d0d3a3ff7c
--- /dev/null
+++ b/meta/packages/ipkg/files/uclibc.patch
@@ -0,0 +1,13 @@
1Index: C/libbb/libbb.h
2===================================================================
3--- C.orig/libbb/libbb.h 2003-02-24 10:31:52.000000000 -0500
4+++ C/libbb/libbb.h 2005-01-20 03:07:10.031420944 -0500
5@@ -340,7 +340,7 @@
6 #define CONSOLE_DEV "/dev/console"
7
8 /* Cope with mmu-less systems somewhat gracefully */
9-#if defined(__UCLIBC__) && !defined(__UCLIBC_HAS_MMU__)
10+#if defined(__UCLIBC__) && !defined(__ARCH_HAS_MMU__)
11 #define fork vfork
12 #endif
13
diff --git a/meta/packages/ipkg/files/uninclude-replace.patch b/meta/packages/ipkg/files/uninclude-replace.patch
new file mode 100644
index 0000000000..a3ed2201fd
--- /dev/null
+++ b/meta/packages/ipkg/files/uninclude-replace.patch
@@ -0,0 +1,10 @@
1--- C/includes.h 2003-03-28 19:36:22.000000000 +0000
2+++ C/includes.h 2004-07-28 03:41:11.000000000 +0100
3@@ -48,6 +48,6 @@
4 # include <unistd.h>
5 #endif
6
7-#include "replace/replace.h"
8+//#include "replace/replace.h"
9
10 #endif