From 57238b9a7e2d4566d55fa18ed5dede68bbe1db40 Mon Sep 17 00:00:00 2001 From: mef Date: Tue, 7 Oct 2014 15:50:03 +0000 Subject: Sorry, removing left out patch. --- cross/avrdude/patches/patch-fileio_c | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 cross/avrdude/patches/patch-fileio_c (limited to 'cross') diff --git a/cross/avrdude/patches/patch-fileio_c b/cross/avrdude/patches/patch-fileio_c deleted file mode 100644 index dfce84232a4..00000000000 --- a/cross/avrdude/patches/patch-fileio_c +++ /dev/null @@ -1,24 +0,0 @@ -$NetBSD: patch-fileio_c,v 1.1 2013/12/06 07:27:15 mef Exp $ - -To fix the warning: - fileio.c:957:3: warning: implicit declaration of function 'elf_getshdrstrndx' - -in libelf-0.8.13, elf_getshdrstrndx is declared in libelf/libelf.h, so -that header file is to come first in if..elfif..endif clause. - ---- fileio.c~ 2013-10-06 18:37:49.000000000 +0900 -+++ fileio.c 2013-10-06 18:38:23.000000000 +0900 -@@ -29,10 +29,10 @@ - #include - - #ifdef HAVE_LIBELF --#ifdef HAVE_LIBELF_H --#include --#elif defined(HAVE_LIBELF_LIBELF_H) -+#ifdef HAVE_LIBELF_LIBELF_H - #include -+#elif defined(HAVE_LIBELF_H) -+#include - #endif - #define EM_AVR32 0x18ad /* inofficial */ - #endif -- cgit v1.2.3