summaryrefslogtreecommitdiff
path: root/openwrt/package
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-12-19 14:44:05 +0000
committerNicolas Thill <nico@openwrt.org>2005-12-19 14:44:05 +0000
commit322765354647d7ee41f058b2f60abefc478f325b (patch)
tree18bfc0738f3b3905174f023ac431b36496080691 /openwrt/package
parent67db924c697545ae3baba4c36806e3d5264352f0 (diff)
downloadmtk-20170518-322765354647d7ee41f058b2f60abefc478f325b.zip
mtk-20170518-322765354647d7ee41f058b2f60abefc478f325b.tar.gz
mtk-20170518-322765354647d7ee41f058b2f60abefc478f325b.tar.bz2
fix ipkg segfaults
SVN-Revision: 2732
Diffstat (limited to 'openwrt/package')
-rw-r--r--openwrt/package/busybox/patches/911-ipkg.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/busybox/patches/911-ipkg.patch b/openwrt/package/busybox/patches/911-ipkg.patch
index 66579e4..c9fc6b8 100644
--- a/openwrt/package/busybox/patches/911-ipkg.patch
+++ b/openwrt/package/busybox/patches/911-ipkg.patch
@@ -12791,7 +12791,7 @@ diff -ruN busybox-1.1.0-pre1-old/archival/libipkg/sprintf_alloc.h busybox-1.1.0-
+
+#include "libbb.h"
+
-+#define sprintf_alloc bb_xasprintf
++#define sprintf_alloc(str, fmt, args...) *str = bb_xasprintf(fmt, ## args)
+
+#endif
diff -ruN busybox-1.1.0-pre1-old/archival/libipkg/str_list.c busybox-1.1.0-pre1-new/archival/libipkg/str_list.c