[gentoo-commits] repo/gentoo:master commit in: games-engines/gargoyle/

2024-03-13 Thread Sam James
commit: f2695798e5f3ef8b273cdbfe323e7e24c82208ad
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar 14 03:29:20 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 14 05:21:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2695798

games-engines/gargoyle: fix VariableOrderWrong

Signed-off-by: Sam James  gentoo.org>

 games-engines/gargoyle/gargoyle-2019.1.1.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/games-engines/gargoyle/gargoyle-2019.1.1.ebuild 
b/games-engines/gargoyle/gargoyle-2019.1.1.ebuild
index e37df39de5b6..b056e2f28b60 100644
--- a/games-engines/gargoyle/gargoyle-2019.1.1.ebuild
+++ b/games-engines/gargoyle/gargoyle-2019.1.1.ebuild
@@ -15,6 +15,7 @@ inherit desktop edos2unix flag-o-matic multiprocessing 
toolchain-funcs xdg
 DESCRIPTION="An Interactive Fiction (IF) player supporting all major formats"
 HOMEPAGE="http://ccxvii.net/gargoyle/";
 SRC_URI="https://github.com/garglk/garglk/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/garglk-${PV}"
 
 LICENSE="BSD GPL-2 MIT Hugo Glulxe"
 SLOT="0"
@@ -36,8 +37,6 @@ BDEPEND="
dev-util/ftjam
virtual/pkgconfig"
 
