fizmo: Add fizmo-0.7.6-missing-wchar-h.patch, delete old
authorNikos Chantziaras <realnc@gmail.com>
Sun, 17 Feb 2013 01:12:22 +0000 (17 03:12 +0200)
committerNikos Chantziaras <realnc@gmail.com>
Sun, 17 Feb 2013 01:12:22 +0000 (17 03:12 +0200)
games-engines/fizmo/Manifest
games-engines/fizmo/files/fizmo-0.6.9-build-system.patch [deleted file]
games-engines/fizmo/files/fizmo-0.7.2-build-system.patch [deleted file]
games-engines/fizmo/files/fizmo-0.7.6-missing-wchar-h.patch [new file with mode: 0644]
games-engines/fizmo/fizmo-0.7.4.ebuild [deleted file]
games-engines/fizmo/fizmo-0.7.5.ebuild [deleted file]
games-engines/fizmo/fizmo-0.7.6.ebuild

dissimilarity index 78%
index 2af5721..a244e0c 100644 (file)
@@ -1,9 +1,4 @@
-AUX fizmo-0.6.9-build-system.patch 3771 SHA256 307ed4f1655acb08bbee5cc7b3de4e4ed8145c0e52e03d7e32251cc4c6218360 SHA512 e5280a58ff1ed286db1102621137d696f5c619f827a8aa00e4f1539f8095b98c25adc8f2a1073a5e3e548cc667bf0f3ec3fc1e07ef1f44b2a52125687456989b WHIRLPOOL 0ccc8b17d207def401dfd08882d6ec97d12236d44c2356341ca7902d9239a262dae6e8511e9d97ce0fee5843b8a9d9aa17a6f2c2edc4aa7d58b015f4d11ecf1c
-AUX fizmo-0.7.2-build-system.patch 3633 SHA256 c1d5209389b553cea527587a1683f2833a7b26d2f40619871b57f879d74e922d SHA512 ab1b807f95e9f53dbbf0a6a09644029fcfb7ebd9c612280a656fee1a3f162ec06b88243c2027d18db32bed28ff3cf3b142b6d145c1606b6657b48c2d4c7136c7 WHIRLPOOL 5bb482be54b3fe7a8dfa25a07d3f17f3bae15abbeb7357745e650874531150a8496d9d4e2e2b93fa35a0ff67995ee283891fbb9daccb4fe0f4b885bd03e4101b
-DIST fizmo-0.7.4.tar.gz 2498405 SHA256 20369108d73c605643f8d5ee97779e2d846683b8551b157c77f3dda0a74e0919 SHA512 96f2579209649e507af8017ebca6fa519e86a1c812680d0d59e9da86eb8749c57964966ad5c48ff7867f165b5784a1b0b002619e67ba3cf7ddf2d4a4649be89e WHIRLPOOL 6ecf6a744dc725127c19c3dee215eeb690bf8964b81c32aebcd1239fa64d01c811fd09e2207ede970fbb6b4d675643cb49a9a37de27debe8828cdf8eb03ed789
-DIST fizmo-0.7.5.tar.gz 2508977 SHA256 292846d74b58590aa28c80d63dd5de3b68db1100e39bbcf3367ce20f08b61a8a SHA512 8bcda21cacb0a07a8a05b0d86001e44156c0e8a99c30e642b0fa38cc4ca99f8a653470fddf4ecb188ae1bb83114bdbc530d98bfbc6083b9c945afb2f3b4f3bd5 WHIRLPOOL 419e46e602e990f91573562f125be505f6e4b2a723957963ce47ef5a77e6642aebd929731ac38090db1157e12b22a8804956473c766c04005c56298aee21e311
-DIST fizmo-0.7.6.tar.gz 2516356 SHA256 b8e2fe2af7352ed1546300eda548cb016901efcea75dca4c981bf29441e199c4 SHA512 e5a087e150f451af7ce82e3461c7d909cb47e31f751227c7c582d2e40cf8febf9022454f218a685d87ac5919f0a3c91e45849fee870de7a22b9184de1bd6f082 WHIRLPOOL 1bf744a47ce13695c8d2f014f35a5cae3619a2d7b51e89409a642bc9d521ba7fc500bebc64348f7c1dc0900253e2b20f11aab0153744134745a4305a6672b58b
-EBUILD fizmo-0.7.4.ebuild 937 SHA256 af06535a20feb5013e1a48c210fd42b5de5837e6d71804a204f158936c0c597d SHA512 23d699e443afd0aaba8c003480d9cd13b19998dfe6bc881a38057a02b27c6bb36729b97c91b081d709a82e470d059fb5356f817024880d7bfea4eb94e97bf74a WHIRLPOOL 6b612ef1ce632f6f22392e568de270432a391c9147f8235634f80f320b103404745a3f9d1f1c1b43a57ad524434e10c7b77193e46e8d1f6777568b7b2dfa1390
-EBUILD fizmo-0.7.5.ebuild 937 SHA256 af06535a20feb5013e1a48c210fd42b5de5837e6d71804a204f158936c0c597d SHA512 23d699e443afd0aaba8c003480d9cd13b19998dfe6bc881a38057a02b27c6bb36729b97c91b081d709a82e470d059fb5356f817024880d7bfea4eb94e97bf74a WHIRLPOOL 6b612ef1ce632f6f22392e568de270432a391c9147f8235634f80f320b103404745a3f9d1f1c1b43a57ad524434e10c7b77193e46e8d1f6777568b7b2dfa1390
-EBUILD fizmo-0.7.6.ebuild 937 SHA256 af06535a20feb5013e1a48c210fd42b5de5837e6d71804a204f158936c0c597d SHA512 23d699e443afd0aaba8c003480d9cd13b19998dfe6bc881a38057a02b27c6bb36729b97c91b081d709a82e470d059fb5356f817024880d7bfea4eb94e97bf74a WHIRLPOOL 6b612ef1ce632f6f22392e568de270432a391c9147f8235634f80f320b103404745a3f9d1f1c1b43a57ad524434e10c7b77193e46e8d1f6777568b7b2dfa1390
-MISC metadata.xml 435 SHA256 1923d169268ddf8d043ca074962517fe26dfdb97e7a484a3c34af2ba92415a07 SHA512 86d365ca7e78ee9bd8aa8fba31f4221bab29bba779bd669415a24020c068f08fd3f83534dc3be24bda9a7ddf069fe38b3caf6e2f4ceb78b24f75a66c88c0d673 WHIRLPOOL 89dec606803351aec7f29f167e579df9b2a757d383dffbb47e91642ddbbec2b9edba780c71f39d49f30d366fea6fc732ab51791bb6da3daf9d7761773fcd6a15
+AUX fizmo-0.7.6-missing-wchar-h.patch 567 SHA256 2ba49693b23186ed9999c8d083df6f10bef6119490fa1c1d3ec69c01ee7d35a7 SHA512 a19c785e717d47d462f5f2fcc0799a11e4dc49f4a1c8b9e11f6f1258f8d8c56d1ed826698e5567e8fbd2098c53bdc6ee90cee244aef6dfad4312475e86c3b5c7 WHIRLPOOL 48525fd25854f94f5b7ce21e196f3959be28b318849de3b68e86a54bde1df0d6d32099c1f66ca7dd9110303c4a5ca0f6218e1960d50025bf4f2322050626676d
+DIST fizmo-0.7.6.tar.gz 2516356 SHA256 b8e2fe2af7352ed1546300eda548cb016901efcea75dca4c981bf29441e199c4 SHA512 e5a087e150f451af7ce82e3461c7d909cb47e31f751227c7c582d2e40cf8febf9022454f218a685d87ac5919f0a3c91e45849fee870de7a22b9184de1bd6f082 WHIRLPOOL 1bf744a47ce13695c8d2f014f35a5cae3619a2d7b51e89409a642bc9d521ba7fc500bebc64348f7c1dc0900253e2b20f11aab0153744134745a4305a6672b58b
+EBUILD fizmo-0.7.6.ebuild 1012 SHA256 59883c41ded533d80ce079d1fa3b650703e0ba8fe4dd02eb78b4cb3b85dfb90b SHA512 2aad6315a5f0ca39106d612e88a15dcc7209f7e368852ca3efdef1909df66d1499a0fd802d308ea14d99658fd0a8dcf9bd09d8cc880c60dabf6605e13acb4adf WHIRLPOOL 77789ba8af57c1455169507272d4032bb4b4d63c020319b6fe5effb314b9c3f11994068dfabc0a9982f9f481afc25767ddc0bd5a2d569c91501b35261fae7816
+MISC metadata.xml 435 SHA256 1923d169268ddf8d043ca074962517fe26dfdb97e7a484a3c34af2ba92415a07 SHA512 86d365ca7e78ee9bd8aa8fba31f4221bab29bba779bd669415a24020c068f08fd3f83534dc3be24bda9a7ddf069fe38b3caf6e2f4ceb78b24f75a66c88c0d673 WHIRLPOOL 89dec606803351aec7f29f167e579df9b2a757d383dffbb47e91642ddbbec2b9edba780c71f39d49f30d366fea6fc732ab51791bb6da3daf9d7761773fcd6a15
diff --git a/games-engines/fizmo/files/fizmo-0.6.9-build-system.patch b/games-engines/fizmo/files/fizmo-0.6.9-build-system.patch
deleted file mode 100644 (file)
index 34d4ec8..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-Source: dleverton
-Upstream: mentioned possibility of switching to autotools in future
-Purpose: tidy up the build system a bit: use pkg-config, and respect
-         MY_CFLAGS (we don't just pass CFLAGS on the emake command
-         line because some places do "CFLAGS +=" without "override",
-         and it seems more robust to do it this way rather than patch
-         the override in)
-
---- fizmo-0.6.9/config.default.mk~     2011-04-26 10:00:33.000000000 +0100
-+++ fizmo-0.6.9/config.default.mk      2011-05-15 15:25:58.000000000 +0100
-@@ -3,7 +3,7 @@
- CC = gcc
- AR = ar
--CFLAGS = -Wall -Wextra
-+CFLAGS = $(MY_CFLAGS)
- INSTALL_PREFIX = $(DESTDIR)/usr
---- fizmo-0.6.9/src/ncursesw/Makefile~ 2011-04-26 10:00:34.000000000 +0100
-+++ fizmo-0.6.9/src/ncursesw/Makefile  2011-05-15 15:28:55.000000000 +0100
-@@ -36,24 +36,16 @@
- endif
- ifneq ($(ENABLE_X11_IMAGES),)
-+ X11_IMAGES_MODULES = x11 gtk+-2.0 gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0 glib-2.0
-  NCURSESW_INC_DIRS +=\
--  -I$(GLIB_CONFIG_INC_DIR)\
--  -I$(GLIB_INC_DIR)\
--  -I$(GDK_CONFIG_INC_DIR)\
--  -I$(GTK_INC_DIR)\
--  -I$(GTK_INC_DIR)/gtk2\
--  -I$(CAIRO_INC_DIR)\
--  -I$(PANGO_INC_DIR)\
--  -I$(ATK_INC_DIR)\
--  -I$(GDKPIXBUF_INC_DIR)
-+  $(shell pkg-config --cflags $(X11_IMAGES_MODULES))
-  NCURSEWS_FLAGS += -DENABLE_X11_IMAGES=1
-- NCURSESW_LIB_DIRS += -L$(X11_LIB_DIR) -L$(GDK_PIXBUF_LIB_DIR)
-+ NCURSESW_LIB_DIRS += $(shell pkg-config --libs-only-L --libs-only-other $(X11_IMAGES_MODULES))
-  NCURSESW_LIBS += \
--  -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lgdk_pixbuf_xlib-2.0 \
--  -lgdk_pixbuf-2.0 -lX11 -lgtk-x11-2.0
-+  $(shell pkg-config --libs-only-l $(X11_IMAGES_MODULES))
- #  If these above won't work, try the "official" full set:
- #  -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lgdk_pixbuf-2.0 \
-@@ -67,7 +59,7 @@
- all: fizmo
- fizmo: ../fizmo/libfizmo.a ncrsw_if.o $(NCURSESW_SOUND_OBJECT)
--      $(CC) $(CFLAGS) ncrsw_if.o $(NCURSESW_SOUND_OBJECT) -L../fizmo $(NCURSESW_LIB_DIRS) $(SOUND_INTERFACE_LIB_DIRS) -lfizmo $(FIZMO_LIBS) $(NCURSESW_LIBS) $(SOUND_INTERFACE_LIBS) -o fizmo
-+      $(CC) $(LDFLAGS) ncrsw_if.o $(NCURSESW_SOUND_OBJECT) -L../fizmo $(NCURSESW_LIB_DIRS) $(SOUND_INTERFACE_LIB_DIRS) -lfizmo $(FIZMO_LIBS) $(NCURSESW_LIBS) $(SOUND_INTERFACE_LIBS) -o fizmo
- ../fizmo/libfizmo.a::
-       cd ../fizmo ; make libfizmo.a 
---- fizmo-0.6.9/src/fizmo/Makefile~    2009-10-13 20:07:24.000000000 +0100
-+++ fizmo-0.6.9/src/fizmo/Makefile     2011-05-15 15:25:58.000000000 +0100
-@@ -4,7 +4,7 @@
- ifneq ($(DISABLE_LIBXML2),)
- CFLAGS_LIBXML2 = -DDISABLE_LIBXML2=
- else
--CFLAGS_LIBXML2 = -I$(LIBXML2_INC_DIR)
-+CFLAGS_LIBXML2 = $(shell pkg-config --cflags libxml-2.0)
- endif
- ifneq ($(ENABLE_GDB_SYMBOLS),)
---- fizmo-0.6.9/src/fizmo/fizmo.mk~    2009-01-20 20:13:43.000000000 +0000
-+++ fizmo-0.6.9/src/fizmo/fizmo.mk     2011-05-15 15:25:58.000000000 +0100
-@@ -2,6 +2,6 @@
- FIZMO_LIBS = -lm
- ifeq ($(DISABLE_LIBXML2),)
-- FIZMO_LIBS += -lxml2
-+ FIZMO_LIBS += $(shell pkg-config --libs-only-l libxml-2.0)
- endif
---- fizmo-0.6.9/src/sound-sdl/sound-sdl.mk~    2009-03-28 13:03:06.000000000 +0000
-+++ fizmo-0.6.9/src/sound-sdl/sound-sdl.mk     2011-05-15 15:25:58.000000000 +0100
-@@ -1,13 +1,9 @@
--SOUND_INTERFACE_CFLAGS = -D_GNU_SOURCE=1 -D_THREAD_SAFE
--SOUND_INTERFACE_LIBS = -lSDLmain -lSDL
-+SOUND_INTERFACE_MODULES = sdl sndfile
-+SOUND_INTERFACE_CFLAGS = $(shell pkg-config --cflags $(SOUND_INTERFACE_MODULES))
-+SOUND_INTERFACE_LIBS = $(shell pkg-config --libs-only-l $(SOUND_INTERFACE_MODULES))
--SOUND_INTERFACE_LIB_DIRS = -L$(SDL_LIB_DIR)
--
--ifneq ($(SNDFILE_LIB_DIR),)
--SOUND_INTERFACE_LIB_DIRS += -L$(SNDFILE_LIB_DIR)
--SOUND_INTERFACE_LIBS += -lsndfile
--endif
-+SOUND_INTERFACE_LIB_DIRS = $(shell pkg-config --libs-only-L --libs-only-other $(SOUND_INTERFACE_MODULES))
- ifdef __APPLE__
- # Include Lib-Dir from Macports:
diff --git a/games-engines/fizmo/files/fizmo-0.7.2-build-system.patch b/games-engines/fizmo/files/fizmo-0.7.2-build-system.patch
deleted file mode 100644 (file)
index e0b7e0e..0000000
+++ /dev/null
@@ -1,114 +0,0 @@
-Source: dleverton
-Upstream: mentioned possibility of switching to autotools in future
-Purpose: tidy up the build system a bit: make it easier to sed
-         user-controllable values into the config file (not passing
-         them on the emake command line anymore as we're now calling
-         emake multiple times), use glkloader instead of hardcoding
-         glktermw, etc
-
---- fizmo-0.7.2b/config.default.mk~    2012-01-27 12:26:17.000000000 +0000
-+++ fizmo-0.7.2b/config.default.mk     2012-02-05 22:41:35.000000000 +0000
-@@ -1,7 +1,8 @@
--CC = gcc
-+CC = @CC@
- AR = ar
--override CFLAGS += -Wall -Wextra
-+CFLAGS = @CFLAGS@ -Wall -Wextra
-+LDFLAGS = @LDFLAGS@
- # Since the "fizmo-all" metapackage will install all modules into a separate
- # "build" directory -- in order not to install dev-files into the installation
-@@ -10,8 +11,8 @@
- PKG_CONFIG_PATH \
-  := $(PKG_CONFIG_PATH):$(dir $(lastword $(MAKEFILE_LIST)))../build/lib/pkgconfig
--prefix = /usr/local
--bindir = $(prefix)/games
-+prefix = /usr
-+bindir = $(prefix)/games/bin
- datarootdir = $(prefix)/share
- mandir = $(datarootdir)/man
- localedir = $(datarootdir)/fizmo/locales
-@@ -19,7 +20,7 @@
- # -----
- # General settings:
--ENABLE_OPTIMIZATION = 1
-+#ENABLE_OPTIMIZATION = 1
- #ENABLE_TRACING = 1
- #ENABLE_GDB_SYMBOLS = 1
- # -----
-@@ -31,7 +32,7 @@
- LOCALE_SEARCH_PATH = $(localedir)
- #ENABLE_STRICT_Z = 1
- #THROW_SIGFAULT_ON_ERROR = 1
--#DISABLE_BABEL = 1
-+DISABLE_BABEL = @DISABLE_BABEL@
- #DISABLE_FILELIST = 1
- #DISABLE_BLOCKBUFFER = 1
- #DISABLE_COMMAND_HISTORY = 1
-@@ -121,34 +122,34 @@
- # In case pkg-config has no information about ncursesw, you have to provide
- # the required flags below:
- NCURSESW_NONPKG_CFLAGS = -I/usr/include/ncursesw
--NCURSESW_NONPKG_LIBS = -L/usr/lib -lncursesw
-+NCURSESW_NONPKG_LIBS = -lncursesw
- # -----
- # -----
- # Settings for fizmo-ncursesw (also requires ncursesw, above):
--ENABLE_X11_IMAGES = 1
-+ENABLE_X11_IMAGES = @ENABLE_X11_IMAGES@
- SOUND_INTERFACE_CONFIGNAME = SOUNDSDL
- SOUND_INTERFACE_STRUCT_NAME = sound_interface_sdl
- SOUND_INTERFACE_INCLUDE_FILE = sound_sdl/sound_sdl.h
--SOUND_INTERFACE_NAME = libsndifsdl
-+SOUND_INTERFACE_NAME = @SOUND_INTERFACE_NAME@
- # -----
- # -----
- # Settings for libglkif:
--LIBGLK_NONPKG_CFLAGS = -I$(HOME)/opt/glktermw
--LIBGLK_NONPKG_LIBS = -L$(HOME)/opt/glktermw
-+LIBGLK_NONPKG_CFLAGS = -I/usr/include/glk
-+LIBGLK_NONPKG_LIBS =
- # -----
- # -----
- # Settings for fizmo-glkterm (also requires ncursesw, above):
--LIBGLKTERMW_NONPKG_CFLAGS = -I$(HOME)/opt/glktermw
--LIBGLKTERMW_NONPKG_LIBS = -L$(HOME)/opt/glktermw
-+LIBGLKTERMW_NONPKG_CFLAGS = -I/usr/include/glk
-+LIBGLKTERMW_NONPKG_LIBS =
- # -----
---- fizmo-0.7.2b/fizmo-glktermw/src/fizmo-glktermw/Makefile~   2011-11-07 07:01:00.000000000 +0000
-+++ fizmo-0.7.2b/fizmo-glktermw/src/fizmo-glktermw/Makefile    2012-02-05 22:41:07.000000000 +0000
-@@ -15,7 +15,7 @@
- LIBS += $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-config --libs libfizmo)
- LIBS += $(LIBGLKTERMW_NONPKG_LIBS)
- LIBS += $(NCURSESW_NONPKG_LIBS) $(NCURSESW_PKG_LIBS)
--LIBS += -lglkif -lglktermw
-+LIBS += -lglkif -lglkloader
- fizmo-glktermw: fizmo-glktermw.o
---- fizmo-0.7.2b/fizmo-ncursesw/src/fizmo-ncursesw/Makefile~   2011-11-07 06:59:17.000000000 +0000
-+++ fizmo-0.7.2b/fizmo-ncursesw/src/fizmo-ncursesw/Makefile    2012-02-05 22:41:07.000000000 +0000
-@@ -4,7 +4,7 @@
- include ../../config.mk
--override CFLAGS += -g -O2 $(SOUND_INTERFACE_CFLAGS)
-+override CFLAGS += $(SOUND_INTERFACE_CFLAGS)
- override CFLAGS += $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-config \
-  --cflags libfizmo)
- override CFLAGS += $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-config \
diff --git a/games-engines/fizmo/files/fizmo-0.7.6-missing-wchar-h.patch b/games-engines/fizmo/files/fizmo-0.7.6-missing-wchar-h.patch
new file mode 100644 (file)
index 0000000..3e83039
--- /dev/null
@@ -0,0 +1,18 @@
+commit eb9d8f4cdcebb0654542a172b40a6c16f632598c
+Author: Nikos Chantziaras <realnc@gmail.com>
+Date:   Sun Feb 17 02:42:20 2013 +0200
+
+    Add missing wchar.h include
+
+diff --git a/src/fizmo-ncursesw/fizmo-ncursesw.c b/src/fizmo-ncursesw/fizmo-ncursesw.c
+index ee8d5a9..173a8a4 100644
+--- a/fizmo-ncursesw/src/fizmo-ncursesw/fizmo-ncursesw.c
++++ b/fizmo-ncursesw/src/fizmo-ncursesw/fizmo-ncursesw.c
+@@ -45,6 +45,7 @@
+ #include <signal.h>
+ #include <ncurses.h>
+ //#include <ncursesw/ncurses.h>
++#include <wchar.h>
+ #include <tools/i18n.h>
+ #include <tools/tracelog.h>
diff --git a/games-engines/fizmo/fizmo-0.7.4.ebuild b/games-engines/fizmo/fizmo-0.7.4.ebuild
deleted file mode 100644 (file)
index 355b06b..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-
-inherit eutils games
-
-DESCRIPTION="Yet another Z-machine interpreter"
-HOMEPAGE="http://www.spellbreaker.org/~chrender/fizmo/"
-SRC_URI="http://www.spellbreaker.org/~chrender/fizmo/source/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="+aiff +jpeg +png +X"
-REQUIRED_USE="jpeg? ( X ) png? ( X )"
-
-RDEPEND="jpeg? ( virtual/jpeg )
-       png? ( media-libs/libpng )
-       X? ( x11-libs/libX11 )
-       sys-libs/ncurses[unicode]
-       media-libs/libsdl
-       aiff? ( media-libs/libsndfile )
-       dev-libs/libxml2"
-DEPEND="${RDEPEND}
-       dev-util/pkgconfig"
-
-DOCS="CHANGELOG.txt README-0.7.txt README.txt user-config-example.txt"
-
-src_configure() {
-       egamesconf \
-               $(use_enable aiff) \
-               $(use_enable jpeg) \
-               $(use_enable png) \
-               $(use_enable X x11)
-}
-
-src_install() {
-       emake DESTDIR="${D}" install
-       dodoc ${DOCS}
-       prepgamesdirs
-}
diff --git a/games-engines/fizmo/fizmo-0.7.5.ebuild b/games-engines/fizmo/fizmo-0.7.5.ebuild
deleted file mode 100644 (file)
index 355b06b..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-
-inherit eutils games
-
-DESCRIPTION="Yet another Z-machine interpreter"
-HOMEPAGE="http://www.spellbreaker.org/~chrender/fizmo/"
-SRC_URI="http://www.spellbreaker.org/~chrender/fizmo/source/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="+aiff +jpeg +png +X"
-REQUIRED_USE="jpeg? ( X ) png? ( X )"
-
-RDEPEND="jpeg? ( virtual/jpeg )
-       png? ( media-libs/libpng )
-       X? ( x11-libs/libX11 )
-       sys-libs/ncurses[unicode]
-       media-libs/libsdl
-       aiff? ( media-libs/libsndfile )
-       dev-libs/libxml2"
-DEPEND="${RDEPEND}
-       dev-util/pkgconfig"
-
-DOCS="CHANGELOG.txt README-0.7.txt README.txt user-config-example.txt"
-
-src_configure() {
-       egamesconf \
-               $(use_enable aiff) \
-               $(use_enable jpeg) \
-               $(use_enable png) \
-               $(use_enable X x11)
-}
-
-src_install() {
-       emake DESTDIR="${D}" install
-       dodoc ${DOCS}
-       prepgamesdirs
-}
index 355b06b..b721397 100644 (file)
@@ -28,6 +28,10 @@ DEPEND="${RDEPEND}
 
 DOCS="CHANGELOG.txt README-0.7.txt README.txt user-config-example.txt"
 
+src_prepare() {
+       epatch "${FILESDIR}"/fizmo-0.7.6-missing-wchar-h.patch
+}
+
 src_configure() {
        egamesconf \
                $(use_enable aiff) \