mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-10 17:22:29 +02:00
45c7419a4f
fix a bug in ipkg that would prevent it from installing local packages if at least a remote package with the same name is available. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3742 3c298f89-4303-0410-b956-a3cf2f4a3e73
16 lines
528 B
Diff
16 lines
528 B
Diff
#
|
|
# 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;
|
|
}
|
|
|