-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
41cddd6
commit 4774376
Showing
7 changed files
with
51 additions
and
16 deletions.
There are no files selected for viewing
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
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
14 changes: 14 additions & 0 deletions
14
patches/Python3/0200-launcher-permissive-c-error-on-gcc14.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,14 @@ | ||
diff --git a/PC/launcher.c b/PC/launcher.c | ||
index 09ac7d902c..f97648cbf7 100644 | ||
--- a/PC/launcher.c | ||
+++ b/PC/launcher.c | ||
@@ -1,3 +1,9 @@ | ||
+#if defined __GNUC__ && __GNUC__ >= 14 | ||
+#pragma GCC diagnostic warning "-Wimplicit-function-declaration" | ||
+#pragma GCC diagnostic warning "-Wincompatible-pointer-types" | ||
+#pragma GCC diagnostic warning "-Wint-conversion" | ||
+#pragma GCC diagnostic warning "-Wreturn-mismatch" | ||
+#endif | ||
/* | ||
* Copyright (C) 2011-2013 Vinay Sajip. | ||
* Licensed to PSF under a contributor agreement. |
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,13 @@ | ||
diff --git a/Makefile.in b/Makefile.2.in | ||
index 66e5d02..dd26354 100644 | ||
--- a/Makefile.in | ||
+++ b/Makefile.2.in | ||
@@ -31,7 +31,7 @@ MAKEINFO = makeinfo | ||
|
||
DEFS = @DEFS@ -DTERMCAP_FILE=\"$(termcapfile)\" | ||
|
||
-CFLAGS = -g | ||
+CFLAGS = @CFLAGS@ | ||
|
||
prefix = @prefix@ | ||
exec_prefix = @exec_prefix@ |
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
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
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