forked from msys2/MINGW-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkgconf: revert commit causing issues with PKG_CONFIG_PATH
Signed-off-by: Christopher Degawa <ccom@randomderp.com>
- Loading branch information
Showing
2 changed files
with
30 additions
and
3 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
mingw-w64-pkgconf/384ade5f316367f15da9dbf09853e06fe29bf2bf.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
From 384ade5f316367f15da9dbf09853e06fe29bf2bf Mon Sep 17 00:00:00 2001 | ||
From: Ariadne Conill <ariadne@dereferenced.org> | ||
Date: Fri, 4 Aug 2023 08:24:32 +0000 | ||
Subject: [PATCH] path: prepend paths rather than append paths when processing | ||
--with-path arguments | ||
|
||
--- | ||
libpkgconf/path.c | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/libpkgconf/path.c b/libpkgconf/path.c | ||
index e591298d..a48a226e 100644 | ||
--- a/libpkgconf/path.c | ||
+++ b/libpkgconf/path.c | ||
@@ -112,7 +112,7 @@ pkgconf_path_add(const char *text, pkgconf_list_t *dirlist, bool filter) | ||
} | ||
#endif | ||
|
||
- pkgconf_node_insert_tail(&node->lnode, node, dirlist); | ||
+ pkgconf_node_insert(&node->lnode, node, dirlist); | ||
} | ||
|
||
/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters