elfutils: remove obstack_printf patch
The musl-obstack lib now also provides obstack_printf().
This commit is contained in:
parent
ccbe8e9673
commit
425db0c65e
2 changed files with 1 additions and 25 deletions
|
@ -1,24 +0,0 @@
|
||||||
--- src/nm.c 2015-08-21 14:22:37.000000000 +0200
|
|
||||||
+++ src/nm.c 2015-11-20 07:31:20.508347429 +0100
|
|
||||||
@@ -46,6 +46,21 @@
|
|
||||||
#include <system.h>
|
|
||||||
#include "../libebl/libeblP.h"
|
|
||||||
|
|
||||||
+#if !defined(__GLIBC__)
|
|
||||||
+static int obstack_printf(struct obstack *obst, const char *fmt, ...)
|
|
||||||
+{
|
|
||||||
+ char buf[1024];
|
|
||||||
+ va_list ap;
|
|
||||||
+ int len;
|
|
||||||
+
|
|
||||||
+ va_start(ap, fmt);
|
|
||||||
+ len = vsnprintf(buf, sizeof(buf), fmt, ap);
|
|
||||||
+ obstack_grow(obst, buf, len);
|
|
||||||
+ va_end(ap);
|
|
||||||
+
|
|
||||||
+ return len;
|
|
||||||
+}
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
/* Name and version of program. */
|
|
||||||
static void print_version (FILE *stream, struct argp_state *state);
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'elfutils'
|
# Template file for 'elfutils'
|
||||||
pkgname=elfutils
|
pkgname=elfutils
|
||||||
version=0.167
|
version=0.167
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--program-prefix=eu-"
|
configure_args="--program-prefix=eu-"
|
||||||
hostmakedepends="automake libtool"
|
hostmakedepends="automake libtool"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue