From: nico Date: Mon, 19 Dec 2005 14:44:05 +0000 (+0000) Subject: fix ipkg segfaults X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=commitdiff_plain;h=a159d26703db44f628fc5a2cb50ad0e73e229bba fix ipkg segfaults git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2732 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/busybox/patches/911-ipkg.patch b/package/busybox/patches/911-ipkg.patch index 66579e4fc..c9fc6b8b6 100644 --- a/package/busybox/patches/911-ipkg.patch +++ b/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