From e0c64a646d6e7d169a10faa636e0912e6cfae334 Mon Sep 17 00:00:00 2001
From: psykose <alice@ayaya.dev>
Date: Sat, 10 Sep 2022 10:03:47 +0000
Subject: [PATCH] main/gcc: add pkgrel info into version output

this makes gcc --version output also contain the pkgrel, which can
sometimes be useful
---
 main/gcc/APKBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/gcc/APKBUILD b/main/gcc/APKBUILD
index 67d0ff201bf0..abe859ab0d83 100644
--- a/main/gcc/APKBUILD
+++ b/main/gcc/APKBUILD
@@ -356,7 +356,7 @@ build() {
 		--build=${CBUILD} \
 		--host=${CHOST} \
 		--target=${CTARGET} \
-		--with-pkgversion="Alpine $pkgver" \
+		--with-pkgversion="Alpine $pkgver-r$pkgrel" \
 		--enable-checking=release \
 		--disable-fixed-point \
 		--disable-libstdcxx-pch \
-- 
GitLab