From 26d3c7e082708671b056f08010ca61d84b6defab Mon Sep 17 00:00:00 2001
From: psykose <alice@ayaya.dev>
Date: Sat, 10 Sep 2022 15:49:09 +0000
Subject: [PATCH] main/gcc: add bugurl

this makes the bug info at the bottom of --help (and segfaults?):

For bug reporting instructions, please see:
<https://gitlab.alpinelinux.org/alpine/aports/-/issues>.

which is where all issues should go, especially for this gcc given the
large patchset.
---
 main/gcc/APKBUILD | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/main/gcc/APKBUILD b/main/gcc/APKBUILD
index ef2eae162a89..a2cb5d6add54 100644
--- a/main/gcc/APKBUILD
+++ b/main/gcc/APKBUILD
@@ -9,7 +9,7 @@ pkgver=12.1.1_git20220630
 [ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
 
 pkgname="$pkgname$_target"
-pkgrel=3
+pkgrel=4
 pkgdesc="The GNU Compiler Collection"
 url="https://gcc.gnu.org"
 arch="all"
@@ -374,6 +374,7 @@ build() {
 		$_cross_configure \
 		$_bootstrap_configure \
 		$_jit_configure \
+		--with-bugurl="https://gitlab.alpinelinux.org/alpine/aports/-/issues" \
 		--with-system-zlib \
 		$_hash_style_configure
 	make
-- 
GitLab