fix busybox+ipkg build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2733 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
9328c9c029
commit
3ba9bce0b5
|
@ -427,14 +427,3 @@ diff -ruN busybox-1.1.0-pre1-old/archival/libipkg/pkg_vec.h busybox-1.1.0-pre1-n
|
|||
|
||||
pkg_vec_t * pkg_vec_alloc(void);
|
||||
void pkg_vec_free(pkg_vec_t *vec);
|
||||
diff -ruN busybox-1.1.0-pre1-old/archival/libipkg/sprintf_alloc.h busybox-1.1.0-pre1-new/archival/libipkg/sprintf_alloc.h
|
||||
--- busybox-1.1.0-pre1-old/archival/libipkg/sprintf_alloc.h 2005-12-08 09:01:04.000000000 +0100
|
||||
+++ busybox-1.1.0-pre1-new/archival/libipkg/sprintf_alloc.h 2005-12-08 09:04:20.000000000 +0100
|
||||
@@ -20,6 +20,6 @@
|
||||
|
||||
#include "libbb.h"
|
||||
|
||||
-#define sprintf_alloc bb_xasprintf
|
||||
+#define sprintf_alloc(format, ...) bb_xasprintf((const char *)format, __VA_ARGS__)
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue