mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-11 11:47:02 +02:00
xbps: fix build with gcc14
This commit is contained in:
parent
6f71c8889c
commit
73c8cdee1d
1 changed files with 13 additions and 0 deletions
13
srcpkgs/xbps/patches/fix-transposed-calloc.patch
Normal file
13
srcpkgs/xbps/patches/fix-transposed-calloc.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/bin/xbps-fbulk/main.c b/bin/xbps-fbulk/main.c
|
||||
index 6591bb61..4408bf20 100644
|
||||
--- a/bin/xbps-fbulk/main.c
|
||||
+++ b/bin/xbps-fbulk/main.c
|
||||
@@ -397,7 +397,7 @@ runBuilds(const char *bpath)
|
||||
static void
|
||||
addDepn(struct item *item, struct item *xitem)
|
||||
{
|
||||
- struct depn *depn = calloc(sizeof(*depn), 1);
|
||||
+ struct depn *depn = calloc(1, sizeof(*depn));
|
||||
char *logpath3;
|
||||
FILE *fp;
|
||||
|
Loading…
Add table
Reference in a new issue