Adding CPPFLAGS="$CPPFLAGS -std=c++11" \ also works if you want qt5 support, but does result in a lot of warnings about "-std=c++11" is not a valid flag for c code.
> Hello, > > I had an issue when compiling the most recent version of avahi. > > Digging a little, it turns out that I have Qt5 installed and the > "configure" phase was bothering with it. > > Inserting a "--disable-qt5" solved the problem. > > Attached below follows a patch that hopefully solves the problem not > only in my system. > > Many thanks, > > Luiz Ramos > lramos.p...@yahoo.com.br > São Paulo - Brazil > > > === patch > ============================================================== From > cadfde33905f58bd6bfce894d16de140d81adec8 Mon Sep 17 00:00:00 2001 > From: Luiz Ramos <lramos.p...@yahoo.com.br> Date: Sun, 6 Dec 2020 > 10:42:41 -0300 Subject: [PATCH] network/avahi: fixed dependency on Qt5 > > The new version of avahi seem to bother with the presence of Qt5, > which is not installed on default Slackware 14.2 but can be present > in some systems if one installed it from slackbuilds.org. > > Here a new option is set to "disable building of Qt5Core mainloop > integration", as stated in the ./configure help. > --- > network/avahi/avahi.SlackBuild | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/network/avahi/avahi.SlackBuild > b/network/avahi/avahi.SlackBuild index f95c392152..0e103a6ae2 100644 > --- a/network/avahi/avahi.SlackBuild > +++ b/network/avahi/avahi.SlackBuild > @@ -125,6 +125,7 @@ CXXFLAGS="$SLKCFLAGS" \ > --enable-python \ > --enable-gtk \ > --enable-gtk3 \ > + --disable-qt5 \ > --disable-qt4 \ > --disable-qt3 \ > --enable-core-docs \ > -- > 2.17.5 > > === patch > ============================================================== > > > On Sun, Dec 06, 2020 at 08:34:24AM +0700, Willy Sudiarto Raharjo > wrote: > > Sun Dec 6 01:00:40 UTC 2020 > > academic/Gridcoin-Research: Updated for version 5.2.0.0 > > academic/nco: Updated for version 4.9.6. > > desktop/obmenu-generator: Updated for version 0.89. > > desktop/rofi: Updated for version 1.6.1. > > development/bluefish: Updated for version 2.2.12 > > development/bvi: Update for version 1.4.1. > > development/dbeaver-ce: Updated for version 7.3.0. > > development/facile: Fix download link and homepage. > > development/ninja: Updated for version 1.10.2. > > development/postman: Updated for version 7.36.0. > > development/racer: Updated for version 2.1.41. > > development/ruff: Updated for version 1.0.4. > > development/rustup: Updated for version 1.23.1. > > development/sbcl: Updated for version 2.0.11. > > games/OpenXcom: Updated for version 20201125_1755. > > gis/qmapshack: Updated for version 1.15.1. > > graphics/fbgrab: Added (framebuffer screenshot program) > > graphics/vuescan: Updated MD5SUMs. > > graphics/xmedcon: Updated for version 0.16.3. > > ham/chirp: Updated for version 20201128. > > libraries/cfitsio: Updated for version 3.49. > > libraries/fmt: Updated for version 7.1.3. > > libraries/libinput: Updated for version 1.16.4. > > libraries/libmediainfo: Version bump to 20.09. > > libraries/pugixml: Updated for version 1.11.1. > > multimedia/flashplayer-plugin: Updated for version 32.0.0.453. > > multimedia/mediainfo: Version bump to 20.09. > > multimedia/pepperflash-plugin: Updated for version 32.0.0.453. > > multimedia/plexmediaserver: Updated for v 1.21.0.3711_b509cc236. > > network/avahi: Updated for version 0.8. > > network/broadcom-sta: Updated for recent kernels. > > network/dropbox: Updated for version 111.4.472. > > network/gajim: Fix download link. > > network/i2pd: Updated for version 2.35.0. > > network/lighttpd: Updated for version 1.4.56. > > network/mattermost-desktop: Updated for version 4.6.1. > > network/mkvserver_mk2: Updated for version 20201203_c62abc3. > > network/opera-developer: Updated for version 74.0.3890.0. > > network/opera: Updated for version 72.0.3815.400. > > network/prosody-mod-cloud-notify: Updated for version hg4273. > > network/qutebrowser-tox: Updated for version 1.14.1. > > network/qutebrowser: Updated for version 1.14.1. > > network/rclone: Updated for version 1.53.3. > > network/signal-desktop: Updated for version 1.38.2. > > network/weboob: Removed (requested by maintainer). > > office/lyx: Updated for version 2.3.6. > > office/wps-office: Update DOWNLOAD url. > > perl/perl-Date-Manip: Updated for version 6.83. > > perl/perl-PAR-Dist: Updated for version 0.51. > > perl/perl-cairo: Updated for version 1.108. > > python/pychm: Updated for version 0.8.6. > > python/pyotp: Updated for version 2.4.1. > > system/Solaar: Add missing dependency. > > system/bonnie++: Update for version 1.04 > > system/gnu-unifont: Updated for version 13.0.04, added OTB font > > format. system/intelmas: Updated for version 1.4. > > system/letsencrypt: Updated for version 1.10.1. > > system/sleuthkit: Updated for version 4.10.1. > > system/telegraf: Updated for version 1.16.3. > > system/ticpp: Added (xml parser). > > system/worker: Updated for version 4.6.1. > > +--------------------------+ > > > > > > -- > > Willy Sudiarto Raharjo > > > > > > > > _______________________________________________ > > SlackBuilds-users mailing list > > SlackBuilds-users@slackbuilds.org > > https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users > > Archives - > > https://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - > > https://slackbuilds.org/faq/ > > > > _______________________________________________ > SlackBuilds-users mailing list > SlackBuilds-users@slackbuilds.org > https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users > Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/ > FAQ - https://slackbuilds.org/faq/ > _______________________________________________ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - https://slackbuilds.org/faq/