diff options
author | Duncan Coutts <dcoutts@gentoo.org> | 2006-02-14 12:34:00 +0000 |
---|---|---|
committer | Duncan Coutts <dcoutts@gentoo.org> | 2006-02-14 12:34:00 +0000 |
commit | e58c96e978dc93e531fcfebdd7b7a7fe9e135207 (patch) | |
tree | bf717c5994c1d0195a88b7d2fb7c5c6db07f6d50 /dev-haskell/gtk2hs/files | |
parent | New pre-release. (diff) | |
download | gentoo-2-e58c96e978dc93e531fcfebdd7b7a7fe9e135207.tar.gz gentoo-2-e58c96e978dc93e531fcfebdd7b7a7fe9e135207.tar.bz2 gentoo-2-e58c96e978dc93e531fcfebdd7b7a7fe9e135207.zip |
Added a patch to fix the use of CFLAGS which was causing problems on sparc. Marked ~sparc.
(Portage version: 2.0.54)
Diffstat (limited to 'dev-haskell/gtk2hs/files')
-rw-r--r-- | dev-haskell/gtk2hs/files/gtk2hs-0.9.10-cflags.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-haskell/gtk2hs/files/gtk2hs-0.9.10-cflags.patch b/dev-haskell/gtk2hs/files/gtk2hs-0.9.10-cflags.patch new file mode 100644 index 000000000000..91356788108e --- /dev/null +++ b/dev-haskell/gtk2hs/files/gtk2hs-0.9.10-cflags.patch @@ -0,0 +1,22 @@ +diff -urwpN gtk2hs-0.9.10.orig/mk/common.mk gtk2hs-0.9.10/mk/common.mk +--- gtk2hs-0.9.10.orig/mk/common.mk 2006-02-13 16:31:33.184111717 +0000 ++++ gtk2hs-0.9.10/mk/common.mk 2006-02-13 17:26:41.972180579 +0000 +@@ -79,6 +79,8 @@ noDeps := $(strip $(findstring clean,$ + $(strip $(HC) -c $< -o $@ $(INCLUDES) \ + $(AM_CPPFLAGS) $($(PKG)_CPPFLAGS) $(CPPFLAGS) \ + $(addprefix -optc,$(AM_CFLAGS) $($(PKG)_CFLAGS) \ ++ $(call getVar,$<,CFLAGS) $(CFLAGS)) \ ++ $(addprefix -opta,$(AM_CFLAGS) $($(PKG)_CFLAGS) \ + $(call getVar,$<,CFLAGS) $(CFLAGS))) + + # The cheeky rule for .hi files says that .hi files can be created as +@@ -106,7 +108,8 @@ noDeps := $(strip $(findstring clean,$ + $(strip $(HSC2HS) $(HSCFLAGS) +RTS $(HSTOOLFLAGS) -RTS \ + $(addprefix -L-optl,$(AM_LDFLAGS) $(LDFLAGS) $($(PKG)_LIBS)) \ + $(addprefix -C, $(filter-out -I%,$(AM_CPPFLAGS) $(CPPFLAGS)) \ +- $(addprefix -optc,$(AM_CFLAGS) $(CFLAGS) $($(PKG)_CFLAGS)))\ ++ $(addprefix -optc,$(AM_CFLAGS) $(CFLAGS) $($(PKG)_CFLAGS)) \ ++ $(addprefix -opta,$(AM_CFLAGS) $(CFLAGS) $($(PKG)_CFLAGS))) \ + $(filter -I%,$(AM_CPPFLAGS) $(CPPFLAGS)) $($(PKG)_CPPFLAGS)\ + -C'-optc-include' -C'-optc$(CONFIG_HEADER)' \ + --include $($(PKG)_HEADER) \ |