elfutils: remove obstack_printf patch

The musl-obstack lib now also provides obstack_printf().
This commit is contained in:
Jürgen Buchmüller 2017-01-14 11:28:07 +01:00
parent ccbe8e9673
commit 425db0c65e
2 changed files with 1 additions and 25 deletions

View file

@ -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);

View file

@ -1,7 +1,7 @@
# Template file for 'elfutils'
pkgname=elfutils
version=0.167
revision=1
revision=2
build_style=gnu-configure
configure_args="--program-prefix=eu-"
hostmakedepends="automake libtool"