-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
[staging] stdenv: gcc_11 → gcc_12 #206907
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
cb57273
stdenv: gcc_11 → gcc_12
fabianhjr 713db8d
linux/hardened: make GCC_STRUCTLEAK optional since it isn't an option
fabianhjr 99c7bd7
unittest-cpp: add gcc12 patch
fabianhjr 4139207
tg_owt: add gcc12 patch
fabianhjr 0cf5d85
treewide: add gcc12 flags
fabianhjr 5fddee7
vte: change stdenv override to only aarch64-linux
fabianhjr b3195fa
clucene_core_2: add arch patch for missing include
fabianhjr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
49 changes: 49 additions & 0 deletions
49
pkgs/development/libraries/clucene-core/fix-missing-include-time.patch
This file contains hidden or 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,49 @@ | ||
| From c1c2000c35ff39b09cb70fbdf66a107d3b17a674 Mon Sep 17 00:00:00 2001 | ||
| From: Stephan Bergmann <sbergman@redhat.com> | ||
| Date: Wed, 12 Oct 2022 08:40:49 +0200 | ||
| Subject: [PATCH] Fix missing #include <time.h> | ||
| MIME-Version: 1.0 | ||
| Content-Type: text/plain; charset=UTF-8 | ||
| Content-Transfer-Encoding: 8bit | ||
|
|
||
| At least on recent Fedora 37 beta, building now failed with | ||
|
|
||
| > CLucene/document/DateTools.cpp:26:19: error: ‘gmtime’ was not declared in this scope | ||
| > 26 | tm *ptm = gmtime(&secs); | ||
| > | ^~~~~~ | ||
|
|
||
| etc. | ||
|
|
||
| As it turns out, after 22f9d40320e3deeaa8d6aaa7a770077c20a21dae "git-svn-id: | ||
| https://clucene.svn.sourceforge.net/svnroot/clucene/branches/lucene2_3_2@2672 | ||
| 20ef185c-fe11-0410-a618-ba9304b01011" on 2008-06-26 had commented out | ||
| _CL_TIME_WITH_SYS_TIME in clucene-config.h.cmake as "not actually used for | ||
| anything", then cceccfb52917b5f4da447f1cf20c135952d41442 "Presenting DateTools | ||
| and deprecating DateField. DateTools still requires some testing and its own | ||
| unit testing" on 2008-06-29 had introduced this use of it (into then | ||
| src/CLucene/document/DateTools.H). And apparently most build environments have | ||
| silently been happy ever since when the dead leading check for | ||
| _CL_TIME_WITH_SYS_TIME didn't include both <sys/time.h> and <time.h>, but the | ||
| following check for _CL_HAVE_SYS_TIME_H only included <sys/time.h> but not | ||
| <time.h>. | ||
| --- | ||
| src/shared/CLucene/clucene-config.h.cmake | 3 +-- | ||
| 1 file changed, 1 insertion(+), 2 deletions(-) | ||
|
|
||
| diff --git a/src/shared/CLucene/clucene-config.h.cmake b/src/shared/CLucene/clucene-config.h.cmake | ||
| index bd8683a5..6fe0f92b 100644 | ||
| --- a/src/shared/CLucene/clucene-config.h.cmake | ||
| +++ b/src/shared/CLucene/clucene-config.h.cmake | ||
| @@ -100,8 +100,7 @@ ${SYMBOL__T} | ||
| //#cmakedefine _CL_STAT_MACROS_BROKEN | ||
|
|
||
| /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ | ||
| -//not actually used for anything... | ||
| -//#cmakedefine _CL_TIME_WITH_SYS_TIME 1 | ||
| +#cmakedefine _CL_TIME_WITH_SYS_TIME 1 | ||
|
|
||
| /* Define that we will be using -fvisibility=hidden, and | ||
| * make public classes visible using __attribute__ ((visibility("default"))) | ||
| -- | ||
| 2.37.3 | ||
|
|
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.