diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-mud/gmudix/files/gmudix-1.0-as-needed.patch | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-mud/gmudix/files/gmudix-1.0-as-needed.patch')
-rw-r--r-- | games-mud/gmudix/files/gmudix-1.0-as-needed.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/games-mud/gmudix/files/gmudix-1.0-as-needed.patch b/games-mud/gmudix/files/gmudix-1.0-as-needed.patch new file mode 100644 index 000000000000..fe1de7b8cbdc --- /dev/null +++ b/games-mud/gmudix/files/gmudix-1.0-as-needed.patch @@ -0,0 +1,28 @@ +--- a/configure.in ++++ b/configure.in +@@ -8,7 +8,8 @@ + AC_PROG_MAKE_SET + + dnl Checks for libraries. +-PKG_CHECK_MODULES(BASE_DEPENDENCIES, gtk+-2.0 >= 2.0.0) ++PKG_CHECK_MODULES(GTK, gtk+-2.0) ++PKG_CHECK_MODULES(GTHREAD, gthread-2.0) + + dnl Checks for header files. + AC_HEADER_STDC +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -1,10 +1,5 @@ + bin_PROGRAMS = gmudix + gmudix_SOURCES = alias.c commands.c file.c gui_alias.c gui_capture.c gui_character.c gui_color.c gui_font.c gui_general.c gui_macro.c gui_main.c gui_path.c gui_preferences.c gui_tab.c gui_timer.c gui_trigger.c gui_user.c gui_variable.c history.c log.c macro.c mccp.c mudix.c net.c path.c process.c string.c tabs.c telnet.c timer.c trigger.c user.c variable.c +-INCLUDES = -Wall -I.. -I../include `pkg-config --cflags gtk+-2.0` +-gmudix_LDFLAGS = -lz `pkg-config --libs gtk+-2.0` `pkg-config --libs gthread-2.0` +- +-if DEBUG_SYMBOLS +-CFLAGS := $(CFLAGS) -O2 -g +-else +-CFLAGS := $(CFLAGS) -O2 +-endif ++AM_CFLAGS = -Wall ++INCLUDES = -I.. -I../include $(GTK_CFLAGS) $(GTHREAD_CFLAGS) ++LDADD = -lz $(GTK_LIBS) $(GTHREAD_LIBS) |