archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / stardict / trunk / glib2.patch
blobbd0f6bac80e50cf78147697a520d7b8be4e19d29
1 diff -Naur old/dict/configure.ac new/dict/configure.ac
2 --- old/dict/configure.ac 2011-07-03 16:58:40.000000000 +1000
3 +++ new/dict/configure.ac 2012-07-12 22:31:52.875176842 +1000
4 @@ -266,6 +266,9 @@
5 fi
6 AC_SUBST(WIKI_PARSEDATA_PLUGIN_DIR)
8 +GMODULE2_LIBS=`pkg-config --libs gmodule-2.0`
9 +AC_SUBST([GMODULE2_LIBS])
11 dnl ================================================================
12 dnl main program checks.
13 dnl ================================================================
14 diff -Naur old/dict/src/Makefile.am new/dict/src/Makefile.am
15 --- old/dict/src/Makefile.am 2011-07-03 16:58:40.000000000 +1000
16 +++ new/dict/src/Makefile.am 2012-07-12 22:29:53.714870692 +1000
17 @@ -33,7 +33,7 @@
18 stardict_DEPENDENCIES = lib/libstardict.la $(LOCAL_SIGCPP_LIBFILE)
19 stardict_LDFLAGS =
20 ## place libstardict.la before any system library, otherwise build with --as-needed linker option may fail
21 -stardict_LDADD = lib/libstardict.la $(STARDICT_LIBS) $(LOCAL_SIGCPP_LIBFILE)
22 +stardict_LDADD = lib/libstardict.la $(STARDICT_LIBS) $(LOCAL_SIGCPP_LIBFILE) $(GMODULE2_LIBS)
24 if !GNOME_SUPPORT
25 if MAEMO_SUPPORT
26 diff -Naur old/dict/src/tomboykeybinder.h new/dict/src/tomboykeybinder.h
27 --- old/dict/src/tomboykeybinder.h 2011-07-03 16:58:40.000000000 +1000
28 +++ new/dict/src/tomboykeybinder.h 2012-07-12 22:28:04.337920391 +1000
29 @@ -21,7 +21,6 @@
30 #ifndef __TOMBOY_KEY_BINDER_H__
31 #define __TOMBOY_KEY_BINDER_H__
33 -#include <glib.h>
35 G_BEGIN_DECLS