Skip to content

Commit

Permalink
games-rpg/freedink: Fix windres related compile error.
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.40, Repoman-2.3.9
  • Loading branch information
Jeroen Roovers committed Jun 8, 2018
1 parent 13c59da commit 719d0a8
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
20 changes: 20 additions & 0 deletions games-rpg/freedink/files/freedink-108.4-no-windres.patch
Original file line number Diff line number Diff line change
@@ -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)
3 changes: 3 additions & 0 deletions games-rpg/freedink/freedink-108.4-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ DEPEND="${DEPEND}
virtual/pkgconfig
sys-devel/gettext
"
PATCHES=(
"${FILESDIR}"/${PN}-108.4-no-windres.patch
)

src_prepare() {
default
Expand Down

0 comments on commit 719d0a8

Please sign in to comment.