diff options
author | mef <mef@pkgsrc.org> | 2017-01-29 05:19:31 +0000 |
---|---|---|
committer | mef <mef@pkgsrc.org> | 2017-01-29 05:19:31 +0000 |
commit | 779559fd4307c30f2c515c782001d469045917c6 (patch) | |
tree | 23ea6e75673fcfb2858e72dfc5a9763c674097e1 /cross | |
parent | 0ae2aac1f12ed9cb43912f9535681caba180728d (diff) | |
download | pkgsrc-779559fd4307c30f2c515c782001d469045917c6.tar.gz |
- Drops two patches patches/patch-bfd_bfd-in2_h patches/patch-opcodes_configure
Diffstat (limited to 'cross')
-rw-r--r-- | cross/avr-gdb/patches/patch-bfd_bfd-in2_h | 27 | ||||
-rw-r--r-- | cross/avr-gdb/patches/patch-opcodes_configure | 24 |
2 files changed, 0 insertions, 51 deletions
diff --git a/cross/avr-gdb/patches/patch-bfd_bfd-in2_h b/cross/avr-gdb/patches/patch-bfd_bfd-in2_h deleted file mode 100644 index 36df7473909..00000000000 --- a/cross/avr-gdb/patches/patch-bfd_bfd-in2_h +++ /dev/null @@ -1,27 +0,0 @@ -$NetBSD: patch-bfd_bfd-in2_h,v 1.2 2014/08/29 06:43:32 mef Exp $ - -Avoid following problem by clang-3.2 ----------------- -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I. -I./../include -DHAVE_bfd_elf32_avr_vec -DHAVE_bfd_elf32_little_generic_vec -DHAVE_bfd_elf32_big_generic_vec -I./../intl -DBINDIR=\"/usr/pkg/bin\" -I/usr/include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -O2 -I/usr/include -MT opncls.lo -MD -MP -MF .deps/opncls.Tpo -c opncls.c -o opncls.o -opncls.c:263:5: error: expression result unused [-Werror,-Wunused-value] - bfd_set_cacheable (nbfd, TRUE); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./bfd.h:529:67: note: expanded from macro 'bfd_set_cacheable' -#define bfd_set_cacheable(abfd,bool) (((abfd)->cacheable = bool), TRUE) - ^~~~ -./bfd.h:134:14: note: expanded from macro 'TRUE' -#define TRUE 1 - ^ -1 error generated. - ---- bfd/bfd-in2.h.orig 2013-02-28 06:39:18.000000000 +0900 -+++ bfd/bfd-in2.h 2013-07-04 21:57:46.000000000 +0900 -@@ -526,7 +526,7 @@ extern void warn_deprecated (const char - - #define bfd_get_symbol_leading_char(abfd) ((abfd)->xvec->symbol_leading_char) - --#define bfd_set_cacheable(abfd,bool) (((abfd)->cacheable = bool), TRUE) -+#define bfd_set_cacheable(abfd,bool) ((abfd)->cacheable = bool) - - extern bfd_boolean bfd_cache_close - (bfd *abfd); diff --git a/cross/avr-gdb/patches/patch-opcodes_configure b/cross/avr-gdb/patches/patch-opcodes_configure deleted file mode 100644 index d92a5529876..00000000000 --- a/cross/avr-gdb/patches/patch-opcodes_configure +++ /dev/null @@ -1,24 +0,0 @@ -$NetBSD: patch-opcodes_configure,v 1.2 2014/08/29 06:43:32 mef Exp $ - -Revert to gdb-7.5.1 to avoid following error -(But why this is necessary is unkown yet). - -Configuring in ./opcodes -.... -checking for gcc option to accept ISO C89... none needed -checking for library containing strerror... none required -./configure.lineno: 3236: Syntax error: Bad substitution -gmake[1]: *** [configure-opcodes] Error 1 -gmake[1]: Leaving directory `/usr/pkgsrc/wip/gdb76/work/gdb-7.6' - ---- opcodes/configure.orig 2013-07-03 10:59:20.000000000 +0900 -+++ opcodes/configure 2013-07-03 12:02:37.000000000 +0900 -@@ -3216,7 +3216,7 @@ - # We currently only use the version number for the name of any shared - # library. For user convenience, we always use the same version - # number that BFD is using. --BFD_VERSION=`${srcdir}/../bfd/configure --version | sed -n -e '1s,.* ,,p'` -+BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in` - - am__api_version='1.11' - |