avr-binutils: update to 2.30, avr-gcc: fix build, avr-libc: don't depend doxygen unless building the docs.
This commit is contained in:
parent
91e32433e1
commit
1e3a1086d0
|
@ -1 +0,0 @@
|
|||
(empty now)
|
|
@ -1,6 +1,6 @@
|
|||
# $NetBSD: Makefile,v 1.12 2014/10/27 09:42:26 makoto Exp $
|
||||
# $NetBSD$
|
||||
|
||||
DISTNAME= binutils-2.24
|
||||
DISTNAME= binutils-2.30
|
||||
PKGNAME= ${DISTNAME:S/^/avr-/}
|
||||
CATEGORIES= cross
|
||||
MASTER_SITES= ${MASTER_SITE_GNU:=binutils/}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@comment $NetBSD: PLIST,v 1.7 2014/10/27 08:56:17 makoto Exp $
|
||||
@comment $NetBSD$
|
||||
avr/bin/ar
|
||||
avr/bin/as
|
||||
avr/bin/ld
|
||||
|
@ -7,92 +7,116 @@ avr/bin/nm
|
|||
avr/bin/objcopy
|
||||
avr/bin/objdump
|
||||
avr/bin/ranlib
|
||||
avr/bin/readelf
|
||||
avr/bin/strip
|
||||
avr/include/ansidecl.h
|
||||
avr/include/bfd.h
|
||||
avr/include/symcat.h
|
||||
avr/lib/ldscripts/avr1.x
|
||||
avr/lib/ldscripts/avr1.xbn
|
||||
avr/lib/ldscripts/avr1.xe
|
||||
avr/lib/ldscripts/avr1.xn
|
||||
avr/lib/ldscripts/avr1.xr
|
||||
avr/lib/ldscripts/avr1.xu
|
||||
avr/lib/ldscripts/avr2.x
|
||||
avr/lib/ldscripts/avr2.xbn
|
||||
avr/lib/ldscripts/avr2.xe
|
||||
avr/lib/ldscripts/avr2.xn
|
||||
avr/lib/ldscripts/avr2.xr
|
||||
avr/lib/ldscripts/avr2.xu
|
||||
avr/lib/ldscripts/avr25.x
|
||||
avr/lib/ldscripts/avr25.xbn
|
||||
avr/lib/ldscripts/avr25.xe
|
||||
avr/lib/ldscripts/avr25.xn
|
||||
avr/lib/ldscripts/avr25.xr
|
||||
avr/lib/ldscripts/avr25.xu
|
||||
avr/lib/ldscripts/avr3.x
|
||||
avr/lib/ldscripts/avr3.xbn
|
||||
avr/lib/ldscripts/avr3.xe
|
||||
avr/lib/ldscripts/avr3.xn
|
||||
avr/lib/ldscripts/avr3.xr
|
||||
avr/lib/ldscripts/avr3.xu
|
||||
avr/lib/ldscripts/avr31.x
|
||||
avr/lib/ldscripts/avr31.xbn
|
||||
avr/lib/ldscripts/avr31.xe
|
||||
avr/lib/ldscripts/avr31.xn
|
||||
avr/lib/ldscripts/avr31.xr
|
||||
avr/lib/ldscripts/avr31.xu
|
||||
avr/lib/ldscripts/avr35.x
|
||||
avr/lib/ldscripts/avr35.xbn
|
||||
avr/lib/ldscripts/avr35.xe
|
||||
avr/lib/ldscripts/avr35.xn
|
||||
avr/lib/ldscripts/avr35.xr
|
||||
avr/lib/ldscripts/avr35.xu
|
||||
avr/lib/ldscripts/avr4.x
|
||||
avr/lib/ldscripts/avr4.xbn
|
||||
avr/lib/ldscripts/avr4.xe
|
||||
avr/lib/ldscripts/avr4.xn
|
||||
avr/lib/ldscripts/avr4.xr
|
||||
avr/lib/ldscripts/avr4.xu
|
||||
avr/lib/ldscripts/avr5.x
|
||||
avr/lib/ldscripts/avr5.xbn
|
||||
avr/lib/ldscripts/avr5.xe
|
||||
avr/lib/ldscripts/avr5.xn
|
||||
avr/lib/ldscripts/avr5.xr
|
||||
avr/lib/ldscripts/avr5.xu
|
||||
avr/lib/ldscripts/avr51.x
|
||||
avr/lib/ldscripts/avr51.xbn
|
||||
avr/lib/ldscripts/avr51.xe
|
||||
avr/lib/ldscripts/avr51.xn
|
||||
avr/lib/ldscripts/avr51.xr
|
||||
avr/lib/ldscripts/avr51.xu
|
||||
avr/lib/ldscripts/avr6.x
|
||||
avr/lib/ldscripts/avr6.xbn
|
||||
avr/lib/ldscripts/avr6.xe
|
||||
avr/lib/ldscripts/avr6.xn
|
||||
avr/lib/ldscripts/avr6.xr
|
||||
avr/lib/ldscripts/avr6.xu
|
||||
avr/lib/ldscripts/avrtiny.x
|
||||
avr/lib/ldscripts/avrtiny.xbn
|
||||
avr/lib/ldscripts/avrtiny.xe
|
||||
avr/lib/ldscripts/avrtiny.xn
|
||||
avr/lib/ldscripts/avrtiny.xr
|
||||
avr/lib/ldscripts/avrtiny.xu
|
||||
avr/lib/ldscripts/avrxmega1.x
|
||||
avr/lib/ldscripts/avrxmega1.xbn
|
||||
avr/lib/ldscripts/avrxmega1.xe
|
||||
avr/lib/ldscripts/avrxmega1.xn
|
||||
avr/lib/ldscripts/avrxmega1.xr
|
||||
avr/lib/ldscripts/avrxmega1.xu
|
||||
avr/lib/ldscripts/avrxmega2.x
|
||||
avr/lib/ldscripts/avrxmega2.xbn
|
||||
avr/lib/ldscripts/avrxmega2.xe
|
||||
avr/lib/ldscripts/avrxmega2.xn
|
||||
avr/lib/ldscripts/avrxmega2.xr
|
||||
avr/lib/ldscripts/avrxmega2.xu
|
||||
avr/lib/ldscripts/avrxmega3.x
|
||||
avr/lib/ldscripts/avrxmega3.xbn
|
||||
avr/lib/ldscripts/avrxmega3.xe
|
||||
avr/lib/ldscripts/avrxmega3.xn
|
||||
avr/lib/ldscripts/avrxmega3.xr
|
||||
avr/lib/ldscripts/avrxmega3.xu
|
||||
avr/lib/ldscripts/avrxmega4.x
|
||||
avr/lib/ldscripts/avrxmega4.xbn
|
||||
avr/lib/ldscripts/avrxmega4.xe
|
||||
avr/lib/ldscripts/avrxmega4.xn
|
||||
avr/lib/ldscripts/avrxmega4.xr
|
||||
avr/lib/ldscripts/avrxmega4.xu
|
||||
avr/lib/ldscripts/avrxmega5.x
|
||||
avr/lib/ldscripts/avrxmega5.xbn
|
||||
avr/lib/ldscripts/avrxmega5.xe
|
||||
avr/lib/ldscripts/avrxmega5.xn
|
||||
avr/lib/ldscripts/avrxmega5.xr
|
||||
avr/lib/ldscripts/avrxmega5.xu
|
||||
avr/lib/ldscripts/avrxmega6.x
|
||||
avr/lib/ldscripts/avrxmega6.xbn
|
||||
avr/lib/ldscripts/avrxmega6.xe
|
||||
avr/lib/ldscripts/avrxmega6.xn
|
||||
avr/lib/ldscripts/avrxmega6.xr
|
||||
avr/lib/ldscripts/avrxmega6.xu
|
||||
avr/lib/ldscripts/avrxmega7.x
|
||||
avr/lib/ldscripts/avrxmega7.xbn
|
||||
avr/lib/ldscripts/avrxmega7.xe
|
||||
avr/lib/ldscripts/avrxmega7.xn
|
||||
avr/lib/ldscripts/avrxmega7.xr
|
||||
avr/lib/ldscripts/avrxmega7.xu
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-8501
|
||||
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-8502
|
||||
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-8503
|
|
@ -1,13 +1,16 @@
|
|||
$NetBSD: distinfo,v 1.7 2014/10/27 08:56:17 makoto Exp $
|
||||
|
||||
SHA1 (binutils-2.24.tar.bz2) = 7ac75404ddb3c4910c7594b51ddfc76d4693debb
|
||||
RMD160 (binutils-2.24.tar.bz2) = b4aa3ea5ba9d0d9f817b2cf136e7f911f692af8d
|
||||
Size (binutils-2.24.tar.bz2) = 22716802 bytes
|
||||
SHA1 (binutils-2.30.tar.bz2) = 33d807f7fa680b00439eb5560acd0c2ef645e5f9
|
||||
RMD160 (binutils-2.30.tar.bz2) = 5b6152ff36d55da3b5da3a21b372897da66d953c
|
||||
SHA512 (binutils-2.30.tar.bz2) = c3ce91aa20f058ec589bf18c722bf651331b394db6378900cc813cc0eea3a331a96584d5ae090630b627369510397dccc9edfcd43d4aeefc99579f277a05c72c
|
||||
Size (binutils-2.30.tar.bz2) = 29541188 bytes
|
||||
SHA1 (patch-ab) = e2bc22866d8e04b0d670509f3295da5f0e535ac8
|
||||
SHA1 (patch-ad) = 6d1acfd834c692abcc4f454db5f5107b7f77e34e
|
||||
SHA1 (patch-ae) = fff6693a610b26aa60e1d96ad634d15d11afbe05
|
||||
SHA1 (patch-af) = 5fa08da0b31da042eb30cce683f7b7b1feb3196b
|
||||
SHA1 (patch-ag) = e778ddd88f34e264e6b2d6d31a56a02be565e916
|
||||
SHA1 (patch-ah) = b6e91279475c41bc78b3df227938a91948fc377c
|
||||
SHA1 (patch-ai) = 3cd298ac0364f913c1261fc87f7f474281bae9cf
|
||||
SHA1 (patch-aj) = fd2a66979f68350a53960defdaf5e9e5018ec59a
|
||||
SHA1 (patch-binutils_Makefile.in) = 5ce8801f19ce50d366d869631c09403eacc6bc94
|
||||
SHA1 (patch-etc_Makefile.in) = 4b9fdda4661e7b38dc76d144df08f07edba476f9
|
||||
SHA1 (patch-gas_Makefile.in) = 56712e40617f40ce74c6bb2a88481485d9cbe7a5
|
||||
SHA1 (patch-ld_ChangeLog) = a405784e008c0911466aacc4dc1f59c6534afa45
|
||||
SHA1 (patch-ld_Makefile.in) = b5caa5cafbd6f59d686a2c50fcdf30d92cec8c10
|
||||
SHA1 (patch-ld_ldlang.c) = 21baba94839ae5b9fffdc0c42122de0b1bb47c3f
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
$NetBSD: patch-ad,v 1.2 2014/10/27 08:56:17 makoto Exp $
|
||||
|
||||
Avoid installing info (which duplicates with other CPU)
|
||||
|
||||
--- etc/Makefile.in.orig 2010-11-21 04:37:57.000000000 +0900
|
||||
+++ etc/Makefile.in 2012-02-06 21:50:04.000000000 +0900
|
||||
@@ -64,7 +64,7 @@
|
||||
HTMLFILES = standards.html configure.html
|
||||
|
||||
all: info
|
||||
-install install-strip: install-info
|
||||
+install install-strip:
|
||||
|
||||
uninstall:
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
$NetBSD: patch-ag,v 1.3 2014/10/27 08:56:17 makoto Exp $
|
||||
|
||||
Avoid installing info (which duplicates with other CPU)
|
||||
|
||||
--- ld/Makefile.in.orig 2012-09-04 21:53:47.000000000 +0900
|
||||
+++ ld/Makefile.in 2013-01-27 07:19:44.000000000 +0900
|
||||
@@ -118,7 +118,7 @@ LTYACCCOMPILE = $(LIBTOOL) $(AM_LIBTOOLF
|
||||
--mode=compile $(YACC) $(YFLAGS) $(AM_YFLAGS)
|
||||
SOURCES = $(libldtestplug_la_SOURCES) $(ld_new_SOURCES) \
|
||||
$(EXTRA_ld_new_SOURCES)
|
||||
-INFO_DEPS = ld.info
|
||||
+INFO_DEPS =
|
||||
am__TEXINFO_TEX_DIR = $(srcdir)/../texinfo
|
||||
DVIS = ld.dvi
|
||||
PDFS = ld.pdf
|
||||
@@ -345,7 +345,7 @@ use_sysroot = @use_sysroot@
|
||||
AUTOMAKE_OPTIONS = dejagnu no-texinfo.tex no-dist foreign
|
||||
ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
|
||||
TEXINFO_TEX = ../texinfo/texinfo.tex
|
||||
-SUBDIRS = po
|
||||
+SUBDIRS =
|
||||
tooldir = $(exec_prefix)/$(target_alias)
|
||||
|
||||
# Automake 1.10+ disables lex and yacc output file regeneration if
|
|
@ -1,15 +0,0 @@
|
|||
$NetBSD: patch-ah,v 1.2 2014/10/27 08:56:17 makoto Exp $
|
||||
|
||||
Avoid installing po (nls) files
|
||||
|
||||
--- binutils/Makefile.in.orig 2011-08-08 09:27:15.000000000 +0900
|
||||
+++ binutils/Makefile.in 2012-02-06 21:51:20.000000000 +0900
|
||||
@@ -405,7 +405,7 @@
|
||||
top_srcdir = @top_srcdir@
|
||||
AUTOMAKE_OPTIONS = dejagnu no-dist foreign
|
||||
ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
|
||||
-SUBDIRS = doc po
|
||||
+SUBDIRS = doc
|
||||
tooldir = $(exec_prefix)/$(target_alias)
|
||||
|
||||
# Automake 1.10+ disables lex and yacc output file regeneration if
|
|
@ -1,15 +0,0 @@
|
|||
$NetBSD: patch-ai,v 1.2 2014/10/27 08:56:17 makoto Exp $
|
||||
|
||||
Avoid installing po (nls) files
|
||||
|
||||
--- gas/Makefile.in.orig 2011-06-14 00:18:47.000000000 +0900
|
||||
+++ gas/Makefile.in 2012-02-06 21:51:43.000000000 +0900
|
||||
@@ -281,7 +281,7 @@
|
||||
top_srcdir = @top_srcdir@
|
||||
AUTOMAKE_OPTIONS = 1.11 dejagnu foreign no-dist
|
||||
ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
|
||||
-SUBDIRS = doc po
|
||||
+SUBDIRS = doc
|
||||
tooldir = $(exec_prefix)/$(target_alias)
|
||||
|
||||
# Automake 1.10+ disables lex and yacc output file regeneration if
|
|
@ -0,0 +1,13 @@
|
|||
$NetBSD$
|
||||
|
||||
--- binutils/Makefile.in.orig 2018-01-27 15:02:51.000000000 +0000
|
||||
+++ binutils/Makefile.in
|
||||
@@ -465,7 +465,7 @@ zlibdir = @zlibdir@
|
||||
zlibinc = @zlibinc@
|
||||
AUTOMAKE_OPTIONS = dejagnu no-dist foreign
|
||||
ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
|
||||
-SUBDIRS = doc po
|
||||
+SUBDIRS = doc
|
||||
tooldir = $(exec_prefix)/$(target_alias)
|
||||
|
||||
# Automake 1.10+ disables lex and yacc output file regeneration if
|
|
@ -0,0 +1,13 @@
|
|||
$NetBSD$
|
||||
|
||||
--- etc/Makefile.in.orig 2018-01-13 13:31:15.000000000 +0000
|
||||
+++ etc/Makefile.in
|
||||
@@ -68,7 +68,7 @@ config.status: $(srcdir)/configure
|
||||
dist:
|
||||
check:
|
||||
info html dvi ps pdf:
|
||||
-install install-strip install-info install-html install-pdf:
|
||||
+install install-strip install-html install-pdf:
|
||||
installcheck:
|
||||
uninstall:
|
||||
TAGS:
|
|
@ -0,0 +1,13 @@
|
|||
$NetBSD$
|
||||
|
||||
--- gas/Makefile.in.orig 2018-01-27 14:59:06.000000000 +0000
|
||||
+++ gas/Makefile.in
|
||||
@@ -327,7 +327,7 @@ zlibdir = @zlibdir@
|
||||
zlibinc = @zlibinc@
|
||||
AUTOMAKE_OPTIONS = 1.11 dejagnu foreign no-dist
|
||||
ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
|
||||
-SUBDIRS = doc po
|
||||
+SUBDIRS = doc
|
||||
tooldir = $(exec_prefix)/$(target_alias)
|
||||
|
||||
# This is where we get zlib from. zlibdir is -L../zlib and zlibinc is
|
|
@ -0,0 +1,32 @@
|
|||
$NetBSD$
|
||||
|
||||
--- ld/ChangeLog.orig 2018-01-27 14:04:49.000000000 +0000
|
||||
+++ ld/ChangeLog
|
||||
@@ -1,3 +1,27 @@
|
||||
+2018-01-27 Nick Clifton <nickc@redhat.com>
|
||||
+
|
||||
+ This is the 2.30 release:
|
||||
+
|
||||
+ * configure: Regenerate.
|
||||
+ * po/ld.pot: Regenerate.
|
||||
+
|
||||
+2018-01-27 Nick Clifton <nickc@redhat.com>
|
||||
+
|
||||
+ PR 22751
|
||||
+ Revert this change as a temporary solution for this PR:
|
||||
+
|
||||
+ 2017-09-02 Alan Modra <amodra@gmail.com>
|
||||
+
|
||||
+ * ldlang.h (lang_input_statement_type): Expand comments.
|
||||
+ (LANG_FOR_EACH_INPUT_STATEMENT): Rewrite without casts.
|
||||
+ * ldlang.c (lang_for_each_input_file): Likewise.
|
||||
+ (load_symbols): Set usrdata for archives.
|
||||
+ (find_rescan_insertion): New function.
|
||||
+ (lang_process): Trim off and reinsert entries added to file chain
|
||||
+ when rescanning archives for LTO.
|
||||
+ * ldmain.c (add_archive_element): Set my_archive input_statement
|
||||
+ next pointer to last element added.
|
||||
+
|
||||
2018-01-25 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* testsuite/ld-sparc/sparc.exp (32-bit: Helper shared library):
|
|
@ -0,0 +1,22 @@
|
|||
$NetBSD$
|
||||
|
||||
--- ld/Makefile.in.orig 2018-01-27 15:03:10.000000000 +0000
|
||||
+++ ld/Makefile.in
|
||||
@@ -181,7 +181,7 @@ LTYACCCOMPILE = $(LIBTOOL) $(AM_LIBTOOLF
|
||||
SOURCES = $(libldtestplug_la_SOURCES) $(libldtestplug2_la_SOURCES) \
|
||||
$(libldtestplug3_la_SOURCES) $(libldtestplug4_la_SOURCES) \
|
||||
$(ld_new_SOURCES) $(EXTRA_ld_new_SOURCES)
|
||||
-INFO_DEPS = ld.info
|
||||
+INFO_DEPS =
|
||||
am__TEXINFO_TEX_DIR = $(srcdir)/../texinfo
|
||||
DVIS = ld.dvi
|
||||
PDFS = ld.pdf
|
||||
@@ -420,7 +420,7 @@ use_sysroot = @use_sysroot@
|
||||
AUTOMAKE_OPTIONS = dejagnu no-texinfo.tex no-dist foreign
|
||||
ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
|
||||
TEXINFO_TEX = ../texinfo/texinfo.tex
|
||||
-SUBDIRS = po
|
||||
+SUBDIRS =
|
||||
tooldir = $(exec_prefix)/$(target_alias)
|
||||
|
||||
# Automake 1.10+ disables lex and yacc output file regeneration if
|
|
@ -1,6 +1,6 @@
|
|||
# $NetBSD: Makefile,v 1.10 2015/08/12 19:59:50 tnn2 Exp $
|
||||
|
||||
DISTNAME= gcc-4.9.1
|
||||
DISTNAME= gcc-4.8.3
|
||||
PKGNAME= ${DISTNAME:C/^/avr-/}
|
||||
CATEGORIES= cross
|
||||
MASTER_SITES= ${MASTER_SITE_GNU:=gcc/releases/${DISTNAME}/}
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
@comment $NetBSD: PLIST,v 1.9 2014/08/29 09:15:42 makoto Exp $
|
||||
@comment $NetBSD$
|
||||
avr/bin/c++
|
||||
avr/bin/g++
|
||||
avr/bin/gcc
|
||||
bin/avr-c++
|
||||
bin/avr-cpp
|
||||
bin/avr-g++
|
||||
|
@ -43,7 +46,6 @@ lib/gcc/avr/${PKGVERSION}/include/float.h
|
|||
lib/gcc/avr/${PKGVERSION}/include/iso646.h
|
||||
lib/gcc/avr/${PKGVERSION}/include/stdalign.h
|
||||
lib/gcc/avr/${PKGVERSION}/include/stdarg.h
|
||||
lib/gcc/avr/${PKGVERSION}/include/stdatomic.h
|
||||
lib/gcc/avr/${PKGVERSION}/include/stdbool.h
|
||||
lib/gcc/avr/${PKGVERSION}/include/stddef.h
|
||||
lib/gcc/avr/${PKGVERSION}/include/stdfix-gcc.h
|
||||
|
@ -67,7 +69,6 @@ lib/gcc/avr/${PKGVERSION}/plugin/include/alias.h
|
|||
lib/gcc/avr/${PKGVERSION}/plugin/include/all-tree.def
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/alloc-pool.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/ansidecl.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/attribs.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/auto-host.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/b-header-vars
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/basic-block.h
|
||||
|
@ -80,15 +81,11 @@ lib/gcc/avr/${PKGVERSION}/plugin/include/c-family/c-objc.h
|
|||
lib/gcc/avr/${PKGVERSION}/plugin/include/c-family/c-pragma.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/c-family/c-pretty-print.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/c-tree.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/calls.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/cfg-flags.def
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/cfgexpand.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/cfghooks.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/cfgloop.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/cgraph.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/cif-code.def
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/cilk-builtins.def
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/cilkplus.def
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/config.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/config/avr/avr-arch.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/config/avr/avr-protos.h
|
||||
|
@ -100,19 +97,15 @@ lib/gcc/avr/${PKGVERSION}/plugin/include/config/dbxelf.h
|
|||
lib/gcc/avr/${PKGVERSION}/plugin/include/config/elfos.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/config/initfini-array.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/configargs.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/context.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/coretypes.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/cp/cp-tree.def
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/cp/cp-tree.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/cp/cxx-pretty-print.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/cp/name-lookup.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/cp/type-utils.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/cppdefault.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/cpplib.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/debug.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/defaults.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/df.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/diagnostic-color.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/diagnostic-core.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/diagnostic.def
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/diagnostic.h
|
||||
|
@ -124,35 +117,22 @@ lib/gcc/avr/${PKGVERSION}/plugin/include/filenames.h
|
|||
lib/gcc/avr/${PKGVERSION}/plugin/include/fixed-value.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/flag-types.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/flags.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/fold-const.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/function.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/gcc-plugin.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/gcc-symtab.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/genrtl.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/ggc.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/gimple-builder.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/gimple-expr.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/gimple-fold.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/gimple-iterator.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/gimple-low.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/gimple-pretty-print.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/gimple-ssa.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/gimple-walk.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/gimple.def
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/gimple.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/gimplify-me.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/gimplify.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/gsstruct.def
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/gtm-builtins.def
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/gtype-desc.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/hard-reg-set.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/hash-table.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/hashtab.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/highlev-plugin-common.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/hwint.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/incpath.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/input.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/insn-codes.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/insn-constants.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/insn-flags.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/insn-modes.h
|
||||
|
@ -181,7 +161,6 @@ lib/gcc/avr/${PKGVERSION}/plugin/include/opts.h
|
|||
lib/gcc/avr/${PKGVERSION}/plugin/include/output.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/params.def
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/params.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/pass_manager.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/plugin-api.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/plugin-version.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/plugin.def
|
||||
|
@ -191,24 +170,16 @@ lib/gcc/avr/${PKGVERSION}/plugin/include/predict.def
|
|||
lib/gcc/avr/${PKGVERSION}/plugin/include/predict.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/prefix.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/pretty-print.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/print-rtl.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/print-tree.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/real.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/realmpfr.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/reg-notes.def
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/regset.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/resource.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/rtl.def
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/rtl.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/safe-ctype.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/sanitizer.def
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/sbitmap.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/splay-tree.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/ssa-iterators.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/statistics.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/stmt.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/stor-layout.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/stringpool.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/symtab.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/sync-builtins.def
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/system.h
|
||||
|
@ -221,48 +192,26 @@ lib/gcc/avr/${PKGVERSION}/plugin/include/tm-preds.h
|
|||
lib/gcc/avr/${PKGVERSION}/plugin/include/tm.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tm_p.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/toplev.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-cfg.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-cfgcleanup.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-check.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-core.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-dfa.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-dump.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-eh.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-hasher.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-flow-inline.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-flow.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-inline.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-into-ssa.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-iterator.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-nested.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-object-size.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-outof-ssa.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-parloops.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-pass.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-phinodes.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-pretty-print.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-ssa-address.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-ssa-alias.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-ssa-coalesce.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-ssa-dom.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-ssa-loop-ivopts.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-ssa-loop-manip.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-ssa-loop-niter.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-ssa-loop.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-ssa-operands.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-ssa-sccvn.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-ssa-ter.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-ssa-threadedge.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-ssa-threadupdate.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-ssa.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree-ssanames.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree.def
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/tree.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/treestruct.def
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/varasm.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/vec.h
|
||||
lib/gcc/avr/${PKGVERSION}/plugin/include/version.h
|
||||
lib/gcc/avr/${PKGVERSION}/tiny-stack/libgcc.a
|
||||
lib/gcc/avr/${PKGVERSION}/tiny-stack/libgcov.a
|
||||
lib/gcc/avr/libiberty.a
|
||||
lib/libiberty.a
|
||||
libexec/gcc/avr/${PKGVERSION}/cc1
|
||||
libexec/gcc/avr/${PKGVERSION}/cc1plus
|
||||
libexec/gcc/avr/${PKGVERSION}/collect2
|
||||
|
@ -280,4 +229,4 @@ man/man7/fsf-funding.7
|
|||
man/man7/gfdl.7
|
||||
man/man7/gpl.7
|
||||
@pkgdir share/info
|
||||
@pkgdir avr/bin
|
||||
@pkgdir include
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
$NetBSD: distinfo,v 1.7 2014/08/29 09:15:42 makoto Exp $
|
||||
|
||||
SHA1 (gcc-4.9.1.tar.bz2) = 3f303f403053f0ce79530dae832811ecef91197e
|
||||
RMD160 (gcc-4.9.1.tar.bz2) = 7a829a260648a190afa1d6c616c78ddc861f4f7d
|
||||
Size (gcc-4.9.1.tar.bz2) = 89854120 bytes
|
||||
SHA1 (patch-ab) = 4396719b8398cf9eb1f939c447dede250ceb4e26
|
||||
SHA1 (patch-gcc_cp_cfns.h) = d657e8ecde1fc73eebccb4f790f3b266ee2d7a6d
|
||||
SHA1 (gcc-4.8.3.tar.bz2) = da0a2b9ec074f2bf624a34f3507f812ebb6e4dce
|
||||
RMD160 (gcc-4.8.3.tar.bz2) = 2c7214ff607cbe822282c04d1d6f9fea765c82c5
|
||||
SHA512 (gcc-4.8.3.tar.bz2) = 2b40d231e8445f9c1654137df509f09ce1187b475138ca7f648f710d922a1718f740b2d8a37c26e16b5e27900c60358be98229ae884a6f1f70e9df44ad24d02b
|
||||
Size (gcc-4.8.3.tar.bz2) = 86126808 bytes
|
||||
SHA1 (patch-ab) = 76bb3f264eb83beaf614eb5e106e541397340de7
|
||||
SHA1 (patch-gcc_cp_Make-lang.in) = baf41ef2c48ecc7b6757bf84977cc392880f7429
|
||||
SHA1 (patch-gcc_cp_cfns.gperf) = 2b8b995e107e78d2b07d8920bb87a956b15f18cd
|
||||
SHA1 (patch-gcc_cp_cfns.h) = 8b627cf91524689d0a15a757d0d0e4d49590b1c5
|
||||
SHA1 (patch-gcc_cp_except.c) = 4cb846c54061dfd68b0379277f301c138e889c96
|
||||
|
|
|
@ -3,16 +3,15 @@ $NetBSD: patch-ab,v 1.3 2013/08/08 02:55:01 makoto Exp $
|
|||
See Makefile for following part. Honor ${TOOLS_PATH.sed}
|
||||
SUBST_CLASSES+= sed
|
||||
|
||||
--- fixincludes/fixincl.x.orig 2009-08-27 00:05:13 +0300
|
||||
+++ fixincludes/fixincl.x 2009-08-27 00:05:32 +0300
|
||||
--- fixincludes/fixincl.x.orig 2013-05-31 11:43:36.000000000 +0000
|
||||
+++ fixincludes/fixincl.x
|
||||
@@ -36,9 +36,7 @@
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
-#ifndef SED_PROGRAM
|
||||
-#define SED_PROGRAM "/usr/bin/sed"
|
||||
#define SED_PROGRAM "/usr/bin/sed"
|
||||
-#endif
|
||||
+#define SED_PROGRAM "@SED@"
|
||||
static char const sed_cmd_z[] = SED_PROGRAM;
|
||||
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
$NetBSD$
|
||||
|
||||
--- gcc/cp/Make-lang.in.orig 2013-01-10 20:38:27.000000000 +0000
|
||||
+++ gcc/cp/Make-lang.in
|
||||
@@ -115,7 +115,7 @@ else
|
||||
# deleting the $(srcdir)/cp/cfns.h file.
|
||||
$(srcdir)/cp/cfns.h:
|
||||
endif
|
||||
- gperf -o -C -E -k '1-6,$$' -j1 -D -N 'libc_name_p' -L ANSI-C \
|
||||
+ gperf -o -C -E -k '1-6,$$' -j1 -D -N 'libc_name_p' -L C++ \
|
||||
$(srcdir)/cp/cfns.gperf --output-file $(srcdir)/cp/cfns.h
|
||||
|
||||
#
|
|
@ -0,0 +1,25 @@
|
|||
$NetBSD$
|
||||
|
||||
--- gcc/cp/cfns.gperf.orig 2013-01-10 20:38:27.000000000 +0000
|
||||
+++ gcc/cp/cfns.gperf
|
||||
@@ -1,3 +1,5 @@
|
||||
+%language=C++
|
||||
+%define class-name libc_name
|
||||
%{
|
||||
/* Copyright (C) 2000-2013 Free Software Foundation, Inc.
|
||||
|
||||
@@ -16,14 +18,6 @@ for more details.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with GCC; see the file COPYING3. If not see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
-#ifdef __GNUC__
|
||||
-__inline
|
||||
-#endif
|
||||
-static unsigned int hash (const char *, unsigned int);
|
||||
-#ifdef __GNUC__
|
||||
-__inline
|
||||
-#endif
|
||||
-const char * libc_name_p (const char *, unsigned int);
|
||||
%}
|
||||
%%
|
||||
# The standard C library functions, for feeding to gperf; the result is used
|
|
@ -3,14 +3,74 @@ $NetBSD: patch-gcc_cp_cfns.h,v 1.2 2013/08/08 02:55:01 makoto Exp $
|
|||
date: 2012-11-16 09:38:21 +0900; author: joerg; state: Exp;
|
||||
Fix inline usage.
|
||||
|
||||
--- gcc/cp/cfns.h.orig 2012-11-14 17:13:55.000000000 +0000
|
||||
--- gcc/cp/cfns.h.orig 2013-01-10 20:38:27.000000000 +0000
|
||||
+++ gcc/cp/cfns.h
|
||||
@@ -35,7 +35,7 @@
|
||||
@@ -1,5 +1,5 @@
|
||||
-/* ANSI-C code produced by gperf version 3.0.3 */
|
||||
-/* Command-line: gperf -o -C -E -k '1-6,$' -j1 -D -N libc_name_p -L ANSI-C cfns.gperf */
|
||||
+/* ANSI-C code produced by gperf version 3.0.4 */
|
||||
+/* Command-line: gperf -o -C -E -k '1-6,$' -j1 -D -N libc_name_p -L C++ --output-file cfns.h cfns.gperf */
|
||||
|
||||
#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \
|
||||
&& ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \
|
||||
@@ -28,7 +28,7 @@
|
||||
#error "gperf generated tables don't work with this execution character set. Please report a bug to <bug-gnu-gperf@gnu.org>."
|
||||
#endif
|
||||
static unsigned int hash (const char *, unsigned int);
|
||||
#ifdef __GNUC__
|
||||
|
||||
-#line 1 "cfns.gperf"
|
||||
+#line 3 "cfns.gperf"
|
||||
|
||||
/* Copyright (C) 2000-2013 Free Software Foundation, Inc.
|
||||
|
||||
@@ -47,25 +47,18 @@ for more details.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with GCC; see the file COPYING3. If not see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
-#ifdef __GNUC__
|
||||
-__inline
|
||||
+static __inline
|
||||
#endif
|
||||
const char * libc_name_p (const char *, unsigned int);
|
||||
-#endif
|
||||
-static unsigned int hash (const char *, unsigned int);
|
||||
-#ifdef __GNUC__
|
||||
-__inline
|
||||
-#endif
|
||||
-const char * libc_name_p (const char *, unsigned int);
|
||||
/* maximum key range = 391, duplicates = 0 */
|
||||
|
||||
-#ifdef __GNUC__
|
||||
-__inline
|
||||
-#else
|
||||
-#ifdef __cplusplus
|
||||
-inline
|
||||
-#endif
|
||||
-#endif
|
||||
-static unsigned int
|
||||
-hash (register const char *str, register unsigned int len)
|
||||
+class libc_name
|
||||
+{
|
||||
+private:
|
||||
+ static inline unsigned int hash (const char *str, unsigned int len);
|
||||
+public:
|
||||
+ static const char *libc_name_p (const char *str, unsigned int len);
|
||||
+};
|
||||
+
|
||||
+inline unsigned int
|
||||
+libc_name::hash (register const char *str, register unsigned int len)
|
||||
{
|
||||
static const unsigned short asso_values[] =
|
||||
{
|
||||
@@ -122,14 +115,8 @@ hash (register const char *str, register
|
||||
return hval + asso_values[(unsigned char)str[len - 1]];
|
||||
}
|
||||
|
||||
-#ifdef __GNUC__
|
||||
-__inline
|
||||
-#ifdef __GNUC_STDC_INLINE__
|
||||
-__attribute__ ((__gnu_inline__))
|
||||
-#endif
|
||||
-#endif
|
||||
const char *
|
||||
-libc_name_p (register const char *str, register unsigned int len)
|
||||
+libc_name::libc_name_p (register const char *str, register unsigned int len)
|
||||
{
|
||||
enum
|
||||
{
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
$NetBSD$
|
||||
|
||||
--- gcc/cp/except.c.orig 2013-10-25 13:49:48.000000000 +0000
|
||||
+++ gcc/cp/except.c
|
||||
@@ -1025,7 +1025,8 @@ nothrow_libfn_p (const_tree fn)
|
||||
unless the system headers are playing rename tricks, and if
|
||||
they are, we don't want to be confused by them. */
|
||||
id = DECL_NAME (fn);
|
||||
- return !!libc_name_p (IDENTIFIER_POINTER (id), IDENTIFIER_LENGTH (id));
|
||||
+ return !!libc_name::libc_name_p (IDENTIFIER_POINTER (id),
|
||||
+ IDENTIFIER_LENGTH (id));
|
||||
}
|
||||
|
||||
/* Returns nonzero if an exception of type FROM will be caught by a
|
|
@ -1,5 +1,5 @@
|
|||
===========================================================================
|
||||
$NetBSD: MESSAGE,v 1.2 2015/02/02 01:48:24 makoto Exp $
|
||||
$NetBSD: MESSAGE,v 1.2 2015/02/25 15:46:52 mef Exp $
|
||||
Man pages are installed in ${PREFIX}/share/doc/avr-libc/man/man3/
|
||||
To read those pages, for example, use
|
||||
env MANPATH=${PREFIX}/share/doc/avr-libc/man man BOOTLOADER_SECTION
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# $NetBSD: Makefile,v 1.8 2015/02/10 04:58:12 makoto Exp $
|
||||
# $NetBSD$
|
||||
|
||||
DISTNAME= avr-libc-1.8.1
|
||||
DISTNAME= avr-libc-2.0.0
|
||||
CATEGORIES= cross
|
||||
MASTER_SITES= http://savannah.nongnu.org/download/avr-libc/
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
@ -10,35 +10,18 @@ HOMEPAGE= http://savannah.nongnu.org/projects/avr-libc
|
|||
COMMENT= C and math library for Atmel AVR 8-bit microcontrollers
|
||||
LICENSE= modified-bsd
|
||||
|
||||
BROKEN= 'Undefined control sequence.l.303 \backmatter, see TODO. Thank you.'
|
||||
|
||||
BUILD_DEPENDS+= doxygen>=1.8.9.1:../../devel/doxygen
|
||||
BUILD_DEPENDS+= fig2dev-[0-9]*:../../print/fig2dev
|
||||
BUILD_DEPENDS+= netpbm-[0-9]*:../../graphics/netpbm
|
||||
|
||||
BUILD_DEPENDS+= tex-latex-[0-9]*:../../print/tex-latex
|
||||
BUILD_DEPENDS+= tex-adjustbox-[0-9]*:../../print/tex-adjustbox
|
||||
BUILD_DEPENDS+= tex-collectbox-[0-9]*:../../print/tex-collectbox
|
||||
BUILD_DEPENDS+= tex-ydoc-[0-9]*:../../print/tex-ydoc
|
||||
|
||||
# formatting refman.pdf needs tools
|
||||
BUILD_DEPENDS+= web2c-[0-9]*:../../print/web2c
|
||||
# tex not found
|
||||
BUILD_DEPENDS+= tex-tetex-[0-9]*:../../print/tex-tetex
|
||||
# mkfmt tex.fmt not found
|
||||
#BUILD_DEPENDS+= teTeX-texmf-[0-9]*:../../print/teTeX3-texmf
|
||||
|
||||
USE_TOOLS+= gmake perl
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GNU_CONFIGURE_HOST= no
|
||||
USE_GNU_CONFIGURE_HOST= no
|
||||
|
||||
CONFIGURE_ARGS+= --build=${MACHINE_GNU_PLATFORM}
|
||||
CONFIGURE_ARGS+= --build=${MACHINE_GNU_PLATFORM:Q}
|
||||
CONFIGURE_ARGS+= --host=avr
|
||||
CONFIGURE_ARGS+= --enable-doc
|
||||
CONFIGURE_ARGS+= --disable-versioned-doc
|
||||
CONFIGURE_ARGS+= CC=${PREFIX}/bin/avr-gcc
|
||||
CONFIGURE_ARGS+= CPPFLAGS="-I${PREFIX}/include -I${PREFIX}/avr/include"
|
||||
|
||||
#BUILD_DEPENDS+= doxygen>=1.8.12:../../devel/doxygen
|
||||
|
||||
# In doc/examples/demo directory, we have sample Makefile both for
|
||||
# generating *.hex file at pkg installation time, and for installing
|
||||
# Makefile itself. That Makefile should be for general purpose, meaning
|
||||
|
@ -53,27 +36,7 @@ SUBST_MESSAGE.demo= Add cross/bin on PATH for OBJCOPY (avr-objcopy) etc
|
|||
SUBST_FILES.demo= doc/Makefile.in
|
||||
SUBST_SED.demo= -e 's|@@@PATH@@@|${PREFIX}/bin:${PATH:Q}|g'
|
||||
|
||||
post-extract:
|
||||
${MKDIR} ${WRKSRC}/doc/api/latex_src
|
||||
${LN} -s ../../examples/largedemo/largedemo-setup.jpg ${WRKSRC}/doc/api/latex_src
|
||||
${LN} -s ../../examples/largedemo/largedemo-wiring.jpg ${WRKSRC}/doc/api/latex_src
|
||||
${LN} -s ../../examples/largedemo/largedemo-wiring2.jpg ${WRKSRC}/doc/api/latex_src
|
||||
${LN} -s ../../examples/stdiodemo/stdiodemo-setup.jpg ${WRKSRC}/doc/api/latex_src
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} \
|
||||
${WRKSRC}/LICENSE \
|
||||
${WRKSRC}/AUTHORS \
|
||||
${DESTDIR}${PREFIX}/share/doc/avr-libc
|
||||
## delete following or similar files, which includes PATH at build time.
|
||||
##_usr_pkgsrc_cross_avr-libc_work_avr-libc-1.8.0_libc_string_.3
|
||||
${RM} ${DESTDIR}${PREFIX}/share/doc/avr-libc/man/man3/*${PKGVERSION_NOREV}*
|
||||
.for f in Makefile demo.c demo.bin demo.hex demo.pdf demo.srec
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/examples/demo/${f} \
|
||||
${DESTDIR}${PREFIX}/share/doc/avr-libc/examples/demo
|
||||
.endfor
|
||||
|
||||
#include "../../print/kpathsea/buildlink3.mk"
|
||||
.include "options.mk"
|
||||
.include "../../cross/avr-binutils/buildlink3.mk"
|
||||
.include "../../cross/avr-gcc/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
2461
avr-libc/PLIST
2461
avr-libc/PLIST
File diff suppressed because it is too large
Load Diff
|
@ -1,44 +0,0 @@
|
|||
- Now fails with the message
|
||||
|
||||
Makefile:6: recipe for target 'refman.pdf' failed
|
||||
gmake[4]: *** [refman.pdf] Error 1
|
||||
|
||||
- If you look at refman.log at WRKOBJDIR, you will find
|
||||
following message.
|
||||
-----------------------
|
||||
) (./util_2twi_8h.tex [334]) (./wdt_8h.tex)
|
||||
! Undefined control sequence.
|
||||
l.303 \backmatter
|
||||
-----------------------
|
||||
But if you invoke pdflatex there, it will finish successfully.
|
||||
------------------------
|
||||
h87@makoto 11:24:16/150206(..wip/avr-libc)% \
|
||||
(cd /export/WRKOBJDIR/wip/avr-libc/work/avr-libc-1.8.1/doc/api/latex_src; \
|
||||
pdflatex refman.tex)
|
||||
|
||||
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (Web2C 2013)
|
||||
restricted \write18 enabled.
|
||||
entering extended mode
|
||||
(./refman.tex
|
||||
LaTeX2e <2011/06/27>
|
||||
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ba
|
||||
sque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, estonian,
|
||||
finnish, french, german, ngerman, monogreek, greek, hungarian, icelandic, indon
|
||||
esian, irish, italian, latin, bokmal, nynorsk, polish, portuguese, romanian, ru
|
||||
ssian, serbian, slovak, slovenian, spanish, swedish, turkish, ukrainian, loaded
|
||||
.
|
||||
|
||||
|
||||
h87@makoto 11:24:50/150206(..wip/avr-libc)% \
|
||||
(cd /export/WRKOBJDIR/wip/avr-libc/work/avr-libc-1.8.1/doc/api/latex_src; \
|
||||
ls -la refman.*)
|
||||
|
||||
-rw-r--r-- 1 makoto wheel 151259 Feb 6 11:24 refman.aux
|
||||
-rw-r--r-- 1 makoto wheel 224993 Feb 6 11:24 refman.idx
|
||||
-rw-r--r-- 1 makoto wheel 245014 Feb 6 11:24 refman.log
|
||||
-rw-r--r-- 1 makoto wheel 81192 Feb 6 11:24 refman.out
|
||||
-rw-r--r-- 1 makoto wheel 1595768 Feb 6 11:24 refman.pdf
|
||||
-rw-r--r-- 1 makoto wheel 7415 Feb 5 10:05 refman.tex
|
||||
-rw-r--r-- 1 makoto wheel 539317 Feb 6 11:24 refman.toc
|
||||
h87@makoto 11:25:05/150206(..wip/avr-libc)%
|
||||
------------------------
|
|
@ -1,6 +1,8 @@
|
|||
$NetBSD: distinfo,v 1.4 2015/02/02 01:48:24 makoto Exp $
|
||||
$NetBSD: distinfo,v 1.14 2017/01/29 04:29:54 mef Exp $
|
||||
|
||||
SHA1 (avr-libc-1.8.1.tar.bz2) = b56fe21b30341869aa768689b0f6a07d896b17fa
|
||||
RMD160 (avr-libc-1.8.1.tar.bz2) = ffc4de159690048cac1dd018e55576faed47ed45
|
||||
Size (avr-libc-1.8.1.tar.bz2) = 3230418 bytes
|
||||
SHA1 (avr-libc-2.0.0.tar.bz2) = c46b4c92bd88339f4d8d9bce29893661be890845
|
||||
RMD160 (avr-libc-2.0.0.tar.bz2) = 3185d66f9c3024ecbf56d272033b87eac4c49ad2
|
||||
SHA512 (avr-libc-2.0.0.tar.bz2) = fc8d062043d633350dbe05978935dcb8028257a4f1013f246af9658aef0671def19ac11577d1ee9302df68df1b8cf030b22441d96852e185db212263aacabea6
|
||||
Size (avr-libc-2.0.0.tar.bz2) = 3590893 bytes
|
||||
SHA1 (patch-doc_Makefile.in) = e44e69a7a438c4175a8c15c0548b77df49a691d8
|
||||
SHA1 (patch-doc_api_Makefile.in) = 73521550c8ff0b1348e80a8490795a00480ec779
|
||||
|
|
|
@ -0,0 +1,63 @@
|
|||
# $NetBSD: options.mk,v 1.2 2017/10/03 15:12:42 wiz Exp $
|
||||
|
||||
PKG_OPTIONS_VAR= PKG_OPTIONS.avr-libc
|
||||
PKG_SUPPORTED_OPTIONS+= doc
|
||||
PKG_SUGGESTED_OPTIONS+= doc
|
||||
PLIST_VARS+= doc
|
||||
|
||||
.include "../../mk/bsd.options.mk"
|
||||
|
||||
.if !empty(PKG_OPTIONS:Mdoc)
|
||||
CONFIGURE_ARGS+= --enable-doc
|
||||
BUILD_DEPENDS+= doxygen>=1.8.9.1.nb1:../../devel/doxygen
|
||||
BUILD_DEPENDS+= tex-psnfss-[0-9]*:../../fonts/tex-psnfss
|
||||
BUILD_DEPENDS+= tex-wasysym-[0-9]*:../../fonts/tex-wasysym
|
||||
BUILD_DEPENDS+= netpbm-[0-9]*:../../graphics/netpbm
|
||||
BUILD_DEPENDS+= tex-epstopdf-[0-9]*:../../graphics/tex-epstopdf
|
||||
BUILD_DEPENDS+= tex-adjustbox-[0-9]*:../../print/tex-adjustbox
|
||||
BUILD_DEPENDS+= tex-caption-[0-9]*:../../print/tex-caption
|
||||
BUILD_DEPENDS+= tex-collectbox-[0-9]*:../../print/tex-collectbox
|
||||
BUILD_DEPENDS+= tex-colortbl-[0-9]*:../../print/tex-colortbl
|
||||
BUILD_DEPENDS+= tex-fancyhdr-[0-9]*:../../print/tex-fancyhdr
|
||||
BUILD_DEPENDS+= tex-float-[0-9]*:../../print/tex-float
|
||||
BUILD_DEPENDS+= tex-geometry-[0-9]*:../../print/tex-geometry
|
||||
BUILD_DEPENDS+= tex-graphics-cfg-[0-9]*:../../print/tex-graphics-cfg
|
||||
BUILD_DEPENDS+= tex-hyperref-[0-9]*:../../print/tex-hyperref
|
||||
BUILD_DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin
|
||||
BUILD_DEPENDS+= tex-multirow-[0-9]*:../../print/tex-multirow
|
||||
BUILD_DEPENDS+= tex-natbib-[0-9]*:../../print/tex-natbib
|
||||
BUILD_DEPENDS+= tex-pgf-[0-9]*:../../print/tex-pgf
|
||||
BUILD_DEPENDS+= tex-sectsty-[0-9]*:../../print/tex-sectsty
|
||||
BUILD_DEPENDS+= tex-tabu-[0-9]*:../../print/tex-tabu
|
||||
BUILD_DEPENDS+= tex-tocloft-[0-9]*:../../print/tex-tocloft
|
||||
BUILD_DEPENDS+= tex-xcolor-[0-9]*:../../print/tex-xcolor
|
||||
BUILD_DEPENDS+= tex-xkeyval-[0-9]*:../../print/tex-xkeyval
|
||||
BUILD_DEPENDS+= fig2dev-[0-9]*:../../print/fig2dev
|
||||
BUILD_DEPENDS+= makeindexk-[0-9]*:../../textproc/makeindexk
|
||||
|
||||
post-extract:
|
||||
${MKDIR} ${WRKSRC}/doc/api/latex_src
|
||||
${LN} -s ../../examples/largedemo/largedemo-setup.jpg ${WRKSRC}/doc/api/latex_src
|
||||
${LN} -s ../../examples/largedemo/largedemo-wiring.jpg ${WRKSRC}/doc/api/latex_src
|
||||
${LN} -s ../../examples/largedemo/largedemo-wiring2.jpg ${WRKSRC}/doc/api/latex_src
|
||||
${LN} -s ../../examples/stdiodemo/stdiodemo-setup.jpg ${WRKSRC}/doc/api/latex_src
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} \
|
||||
${WRKSRC}/LICENSE \
|
||||
${WRKSRC}/AUTHORS \
|
||||
${DESTDIR}${PREFIX}/share/doc/avr-libc
|
||||
## delete following or similar files, which includes PATH at build time.
|
||||
##_usr_pkgsrc_cross_avr-libc_work_avr-libc-1.8.0_libc_string_.3
|
||||
${RM} ${DESTDIR}${PREFIX}/share/doc/avr-libc/man/man3/*${PKGVERSION_NOREV}*
|
||||
.for f in Makefile demo.c demo.bin demo.hex demo.pdf demo.srec
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/examples/demo/${f} \
|
||||
${DESTDIR}${PREFIX}/share/doc/avr-libc/examples/demo
|
||||
.endfor
|
||||
|
||||
|
||||
PLIST.doc= yes
|
||||
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-doc
|
||||
.endif
|
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: patch-doc_Makefile.in,v 1.2 2015/02/02 01:48:24 makoto Exp $
|
||||
$NetBSD: patch-doc_Makefile.in,v 1.2 2014/08/29 04:31:12 mef Exp $
|
||||
|
||||
Adding PATH at installation time for OBJCOPY = avr-objcopy etc.
|
||||
See comment on SUBST part in Makefile.
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
$NetBSD: patch-doc_api_Makefile.in,v 1.2 2017/01/29 04:29:54 mef Exp $
|
||||
|
||||
Fix dependencies. Ultimately ignore the errors from latex though, since
|
||||
undefined references remain.
|
||||
|
||||
--- doc/api/Makefile.in.orig 2016-06-19 16:33:29.514161905 +0000
|
||||
+++ doc/api/Makefile.in
|
||||
@@ -624,7 +624,7 @@ $(USER_MANUAL)/index.html: latex_src/ref
|
||||
dox-pdf: $(USER_MANUAL).pdf
|
||||
|
||||
$(USER_MANUAL).pdf: latex_src/refman.tex
|
||||
- cd latex_src && ${MAKE} refman.pdf
|
||||
+ cd latex_src && sed -e 's,pdflatex refman$$,pdflatex refman || true,' < Makefile > Makefile.new && mv Makefile.new Makefile && ${MAKE} refman.pdf
|
||||
cp latex_src/refman.pdf $(USER_MANUAL).pdf
|
||||
|
||||
# Install rules for the various documentation parts. The actual
|
Loading…
Reference in New Issue