summaryrefslogtreecommitdiff
path: root/package/busybox/patches/914-ipkg-fixes.patch
blob: 72375bc5b7e866e5ae4bf0f54430fbd7fe79ceb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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;
 }