--- /dev/null
+--- avahi-0.8/avahi-libevent.pc.in.orig 2018-09-14 07:31:35.089936663 +0200
++++ avahi-0.8/avahi-libevent.pc.in 2020-02-27 20:47:50.760954424 +0100
+@@ -6,6 +6,6 @@
+ Name: avahi-libevent
+ Description: Avahi Multicast DNS Responder (libevent Support)
+ Version: @PACKAGE_VERSION@
+-Requires: libevent-2.1.5
++Requires: libevent
+ Libs: -L${libdir} -lavahi-libevent
+ Cflags: -D_REENTRANT -I${includedir}
--- /dev/null
+--- avahi-0.8/configure.ac.orig 2020-02-27 21:01:37.216477131 +0100
++++ avahi-0.8/configure.ac 2020-02-27 21:01:41.553120304 +0100
+@@ -421,7 +421,7 @@
+ AM_GNU_GETTEXT_VERSION([0.19.8])
+ AM_GNU_GETTEXT([external])
+
+-avahilocaledir='${prefix}/${DATADIRNAME}/locale'
++avahilocaledir='${localedir}'
+ AC_SUBST(avahilocaledir)
+
+ # Check for pkg-config manually first, as if its not installed the
--- /dev/null
+--- avahi-0.8/service-type-database/build-db.orig 1970-01-01 01:00:00.000000000 +0100
++++ avahi-0.8/service-type-database/build-db 2020-02-26 21:30:46.708401608 +0100
+@@ -0,0 +1,49 @@
++#!/usr/bin/env python
++# -*-python-*-
++# This file is part of avahi.
++#
++# avahi is free software; you can redistribute it and/or modify it
++# under the terms of the GNU Lesser General Public License as
++# published by the Free Software Foundation; either version 2 of the
++# License, or (at your option) any later version.
++#
++# avahi is distributed in the hope that it will be useful, but WITHOUT
++# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
++# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
++# License for more details.
++#
++# You should have received a copy of the GNU Lesser General Public
++# License along with avahi; if not, write to the Free Software
++# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
++# USA.
++
++try:
++ import anydbm as dbm
++except ImportError:
++ import dbm
++
++import sys
++
++if len(sys.argv) > 1:
++ infn = sys.argv[1]
++else:
++ infn = "service-types"
++
++if len(sys.argv) > 2:
++ outfn = sys.argv[2]
++else:
++ outfn = infn + ".db"
++
++db = dbm.open(outfn, "n")
++
++for ln in open(infn, "r"):
++ ln = ln.strip(" \r\n\t")
++
++ if ln == "" or ln.startswith("#"):
++ continue
++
++ t, n = ln.split(":", 1)
++
++ db[t.strip()] = n.strip()
++
++db.close()
--- /dev/null
+Makefile defines QT5 for qt5, QT4 for qt4 and nothing for qt3.
+--- avahi-0.8/avahi-qt/qt-watch.cpp.orig 2018-09-14 07:31:28.490023071 +0200
++++ avahi-0.8/avahi-qt/qt-watch.cpp 2020-02-27 19:04:41.371151893 +0100
+@@ -195,6 +195,6 @@
+ #include "qt-watch.moc5"
+ #elif defined(QT4)
+ #include "qt-watch.moc4"
+-#elif defined(QT3)
++#else
+ #include "qt-watch.moc3"
+ #endif