diff --git a/minetest-gcc11.patch b/minetest-gcc11.patch new file mode 100644 index 0000000..8654b34 --- /dev/null +++ b/minetest-gcc11.patch @@ -0,0 +1,12 @@ +diff --git a/src/clientiface.cpp b/src/clientiface.cpp +index 602a44c..f94fe34 100644 +--- a/src/clientiface.cpp ++++ b/src/clientiface.cpp +@@ -17,6 +17,7 @@ with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + ++#include + #include + #include "clientiface.h" + #include "network/connection.h" diff --git a/minetest.spec b/minetest.spec index 6b29ae4..be13abf 100644 --- a/minetest.spec +++ b/minetest.spec @@ -1,6 +1,6 @@ Name: minetest Version: 5.3.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Multiplayer infinite-world block sandbox with survival mode License: LGPLv2+ and CC-BY-SA @@ -15,6 +15,7 @@ Source5: %{name}.README Source6: https://github.com/minetest/minetest_game/archive/%{version}/%{name}_game-%{version}.tar.gz Source7: http://www.gnu.org/licenses/lgpl-2.1.txt Source8: default.conf +Patch0: %{name}-gcc11.patch %if 0%{?rhel} ExclusiveArch: %{ix86} x86_64 @@ -208,6 +209,9 @@ exit 0 %changelog +* Fri Dec 04 2020 Jeff Law - 5.3.0-4 +- Fix missing #include for gcc-11 + * Mon Aug 10 2020 Artem Polishchuk - 5.3.0-3 - Disable LTO only for aarch64