-S="${WORKDIR}/garglk-${PV}"
-
 PATCHES=(
"${FILESDIR}"/${P}-fno-common.patch
"${FILESDIR}"/${P}-QA-desktop.patch



[gentoo-commits] repo/gentoo:master commit in: games-engines/gargoyle/

2024-03-13 Thread Sam James
commit: c8f56e7d9f586ac079f8433998676827f4781e3c
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar 14 03:28:24 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 14 05:21:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8f56e7d

games-engines/gargoyle: filter LTO, no-SA

Aliasing violations in bundled library. I get the impression upstream isn't
interested in fixing these.

Closes: https://bugs.gentoo.org/858716
Signed-off-by: Sam James  gentoo.org>

 games-engines/gargoyle/gargoyle-2019.1.1.ebuild | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/games-engines/gargoyle/gargoyle-2019.1.1.ebuild 
b/games-engines/gargoyle/gargoyle-2019.1.1.ebuild
index 167f28407813..e37df39de5b6 100644
--- a/games-engines/gargoyle/gargoyle-2019.1.1.ebuild
+++ b/games-engines/gargoyle/gargoyle-2019.1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # Regarding licenses: libgarglk is licensed under the GPLv2. Bundled
@@ -64,6 +64,10 @@ src_prepare() {
 }
 
 src_compile() {
+   # Aliasing violations in bundled glulxe library (bug #858716)
+   append-flags -fno-strict-aliasing
+   filter-lto
+
# build system messes up flags and toolchain completely
# append flags to compiler commands to have consistent behavior
jam \



[gentoo-commits] repo/gentoo:master commit in: games-engines/gargoyle/, games-engines/gargoyle/files/

2021-03-15 Thread Andreas Sturmlechner
commit: 64526015be46e9820b570ba5d2980971b495bf2f
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Mar 15 16:48:54 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Mar 15 19:37:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64526015

games-engines/gargoyle: Drop 2011.1-r1

Closes: https://bugs.gentoo.org/739206
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 games-engines/gargoyle/Manifest|   1 -
 .../files/gargoyle-2011.1-desktopfile.patch|  31 --
 games-engines/gargoyle/gargoyle-2011.1-r1.ebuild   | 118 -
 3 files changed, 150 deletions(-)

diff --git a/games-engines/gargoyle/Manifest b/games-engines/gargoyle/Manifest
index 63d013dc874..6e8c1f0c0fd 100644
--- a/games-engines/gargoyle/Manifest
+++ b/games-engines/gargoyle/Manifest
@@ -1,2 +1 @@
-DIST gargoyle-2011.1-sources.zip 11291660 BLAKE2B 
aac47c41bd02e772c4717dfdeae8678105f72704641ea3df39105d412afe61734cc43f863b9556e38ea34287259df9f4d72ae93b3092d0372434b9f59f99483d
 SHA512 
65159580cf3494944f841c44320135580557258e37ad5523ae3ea30555c19834a2793231a8e42c217e5c1d055d50ed6a20d372d6302e880a2818bc4ea59b226f
 DIST gargoyle-2019.1.1.tar.gz 14700448 BLAKE2B 
b5e6d43349d01fe3484abc7779cfe3f1e94c3f6d647d338f8acbfe97d160da53b6297273e67f84eb0409623bbb4c0d8e3008d42b16a800d756be71a02538969a
 SHA512 
0d1f2724bd6227142eb67c146557a992a6d62af172398c9961511ce5c080e517d1e12ca9bc6be27c1893e404026256257bf3a04cb05923723c0886f111adc4e3

diff --git a/games-engines/gargoyle/files/gargoyle-2011.1-desktopfile.patch 
b/games-engines/gargoyle/files/gargoyle-2011.1-desktopfile.patch
deleted file mode 100644
index 6b66328da01..000
--- a/games-engines/gargoyle/files/gargoyle-2011.1-desktopfile.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From: Julian Ospald 
-Date: Tue Aug 21 19:06:54 UTC 2012
-Subject: desktop file
-
-fix QA issues:
-
-# desktop-file-validate /usr/share/applications/gargoyle.desktop
-/usr/share/applications/gargoyle.desktop: error: file contains at least one 
line ending with a carriage return, while lines should only be separated by a 
line feed character. First such line is: "[Desktop Entry]"
-/usr/share/applications/gargoyle.desktop: error: (will be fatal in the 
future): value "gargoyle-house.png" for key "Icon" in group "Desktop Entry" is 
an icon name with an extension, but there should be no extension as described 
in the Icon Theme Specification if the value is not an absolute path
-
 garglk/gargoyle.desktop
-+++ garglk/gargoyle.desktop
-@@ -1,9 +1,9 @@
--[Desktop Entry]
--Version=1.0
--Type=Application
--Name=Gargoyle
--GenericName=Interactive Fiction interpreter
--Comment=Interactive Fiction multi-interpreter that supports all major IF 
formats
--Icon=gargoyle-house.png
--Exec=gargoyle
--Categories=Game;
-+[Desktop Entry]
-+Version=1.0
-+Type=Application
-+Name=Gargoyle
-+GenericName=Interactive Fiction interpreter
-+Comment=Interactive Fiction multi-interpreter that supports all major IF 
formats
-+Icon=gargoyle-house
-+Exec=gargoyle
-+Categories=Game;

diff --git a/games-engines/gargoyle/gargoyle-2011.1-r1.ebuild 
b/games-engines/gargoyle/gargoyle-2011.1-r1.ebuild
deleted file mode 100644
index 82e11b23782..000
--- a/games-engines/gargoyle/gargoyle-2011.1-r1.ebuild
+++ /dev/null
@@ -1,118 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# Regarding licenses: libgarglk is licensed under the GPLv2. Bundled
-# interpreters are licensed under GPLv2, BSD or MIT license, except:
-#   - glulxe: custom license, see "terps/glulxle/README"
-#   - hugo: custom license, see "licenses/HUGO License.txt"
-# Since we don't compile or install any of the bundled fonts, their licenses
-# don't apply. (Fonts are installed through dependencies instead.)
-
-EAPI=6
-inherit eutils flag-o-matic gnome2-utils multilib multiprocessing 
toolchain-funcs
-
-DESCRIPTION="An Interactive Fiction (IF) player supporting all major formats"
-HOMEPAGE="http://ccxvii.net/gargoyle/";
-SRC_URI="https://garglk.googlecode.com/files/${P}-sources.zip";
-
-LICENSE="BSD GPL-2 MIT Hugo Glulxe"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="
-   media-fonts/libertine
-   media-fonts/liberation-fonts
-   media-libs/freetype:2
-   media-libs/libpng:0
-   media-libs/sdl-mixer
-   media-libs/sdl-sound[modplug,mp3,vorbis]
-   sys-libs/zlib
-   virtual/jpeg:0
-   x11-libs/gtk+:2"
-DEPEND="${RDEPEND}
-   app-arch/unzip
-   dev-util/ftjam
-   virtual/pkgconfig"
-
-S=${WORKDIR}
-
-src_prepare() {
-   # Substitute custom CFLAGS/LDFLAGS.
-   sed -i -e \
-   "/^\s*OPTIM = / {
-   s/ \(-O.*\)\? ;/ ;/
-   a LINKFLAGS = ${LDFLAGS} ;
-   a SHRLINKFLAGS = ${LDFLAGS} ;
-   }" Jamrules || die
-
-   # Don't link agai

[gentoo-commits] repo/gentoo:master commit in: games-engines/gargoyle/

2021-02-27 Thread Sam James
commit: 36ec19e265070eb6abe011f47117899c521cb064
Author: Mikk Margus Möll  eesti  ee>
AuthorDate: Sat Feb 27 19:06:10 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb 27 19:11:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36ec19e2

games-engines/gargoyle: Fix typo in BDEPEND

Bug: https://bugs.gentoo.org/739206
Package-Manager: Portage-3.0.15, Repoman-3.0.2
Signed-off-by: Mikk Margus Möll  eesti.ee>
Closes: https://github.com/gentoo/gentoo/pull/19694
Signed-off-by: Sam James  gentoo.org>

 games-engines/gargoyle/gargoyle-2019.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-engines/gargoyle/gargoyle-2019.1.1.ebuild 
b/games-engines/gargoyle/gargoyle-2019.1.1.ebuild
index cfd146901b6..167f2840781 100644
--- a/games-engines/gargoyle/gargoyle-2019.1.1.ebuild
+++ b/games-engines/gargoyle/gargoyle-2019.1.1.ebuild
@@ -31,7 +31,7 @@ RDEPEND="
virtual/jpeg:0
x11-libs/gtk+:2"
 DEPEND="${RDEPEND}"
-BDEPEBD="
+BDEPEND="
app-arch/unzip
dev-util/ftjam
virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: games-engines/gargoyle/, games-engines/gargoyle/files/

2021-02-20 Thread David Seifert
commit: 0eb5945523b372ac326be69382e32d067358486b
Author: Jakov Smolic  sartura  hr>
AuthorDate: Sat Feb 20 19:31:11 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Feb 20 19:31:11 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eb59455

games-engines/gargoyle: Bump to 2019.1.1

* Fix build with gcc-10

Closes: https://bugs.gentoo.org/750404
Bug: https://bugs.gentoo.org/739206
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 games-engines/gargoyle/Manifest|   1 +
 .../files/gargoyle-2019.1.1-QA-desktop.patch   |  11 ++
 .../files/gargoyle-2019.1.1-fno-common.patch   | 168 +
 games-engines/gargoyle/gargoyle-2019.1.1.ebuild| 109 +
 games-engines/gargoyle/metadata.xml|   2 +-
 5 files changed, 290 insertions(+), 1 deletion(-)

diff --git a/games-engines/gargoyle/Manifest b/games-engines/gargoyle/Manifest
index 1be9eb20f80..63d013dc874 100644
--- a/games-engines/gargoyle/Manifest
+++ b/games-engines/gargoyle/Manifest
@@ -1 +1,2 @@
 DIST gargoyle-2011.1-sources.zip 11291660 BLAKE2B 
aac47c41bd02e772c4717dfdeae8678105f72704641ea3df39105d412afe61734cc43f863b9556e38ea34287259df9f4d72ae93b3092d0372434b9f59f99483d
 SHA512 
65159580cf3494944f841c44320135580557258e37ad5523ae3ea30555c19834a2793231a8e42c217e5c1d055d50ed6a20d372d6302e880a2818bc4ea59b226f
+DIST gargoyle-2019.1.1.tar.gz 14700448 BLAKE2B 
b5e6d43349d01fe3484abc7779cfe3f1e94c3f6d647d338f8acbfe97d160da53b6297273e67f84eb0409623bbb4c0d8e3008d42b16a800d756be71a02538969a
 SHA512 
0d1f2724bd6227142eb67c146557a992a6d62af172398c9961511ce5c080e517d1e12ca9bc6be27c1893e404026256257bf3a04cb05923723c0886f111adc4e3

diff --git a/games-engines/gargoyle/files/gargoyle-2019.1.1-QA-desktop.patch 
b/games-engines/gargoyle/files/gargoyle-2019.1.1-QA-desktop.patch
new file mode 100644
index 000..be4667e3908
--- /dev/null
+++ b/games-engines/gargoyle/files/gargoyle-2019.1.1-QA-desktop.patch
@@ -0,0 +1,11 @@
+--- a/garglk/gargoyle.desktop
 b/garglk/gargoyle.desktop
+@@ -4,7 +4,7 @@ Type=Application
+ Name=Gargoyle
+ GenericName=Interactive Fiction interpreter
+ Comment=Interactive Fiction multi-interpreter that supports all major IF 
formats
+-Icon=gargoyle-house.png
++Icon=gargoyle-house
+ Exec=gargoyle
+ Categories=Game;
+ 
MimeType=application/x-adrift;application/x-advsys;application/x-agt;application/x-alan;application/x-blorb;application/x-glulx;application/x-hugo;application/x-level9;application/x-magscroll;application/x-tads;application/x-t3vm-image;application/x-zmachine;

diff --git a/games-engines/gargoyle/files/gargoyle-2019.1.1-fno-common.patch 
b/games-engines/gargoyle/files/gargoyle-2019.1.1-fno-common.patch
new file mode 100644
index 000..50870a03e37
--- /dev/null
+++ b/games-engines/gargoyle/files/gargoyle-2019.1.1-fno-common.patch
@@ -0,0 +1,168 @@
+Author: Chris Spiegel 
+Taken from: 
https://sources.debian.org/patches/gargoyle-free/2019.1.1-2/gcc-10.patch/
+--- a/garglk/launcher.c
 b/garglk/launcher.c
+@@ -48,10 +48,10 @@
+ #define ID_GLUL (giblorb_make_id('G','L','U','L'))
+ 
+ #define MaxBuffer 1024
+-char tmp[MaxBuffer];
+-char terp[MaxBuffer];
+-char exe[MaxBuffer];
+-char flags[MaxBuffer];
++static char tmp[MaxBuffer];
++static char terp[MaxBuffer];
++static char exe[MaxBuffer];
++static char flags[MaxBuffer];
+ 
+ int runblorb(char *path, char *game)
+ {
+--- a/garglk/launchgtk.c
 b/garglk/launchgtk.c
+@@ -41,9 +41,9 @@ static const char * AppName = "Gargoyle " VERSION;
+ static const char * LaunchingTemplate = "%s/%s";
+ static const char * DirSeparator = "/";
+ 
+-char dir[MaxBuffer];
+-char buf[MaxBuffer];
+-char tmp[MaxBuffer];
++static char dir[MaxBuffer];
++static char buf[MaxBuffer];
++static char tmp[MaxBuffer];
+ 
+ struct filter
+ {
+--- a/garglk/launchmac.m
 b/garglk/launchmac.m
+@@ -40,13 +40,13 @@
+ static const char * LaunchingTemplate = "%s/%s";
+ static const char * DirSeparator = "/";
+ 
+-char dir[MaxBuffer];
+-char buf[MaxBuffer];
+-char tmp[MaxBuffer];
+-char etc[MaxBuffer];
++static char dir[MaxBuffer];
++static char buf[MaxBuffer];
++static char tmp[MaxBuffer];
++static char etc[MaxBuffer];
+ 
+ enum FILEFILTERS { FILTER_SAVE, FILTER_TEXT, FILTER_ALL };
+-char *winfilters[] =
++static char *winfilters[] =
+ {
+ "sav",
+ "txt",
+--- a/garglk/launchwin.c
 b/garglk/launchwin.c
+@@ -33,11 +33,11 @@ static const char * AppName = "Gargoyle " VERSION;
+ static const char * LaunchingTemplate = "\"%s\\%s.exe\" %s \"%s\"";
+ static const char * DirSeparator = "\\";
+ 
+-char dir[MaxBuffer];
+-char buf[MaxBuffer];
+-char tmp[MaxBuffer];
++static char dir[MaxBuffer];
++static char buf[MaxBuffer];
++static char tmp[MaxBuffer];
+ 
+-char filterlist[] =
++static char filterlist[] =
+ "All 
Games\0*.taf;*.agx;*.d$$;*.acd;*.a3c;*.asl;*.cas;*.ulx;*.hex;*.jacl;*.j2;*.gam;*.t3;*.z?;*.l9;*.sna;*.mag;*.dat;*.saga;*.blb;*.glb;*.zlb;*.blorb;*.gbl

[gentoo-commits] repo/gentoo:master commit in: games-engines/gargoyle/

2018-07-13 Thread Tony Vroon
commit: 052aafb60214cbf224df6ae71dd16eec51f7dffc
Author: Nikos Chantziaras  gmail  com>
AuthorDate: Wed Jul  4 17:03:20 2018 +
Commit: Tony Vroon  gentoo  org>
CommitDate: Fri Jul 13 10:49:16 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=052aafb6

games-engines/gargoyle: fix build on recent GCC, ebuild improvements

Bumped EAPI, removed the use of games.eclass, fixed a runtime error due
to a no longer needed sed, create relative instead of absolute symlinks.
Revbump due to a file location change.

Closes: https://bugs.gentoo.org/642996
Package-Manager: Portage-2.3.42, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/9052
Closes: https://bugs.gentoo.org/642996

 ...yle-2011.1.ebuild => gargoyle-2011.1-r1.ebuild} | 35 ++
 1 file changed, 15 insertions(+), 20 deletions(-)

diff --git a/games-engines/gargoyle/gargoyle-2011.1.ebuild 
b/games-engines/gargoyle/gargoyle-2011.1-r1.ebuild
similarity index 78%
rename from games-engines/gargoyle/gargoyle-2011.1.ebuild
rename to games-engines/gargoyle/gargoyle-2011.1-r1.ebuild
index 640adac5fa7..82e11b23782 100644
--- a/games-engines/gargoyle/gargoyle-2011.1.ebuild
+++ b/games-engines/gargoyle/gargoyle-2011.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 # Regarding licenses: libgarglk is licensed under the GPLv2. Bundled
@@ -8,8 +8,8 @@
 # Since we don't compile or install any of the bundled fonts, their licenses
 # don't apply. (Fonts are installed through dependencies instead.)
 
-EAPI=5
-inherit eutils flag-o-matic multiprocessing toolchain-funcs gnome2-utils games
+EAPI=6
+inherit eutils flag-o-matic gnome2-utils multilib multiprocessing 
toolchain-funcs
 
 DESCRIPTION="An Interactive Fiction (IF) player supporting all major formats"
 HOMEPAGE="http://ccxvii.net/gargoyle/";
@@ -21,7 +21,7 @@ KEYWORDS="~amd64 ~x86"
 IUSE=""
 
 RDEPEND="
-   >=media-fonts/libertine-5
+   media-fonts/libertine
media-fonts/liberation-fonts
media-libs/freetype:2
media-libs/libpng:0
@@ -52,11 +52,10 @@ src_prepare() {
# Convert garglk.ini to UNIX format.
edos2unix garglk/garglk.ini
 
-   # The font name of Linux Libertine changed in version 5.
-   sed -i -e 's/Linux Libertine O/Linux Libertine/g' garglk/garglk.ini || 
die
-
epatch "${FILESDIR}"/${P}-desktopfile.patch
append-cflags -std=gnu89 # build with gcc5 (bug #573378)
+   append-cxxflags -std=gnu++11 # code assumes C++11 semantics (bug 
#642996)
+   default
 }
 
 src_compile() {
@@ -69,7 +68,7 @@ src_compile() {
-sC++="$(tc-getCXX) ${CXXFLAGS}" \
-sCXX="$(tc-getCXX) ${CXXFLAGS}" \
-sC++FLAGS="" \
-   -sGARGLKINI="${GAMES_SYSCONFDIR}/garglk.ini" \
+   -sGARGLKINI="/etc/garglk.ini" \
-sUSESDL=yes \
-sBUNDLEFONTS=no \
-dx \
@@ -78,15 +77,15 @@ src_compile() {
 
 src_install() {
DESTDIR="${D}" \
-   _BINDIR="${GAMES_PREFIX}/libexec/${PN}" \
-   _APPDIR="${GAMES_PREFIX}/libexec/${PN}" \
-   _LIBDIR="$(games_get_libdir)" \
+   _BINDIR="/usr/libexec/${PN}" \
+   _APPDIR="/usr/libexec/${PN}" \
+   _LIBDIR="/usr/$(get_libdir)" \
EXEMODE=755 \
FILEMODE=755 \
jam install || die
 
# Install config file.
-   insinto "${GAMES_SYSCONFDIR}"
+   insinto "/etc"
newins garglk/garglk.ini garglk.ini
 
# Install application entry and icon.
@@ -97,24 +96,20 @@ src_install() {
for terp in advsys agility alan2 alan3 frotz geas git glulxe hugo jacl \
level9 magnetic nitfol scare tadsr
do
-   dosym "${GAMES_PREFIX}/libexec/${PN}/${terp}" \
-   "${GAMES_BINDIR}/${PN}-${terp}"
+   dosym "../libexec/${PN}/${terp}" \
+   "/usr/bin/${PN}-${terp}"
done
 
# Also symlink the main binary since it resides in libexec.
-   dosym "${GAMES_PREFIX}/libexec/${PN}/${PN}" \
-   "${GAMES_BINDIR}/${PN}"
-
-   prepgamesdirs
+   dosym "../libexec/${PN}/${PN}" \
+   "/usr/bin/${PN}"
 }
 
 pkg_preinst() {
-   games_pkg_preinst
gnome2_icon_savelist
 }
 
 pkg_postinst() {
-   games_pkg_postinst
gnome2_icon_cache_update
 }
 



[gentoo-commits] repo/gentoo:master commit in: games-engines/gargoyle/

2016-04-01 Thread Michael Sterrett
commit: c830cb46af4ddf23b6fccf163d1286aaed90b393
Author: Michael Sterrett  gentoo  org>
AuthorDate: Fri Apr  1 07:30:32 2016 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Fri Apr  1 07:31:11 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c830cb46

games-engines/gargoyle: build with gcc5 (bug #573378)

Package-Manager: portage-2.2.26

 games-engines/gargoyle/gargoyle-2011.1.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/games-engines/gargoyle/gargoyle-2011.1.ebuild 
b/games-engines/gargoyle/gargoyle-2011.1.ebuild
index 428fc30..0494b53 100644
--- a/games-engines/gargoyle/gargoyle-2011.1.ebuild
+++ b/games-engines/gargoyle/gargoyle-2011.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -10,7 +10,7 @@
 # don't apply. (Fonts are installed through dependencies instead.)
 
 EAPI=5
-inherit eutils multiprocessing toolchain-funcs gnome2-utils games
+inherit eutils flag-o-matic multiprocessing toolchain-funcs gnome2-utils games
 
 DESCRIPTION="An Interactive Fiction (IF) player supporting all major formats"
 HOMEPAGE="http://ccxvii.net/gargoyle/";
@@ -57,6 +57,7 @@ src_prepare() {
sed -i -e 's/Linux Libertine O/Linux Libertine/g' garglk/garglk.ini || 
die
 
epatch "${FILESDIR}"/${P}-desktopfile.patch
+   append-cflags -std=gnu89 # build with gcc5 (bug #573378)
 }
 
 src_compile() {