rpm/rpm-5.2.1-build-fix-arm.patch

12 lines
368 B
Diff
Raw Permalink Normal View History

--- rpm-5.2.1/file/src/softmagic.c.orig 2014-12-29 02:13:38.125162588 +0100
+++ rpm-5.2.1/file/src/softmagic.c 2014-12-29 02:11:59.901539763 +0100
@@ -33,7 +33,7 @@
#include "magic.h"
#include <string.h>
#if !(defined(HAVE_STRNDUP) && defined(__USE_GNU))
-char * strndup(const char *, size_t);
+//char * strndup(const char *, size_t);
#endif
#include <ctype.h>