avahi: fix sed patch

This commit is contained in:
2026-01-28 18:58:58 +01:00
parent fe541b6e3c
commit 2045e60311
2 changed files with 1 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ build = [
# 64-bit build
f"cd {builddir} && patch -Np1 -i ../avahi-{pkgver}-ipv6_race_condition_fix-1.patch && "
f"sed -i '426a if (events & AVAHI_WATCH_HUP) {{ \client_free(c); \\return; \\}}' avahi-daemon/simple-protocol.c && ./configure --prefix=/usr "
f"sed -i '426a if (events & AVAHI_WATCH_HUP) {{ client_free(c); return; }}' avahi-daemon/simple-protocol.c && ./configure --prefix=/usr "
f"--sysconfdir=/etc --localstatedir=/var --disable-static --disable-libevent --disable-mono --disable-monodoc --disable-python "
f"--disable-qt3 --disable-qt4 --disable-qt5 --enable-core-docs --with-distro=none --with-systemdsystemunitdir=no "
f"--with-dbus-system-address='unix:path=/run/dbus/system_bus_socket'",