X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/e695162bd56afa8b251fa05c321019d021411894..68be7a01fc422f7acd85bdb5d821e02b862547ce:/openwrt/package/busybox/patches/911-ipkg.patch diff --git a/openwrt/package/busybox/patches/911-ipkg.patch b/openwrt/package/busybox/patches/911-ipkg.patch index 66579e4fc..c9fc6b8b6 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