pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/cross/avr-gdb/patches - Drops two patches patches/pat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c47db8298e49
branches:  trunk
changeset: 357800:c47db8298e49
user:      mef <mef%pkgsrc.org@localhost>
date:      Sun Jan 29 05:19:31 2017 +0000

description:
- Drops two patches  patches/patch-bfd_bfd-in2_h patches/patch-opcodes_configure

diffstat:

 cross/avr-gdb/patches/patch-bfd_bfd-in2_h     |  27 ---------------------------
 cross/avr-gdb/patches/patch-opcodes_configure |  24 ------------------------
 2 files changed, 0 insertions(+), 51 deletions(-)

diffs (59 lines):

diff -r f06da15c04fa -r c47db8298e49 cross/avr-gdb/patches/patch-bfd_bfd-in2_h
--- a/cross/avr-gdb/patches/patch-bfd_bfd-in2_h Sun Jan 29 05:18:09 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r f06da15c04fa -r c47db8298e49 cross/avr-gdb/patches/patch-opcodes_configure
--- a/cross/avr-gdb/patches/patch-opcodes_configure     Sun Jan 29 05:18:09 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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'
- 



Home | Main Index | Thread Index | Old Index