diff --git a/berusky2-0.7-glut.patch b/berusky2-0.7-glut.patch new file mode 100644 index 0000000..80533aa --- /dev/null +++ b/berusky2-0.7-glut.patch @@ -0,0 +1,12 @@ +diff -up berusky2-0.7/src/tmp/alut_test.cpp.glut berusky2-0.7/src/tmp/alut_test.cpp +--- berusky2-0.7/src/tmp/alut_test.cpp.glut 2012-03-28 22:16:30.000000000 +0200 ++++ berusky2-0.7/src/tmp/alut_test.cpp 2012-03-29 00:10:02.367429938 +0200 +@@ -26,7 +26,7 @@ + * + */ + #include +-#include ++#include + #include + #include "compat_mini.h" + diff --git a/berusky2.spec b/berusky2.spec index 5beecdf..686156d 100644 --- a/berusky2.spec +++ b/berusky2.spec @@ -6,6 +6,7 @@ Summary: Sokoban clone Group: Amusements/Games Source: http://www.anakreon.cz/download/%{name}-%{version}.tar.gz URL: http://www.anakreon.cz/en/Berusky2.htm +Patch0: berusky2-0.7-glut.patch Requires: berusky2-data >= 0.6 BuildRequires: SDL-devel @@ -26,6 +27,7 @@ which increases throughout the game. %prep %setup -q +%patch0 -p1 -b .glut %build %configure CFLAGS="$RPM_OPT_FLAGS"