summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-06-08 11:58:11 +0200
committerJeroen Roovers <jer@gentoo.org>2018-06-08 12:07:57 +0200
commit719d0a86872604000f21d9f2cef0c4c4be3ba5e6 (patch)
treecfae3f6927e7aca4f32d59961db11d58a5e4618a /games-rpg
parentgames-util/dfarc: Clean up patch. (diff)
downloadgentoo-719d0a86872604000f21d9f2cef0c4c4be3ba5e6.tar.gz
gentoo-719d0a86872604000f21d9f2cef0c4c4be3ba5e6.tar.bz2
gentoo-719d0a86872604000f21d9f2cef0c4c4be3ba5e6.zip
games-rpg/freedink: Fix windres related compile error.
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/freedink/files/freedink-108.4-no-windres.patch20
-rw-r--r--games-rpg/freedink/freedink-108.4-r1.ebuild3
2 files changed, 23 insertions, 0 deletions
diff --git a/games-rpg/freedink/files/freedink-108.4-no-windres.patch b/games-rpg/freedink/files/freedink-108.4-no-windres.patch
new file mode 100644
index 000000000000..81c72e00dae0
--- /dev/null
+++ b/games-rpg/freedink/files/freedink-108.4-no-windres.patch
@@ -0,0 +1,20 @@
+--- a/src/Makefile.in
++++ b/src/Makefile.in
+@@ -226,7 +226,7 @@
+ update_frame.h
+ am_freedink_OBJECTS = $(am__objects_3) freedink.$(OBJEXT) \
+ update_frame.$(OBJEXT)
+-@HAVE_WINDRES_TRUE@am__objects_4 = woeres.$(OBJEXT)
++#@HAVE_WINDRES_TRUE@am__objects_4 = woeres.$(OBJEXT)
+ nodist_freedink_OBJECTS = $(am__objects_4)
+ freedink_OBJECTS = $(am_freedink_OBJECTS) $(nodist_freedink_OBJECTS)
+ freedink_LDADD = $(LDADD)
+@@ -1143,7 +1143,7 @@
+ @HAVE_WINDRES_FALSE@WOERES =
+
+ # How do we handle resources embedded in the executable binary?
+-@HAVE_WINDRES_TRUE@WOERES = woeres.rc
++#@HAVE_WINDRES_TRUE@WOERES = woeres.rc
+
+ # Other projects that use Autotools and support MinGW
+ # http://sourceforge.net/projects/chocolate-doom (Doom port)
diff --git a/games-rpg/freedink/freedink-108.4-r1.ebuild b/games-rpg/freedink/freedink-108.4-r1.ebuild
index a40e9cd65da7..fdee2e4308cc 100644
--- a/games-rpg/freedink/freedink-108.4-r1.ebuild
+++ b/games-rpg/freedink/freedink-108.4-r1.ebuild
@@ -29,6 +29,9 @@ DEPEND="${DEPEND}
virtual/pkgconfig
sys-devel/gettext
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-108.4-no-windres.patch
+)
src_prepare() {
default