summaryrefslogtreecommitdiff
path: root/package/busybox/patches/914-ipkg-fixes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox/patches/914-ipkg-fixes.patch')
-rw-r--r--package/busybox/patches/914-ipkg-fixes.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/busybox/patches/914-ipkg-fixes.patch b/package/busybox/patches/914-ipkg-fixes.patch
new file mode 100644
index 0000000..72375bc
--- /dev/null
+++ b/package/busybox/patches/914-ipkg-fixes.patch
@@ -0,0 +1,19 @@
+# Copyright (C) 2006 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+# fix ipkg bugs
+#
+diff -ruN busybox-1.1.2+ipkg-0.99.162-no_warnings/archival/libipkg/pkg.c busybox-1.1.2+ipkg-0.99.162-fixes/archival/libipkg/pkg.c
+--- busybox-1.1.2+ipkg-0.99.162-no_warnings/archival/libipkg/pkg.c 2006-05-09 02:16:48.000000000 +0200
++++ busybox-1.1.2+ipkg-0.99.162-fixes/archival/libipkg/pkg.c 2006-05-09 05:15:29.000000000 +0200
+@@ -359,6 +359,8 @@
+ if (!oldpkg->essential)
+ oldpkg->essential = newpkg->essential;
+
++ oldpkg->provided_by_hand |= newpkg->provided_by_hand;
++
+ return 0;
+ }
+