Fix build x86_64 07/3907/3
authorVictor Hakoun <victor.hakoun@eurogiciel.fr>
Tue, 11 Jun 2013 13:01:46 +0000 (15:01 +0200)
committerVictor Hakoun <victor.hakoun@eurogiciel.fr>
Tue, 11 Jun 2013 13:01:46 +0000 (15:01 +0200)
commit74914fd6e9a05326d1ff12d5aa06b6da294043c6
treebbdeff83f004798b20ee128340d22c96921b33dc
parent822a00b45eb35319ccbc168eb32ae1387ac8945e
Fix build x86_64

- Remove build option -fpie to avoid this error :
relocation R_X86_64_PC32 against symbol `dlist_next' can not be used when making a shared object; recompile with -fPIC

- Remove unused variable (svc_ctx)

- Fix rpmlint error summary end with dot

- Use %{_unitdir_user} unstead of %{_libdir}/systemd/user

- g_type_init() is deprecated is GLib version 3.36 or above => add test directive to check glib version to avoid warning :
util_liveinfo/src/liveinfo.c:1722:2: error: 'g_type_init' is deprecated (declared at /usr/include/glib-2.0/gobject/gtype.h:669) [-Werror=deprecated-declarations]

Change-Id: I2f111f965864b1f18d2bb8bddc791af71d0beba7
CMakeLists.txt
packaging/data-provider-master.spec
src/event.c
src/main.c
src/parser.c
src/service_common.c
util_liveinfo/src/liveinfo.c