diff --git a/abe-1.1-settings.patch b/abe-1.1-settings.patch new file mode 100644 index 0000000..ea5809f --- /dev/null +++ b/abe-1.1-settings.patch @@ -0,0 +1,12 @@ +diff -Naur --exclude '*.swp' abe-1.1/src/Menu.c abe-1.1.new/src/Menu.c +--- abe-1.1/src/Menu.c 2005-03-05 08:20:04.000000000 -0800 ++++ abe-1.1.new/src/Menu.c 2006-04-02 15:04:37.000000000 -0700 +@@ -116,7 +116,7 @@ + if(n == SOUND_ENABLED || n == MUSIC_ENABLED) + return sound_loaded; + else +- return 0; ++ return 1; + } + + void diff --git a/abe.spec b/abe.spec index 4348f4f..2db21a0 100644 --- a/abe.spec +++ b/abe.spec @@ -1,6 +1,6 @@ Name: abe Version: 1.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Scrolling, platform-jumping, ancient pyramid exploring game Group: Amusements/Games @@ -8,6 +8,7 @@ License: GPL URL: http://abe.sourceforge.net/ Source0: http://dl.sourceforge.net/abe/abe-1.1.tar.gz Source1: %{name}.png +Patch0: abe-1.1-settings.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: SDL-devel >= 1.2.3, SDL_mixer-devel >= 1.2.3 @@ -19,6 +20,7 @@ vaguely in the style of similar games for the Commodore+4. %prep %setup -q +%patch -p1 %build %configure --with-data-dir=%{_datadir}/%{name} @@ -63,6 +65,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/pixmaps/* %changelog +* Sun Apr 2 2006 Wart 1.1-2 +- Enable changing the video settings (BZ #187589) + * Sat Mar 4 2006 Wart 1.1-1 - Update to 1.1