Thursday, December 03, 2020

[Update] devel/avr/gcc: 5.4.0 -> 8.4.0

Hi,

Here is an update of avr/gcc. I was able to build current qmk_firmware
(https://qmk.fm/) for my keyboard (with 5.4.0, it was not building since
august 2019).

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/avr/gcc/Makefile,v
retrieving revision 1.35
diff -u -p -r1.35 Makefile
--- Makefile 20 Mar 2020 16:44:22 -0000 1.35
+++ Makefile 3 Dec 2020 13:31:46 -0000
@@ -2,8 +2,8 @@

COMMENT= Atmel AVR 8-bit RISC microcontrollers' XGCC #'

-V= 5.4.0
-REVISION= 3
+V= 8.4.0
+REVISION= 0
DISTNAME = gcc-$V
PKGNAME= avr-gcc-${V}
SHARED_LIBS += cc1plugin 0.0 # 0.0
@@ -17,7 +17,7 @@ WANTLIB= c gmp mpfr ${COMPILER_LIBCXX}
COMPILER = base-clang ports-gcc base-gcc

MASTER_SITES= ${MASTER_SITE_GCC:=releases/gcc-$(V)/}
-EXTRACT_SUFX= .tar.bz2
+EXTRACT_SUFX= .tar.xz
DIST_SUBDIR= gcc

BUILD_DEPENDS+= devel/autoconf/2.13 \
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/avr/gcc/distinfo,v
retrieving revision 1.7
diff -u -p -r1.7 distinfo
--- distinfo 7 Sep 2018 20:11:08 -0000 1.7
+++ distinfo 3 Dec 2020 13:31:46 -0000
@@ -1,2 +1,2 @@
-SHA256 (gcc/gcc-5.4.0.tar.bz2) = YI33bewtNN5lWCSdivTL7iHs7dvLWA1mb3paWDyjMDo=
-SIZE (gcc/gcc-5.4.0.tar.bz2) = 95661481
+SHA256 (gcc/gcc-8.4.0.tar.xz) = 4wpuUtEOHyftVRBK0jPDC9HpnPtf+YqwItyUHt0bLdQ=
+SIZE (gcc/gcc-8.4.0.tar.xz) = 63713440
Index: patches/patch-contrib_texi2pod_pl
===================================================================
RCS file: patches/patch-contrib_texi2pod_pl
diff -N patches/patch-contrib_texi2pod_pl
--- patches/patch-contrib_texi2pod_pl 16 Apr 2019 15:35:30 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,14 +0,0 @@
-$OpenBSD: patch-contrib_texi2pod_pl,v 1.1 2019/04/16 15:35:30 naddy Exp $
-
-Index: contrib/texi2pod.pl
---- contrib/texi2pod.pl.orig
-+++ contrib/texi2pod.pl
-@@ -316,7 +316,7 @@ while(<$inf>) {
- @columns = ();
- for $column (split (/\s*\@tab\s*/, $1)) {
- # @strong{...} is used a @headitem work-alike
-- $column =~ s/^\@strong{(.*)}$/$1/;
-+ $column =~ s/^\@strong\{(.*)\}$/$1/;
- push @columns, $column;
- }
- $_ = "\n=item ".join (" : ", @columns)."\n";
Index: patches/patch-gcc_auto-profile_c
===================================================================
RCS file: patches/patch-gcc_auto-profile_c
diff -N patches/patch-gcc_auto-profile_c
--- patches/patch-gcc_auto-profile_c 13 Sep 2018 11:13:00 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,21 +0,0 @@
-$OpenBSD: patch-gcc_auto-profile_c,v 1.1 2018/09/13 11:13:00 jasper Exp $
-
-fix build with libc++
-https://svnweb.freebsd.org/ports/head/devel/avr-gcc/files/patch-libc%2B%2B?revision=435893&view=markup
-
-Index: gcc/auto-profile.c
---- gcc/auto-profile.c.orig
-+++ gcc/auto-profile.c
-@@ -19,11 +19,9 @@ along with GCC; see the file COPYING3. If not see
- <http://www.gnu.org/licenses/>. */
-
- #include "config.h"
--#include "system.h"
--
--#include <string.h>
- #include <map>
- #include <set>
-+#include "system.h"
-
- #include "coretypes.h"
- #include "hash-set.h"
Index: patches/patch-gcc_graphite-isl-ast-to-gimple_c
===================================================================
RCS file: patches/patch-gcc_graphite-isl-ast-to-gimple_c
diff -N patches/patch-gcc_graphite-isl-ast-to-gimple_c
--- patches/patch-gcc_graphite-isl-ast-to-gimple_c 13 Sep 2018 11:13:00 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,24 +0,0 @@
-$OpenBSD: patch-gcc_graphite-isl-ast-to-gimple_c,v 1.1 2018/09/13 11:13:00 jasper Exp $
-
-fix build with libc++
-https://svnweb.freebsd.org/ports/head/devel/avr-gcc/files/patch-libc%2B%2B?revision=435893&view=markup
-
-Index: gcc/graphite-isl-ast-to-gimple.c
---- gcc/graphite-isl-ast-to-gimple.c.orig
-+++ gcc/graphite-isl-ast-to-gimple.c
-@@ -38,6 +38,7 @@ extern "C" {
-

No comments:

Post a Comment