Blame SOURCES/0016-fix-QT3-build.patch

d59061
From 66a684b988052664669158819fc123469b714f50 Mon Sep 17 00:00:00 2001
d59061
From: Rex Dieter <rdieter@gmail.com>
d59061
Date: Tue, 17 Nov 2020 16:42:00 -0600
d59061
Subject: [PATCH 16/16] fix QT3 build
d59061
d59061
recent commit d1e71b320d96d0f213ecb0885c8313039a09f693 adding QT5
d59061
support added a new conditional
d59061
but failed to actually set the define.  This commit adds that to
d59061
allow successful build when enabling QT3 support
d59061
---
d59061
 avahi-qt/Makefile.am | 2 +-
d59061
 1 file changed, 1 insertion(+), 1 deletion(-)
d59061
d59061
diff --git a/avahi-qt/Makefile.am b/avahi-qt/Makefile.am
d59061
index 09ce7ca..b404810 100644
d59061
--- a/avahi-qt/Makefile.am
d59061
+++ b/avahi-qt/Makefile.am
d59061
@@ -38,7 +38,7 @@ libavahi_qt3_la_SOURCES = \
d59061
 qt-watch.moc3: qt-watch.cpp
d59061
 	$(AM_V_GEN)$(MOC_QT3) $^ > $@
d59061
 
d59061
-libavahi_qt3_la_CPPFLAGS = $(AM_CFLAGS) $(QT3_CFLAGS) $(VISIBILITY_HIDDEN_CFLAGS)
d59061
+libavahi_qt3_la_CPPFLAGS = $(AM_CFLAGS) $(QT3_CFLAGS) -DQT3 $(VISIBILITY_HIDDEN_CFLAGS)
d59061
 libavahi_qt3_la_LIBADD = $(AM_LDADD) ../avahi-common/libavahi-common.la $(QT3_LIBS)
d59061
 libavahi_qt3_la_LDFLAGS = $(AM_LDFLAGS) -export-dynamic -version-info $(LIBAVAHI_QT3_VERSION_INFO)
d59061
 endif
d59061
-- 
d59061
2.28.0
d59061