-
-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #314810 from GiulioCocconi/fix/smalltalk
gnu-smalltalk: fix build
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
pkgs/development/compilers/gnu-smalltalk/0000-fix_mkorder.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,21 @@ | ||
--- a/packages/gtk/mkorder.awk | ||
+++ b/packages/gtk/mkorder.awk | ||
@@ -33,6 +33,9 @@ | ||
paths[1] = "." | ||
n_paths = 1 | ||
n_prefixes = split(_prefixes, prefixes) | ||
+ | ||
+ ignored_files = [ "glib/gwin32.h" ] | ||
+ | ||
split(_libs, libs) | ||
split(_files, files) | ||
for (i = 1; (i in libs); i++) | ||
@@ -60,7 +63,7 @@ | ||
|
||
function process_file(name, file) { | ||
file = find_file(name) | ||
- if (file in processed) | ||
+ if ((name in ignored_files) or (file in processed)) | ||
return | ||
processed[file] = 1 | ||
if (file == "") |
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