Skip to content
Snippets Groups Projects
Commit fffbd3d8 authored by Gerald Pfeifer's avatar Gerald Pfeifer
Browse files

lang/gcc12-devel: Update to the 20211121 snapshot of GCC 12.0.0

We addressed the libsanitizer build issue slightly differently
upstream, and files/patch-libsanitzer-buildfix can be removed.
parent bf143897
No related branches found
No related tags found
No related merge requests found
# Created by: Gerald Pfeifer <gerald@FreeBSD.org>
PORTNAME= gcc
PORTVERSION= 12.0.0.s20211114
PORTVERSION= 12.0.0.s20211121
CATEGORIES= lang
MASTER_SITES= GCC/snapshots/${DIST_VERSION}
PKGNAMESUFFIX= ${SUFFIX}-devel
......
TIMESTAMP = 1637501854
SHA256 (gcc-12-20211114.tar.xz) = 6f63c011a427228ccf3d3503852f5139c2e3281c574df861c2afab21086eee47
SIZE (gcc-12-20211114.tar.xz) = 77458344
TIMESTAMP = 1637785265
SHA256 (gcc-12-20211121.tar.xz) = ffcdc0a91939fe2202fbcc91ed7abea61b509e3c207ac439867cb4523f601240
SIZE (gcc-12-20211121.tar.xz) = 77512024
The latest libsanitizer update added specific support for FreeBSD
which includes <md5.h>. Alas GCC features it's own <md5.h> which
is picked up, but does not provide everything necessary - boom.
I have adjusted GCC's <md5.h> to accomodate for that and we now only
need to activate that.
Upstream bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102675
--- UTC
--- libsanitizer/sanitizer_common/sanitizer_platform_limits_freebsd.cpp
+++ libsanitizer/sanitizer_common/sanitizer_platform_limits_freebsd.cpp
@@ -15,6 +15,8 @@
#if SANITIZER_FREEBSD
+#define USE_SYSTEM_MD5
+
#include <sys/capsicum.h>
#include <sys/consio.h>
#include <sys/filio.h>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment