mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 02:12:09 -05:00
Ports: Build fix for gcc when building the port with gcc 11.1.0
This commit is contained in:
parent
d2a5d76b54
commit
669676b635
1 changed files with 20 additions and 0 deletions
20
Ports/gcc/patches/fenv.patch
Normal file
20
Ports/gcc/patches/fenv.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
diff -Naur gcc-11.1.0/libstdc++-v3/include/c_compatibility/fenv.h gcc-11.1.0.serenity/libstdc++-v3/include/c_compatibility/fenv.h
|
||||
--- gcc-11.1.0/libstdc++-v3/include/c_compatibility/fenv.h 2021-04-27 12:00:16.000000000 +0200
|
||||
+++ gcc-11.1.0.serenity/libstdc++-v3/include/c_compatibility/fenv.h 2021-04-27 18:19:15.749373118 +0200
|
||||
@@ -26,8 +26,8 @@
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
-#ifndef _GLIBCXX_FENV_H
|
||||
-#define _GLIBCXX_FENV_H 1
|
||||
+#ifndef _GLIBCXX_PORT_FENV_H
|
||||
+#define _GLIBCXX_PORT_FENV_H 1
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
@@ -78,4 +78,4 @@
|
||||
|
||||
#endif // C++11
|
||||
|
||||
-#endif // _GLIBCXX_FENV_H
|
||||
+#endif // _GLIBCXX_PORT_FENV_H
|
Loading…
Add table
Reference in a new issue