xbps: workaround alternatives bug
This commit is contained in:
parent
311dc44c33
commit
5490b21922
|
@ -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;
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue