aboutsummaryrefslogtreecommitdiffstats
path: root/main/avahi-ui/system-avahi.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/avahi-ui/system-avahi.patch')
-rw-r--r--main/avahi-ui/system-avahi.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/main/avahi-ui/system-avahi.patch b/main/avahi-ui/system-avahi.patch
new file mode 100644
index 0000000000..0f8a500da8
--- /dev/null
+++ b/main/avahi-ui/system-avahi.patch
@@ -0,0 +1,30 @@
+--- ./avahi-ui/Makefile.am.orig
++++ ./avahi-ui/Makefile.am
+@@ -54,12 +54,12 @@
+ libavahi_ui_la_SOURCES = \
+ avahi-ui.h avahi-ui.c
+ libavahi_ui_la_CFLAGS = $(AM_CFLAGS) $(GTK20_CFLAGS)
+-libavahi_ui_la_LIBADD = $(AM_LDADD) ../avahi-common/libavahi-common.la ../avahi-client/libavahi-client.la ../avahi-glib/libavahi-glib.la $(GTK20_LIBS)
++libavahi_ui_la_LIBADD = $(AM_LDADD) -lavahi-common -lavahi-client -lavahi-glib $(GTK20_LIBS)
+ libavahi_ui_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBAVAHI_UI_VERSION_INFO)
+
+ libavahi_ui_gtk3_la_SOURCES = $(libavahi_ui_la_SOURCES)
+ libavahi_ui_gtk3_la_CFLAGS = $(AM_CFLAGS) $(GTK30_CFLAGS)
+-libavahi_ui_gtk3_la_LIBADD = $(AM_LDADD) ../avahi-common/libavahi-common.la ../avahi-client/libavahi-client.la ../avahi-glib/libavahi-glib.la $(GTK30_LIBS)
++libavahi_ui_gtk3_la_LIBADD = $(AM_LDADD) -lavahi-common -lavahi-client -lavahi-glib $(GTK30_LIBS)
+ libavahi_ui_gtk3_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBAVAHI_UI_VERSION_INFO)
+
+ if HAVE_GDBM
+@@ -86,10 +86,10 @@
+
+ if HAVE_GTK3
+ bssh_CFLAGS = $(AM_CFLAGS) $(GTK30_CFLAGS)
+-bssh_LDADD = $(AM_LDADD) $(GTK30_LIBS) ../avahi-client/libavahi-client.la ../avahi-common/libavahi-common.la libavahi-ui-gtk3.la
++bssh_LDADD = $(AM_LDADD) $(GTK30_LIBS) -lavahi-client -lavahi-common libavahi-ui-gtk3.la
+ else
+ bssh_CFLAGS = $(AM_CFLAGS) $(GTK20_CFLAGS)
+-bssh_LDADD = $(AM_LDADD) $(GTK20_LIBS) ../avahi-client/libavahi-client.la ../avahi-common/libavahi-common.la libavahi-ui.la
++bssh_LDADD = $(AM_LDADD) $(GTK20_LIBS) -lavahi-client -lavahi-common libavahi-ui.la
+ endif
+
+ install-exec-local: