-
-
Notifications
You must be signed in to change notification settings - Fork 526
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
trac 30593: patch to allow gf2x to configure and build on OS X
with Xcode 12. Patch provided by Emmanuel Thomé.
- Loading branch information
1 parent
5ec24db
commit 1500c48
Showing
1 changed file
with
54 additions
and
0 deletions.
There are no files selected for viewing
54 changes: 54 additions & 0 deletions
54
build/pkgs/gf2x/patches/gf2x-1.3.0-cc_for_build_stdlib.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,54 @@ | ||
diff -urN a/config/acinclude.m4 b/config/acinclude.m4 | ||
--- a/config/acinclude.m4 2019-12-10 13:27:51.000000000 +0100 | ||
+++ b/config/acinclude.m4 2020-09-17 23:27:26.165763845 +0200 | ||
@@ -661,6 +661,7 @@ | ||
# remove anything that might look like compiler output to our "||" expression | ||
rm -f conftest* a.out b.out a.exe a_out.exe | ||
cat >conftest.c <<EOF | ||
+#include <stdlib.h> | ||
int | ||
main () | ||
{ | ||
@@ -699,6 +700,7 @@ | ||
AC_CACHE_CHECK([for build system executable suffix], | ||
gf2x_cv_prog_exeext_for_build, | ||
[cat >conftest.c <<EOF | ||
+#include <stdlib.h> | ||
int | ||
main () | ||
{ | ||
diff -urN a/configure b/configure | ||
--- a/configure 2019-12-10 14:09:24.000000000 +0100 | ||
+++ b/configure 2020-09-17 23:27:32.374048352 +0200 | ||
@@ -17333,6 +17333,7 @@ | ||
# remove anything that might look like compiler output to our "||" expression | ||
rm -f conftest* a.out b.out a.exe a_out.exe | ||
cat >conftest.c <<EOF | ||
+#include <stdlib.h> | ||
int | ||
main () | ||
{ | ||
@@ -17365,6 +17366,7 @@ | ||
# remove anything that might look like compiler output to our "||" expression | ||
rm -f conftest* a.out b.out a.exe a_out.exe | ||
cat >conftest.c <<EOF | ||
+#include <stdlib.h> | ||
int | ||
main () | ||
{ | ||
@@ -17398,6 +17400,7 @@ | ||
# remove anything that might look like compiler output to our "||" expression | ||
rm -f conftest* a.out b.out a.exe a_out.exe | ||
cat >conftest.c <<EOF | ||
+#include <stdlib.h> | ||
int | ||
main () | ||
{ | ||
@@ -17441,6 +17444,7 @@ | ||
$as_echo_n "(cached) " >&6 | ||
else | ||
cat >conftest.c <<EOF | ||
+#include <stdlib.h> | ||
int | ||
main () | ||
{ |