diff --git a/srcpkgs/xbps/patches/99-cc-alternative-workaround.patch b/srcpkgs/xbps/patches/99-cc-alternative-workaround.patch new file mode 100644 index 0000000000..bfee308cb9 --- /dev/null +++ b/srcpkgs/xbps/patches/99-cc-alternative-workaround.patch @@ -0,0 +1,14 @@ +diff --git lib/package_alternatives.c lib/package_alternatives.c +index ecdc40ae..2dbb6546 100644 +--- lib/package_alternatives.c ++++ lib/package_alternatives.c +@@ -113,6 +113,9 @@ remove_symlinks(struct xbps_handle *xhp, xbps_array_t a, const char *grname) + unsigned int i, cnt; + struct stat st; + ++ if (strcmp(grname, "cc") == 0) ++ return 0; ++ + cnt = xbps_array_count(a); + for (i = 0; i < cnt; i++) { + xbps_string_t str; diff --git a/srcpkgs/xbps/template b/srcpkgs/xbps/template index c61c7ad1c8..b620ae8cbf 100644 --- a/srcpkgs/xbps/template +++ b/srcpkgs/xbps/template @@ -1,7 +1,7 @@ # Template file for 'xbps' pkgname=xbps version=0.57.1 -revision=4 +revision=5 bootstrap=yes build_style=configure short_desc="XBPS package system utilities"