diff options
-rw-r--r-- | network/synergy/010_include_dns_sd.diff | 11 | ||||
-rw-r--r-- | network/synergy/synergy.SlackBuild | 5 |
2 files changed, 15 insertions, 1 deletions
diff --git a/network/synergy/010_include_dns_sd.diff b/network/synergy/010_include_dns_sd.diff new file mode 100644 index 0000000000..535acb9bce --- /dev/null +++ b/network/synergy/010_include_dns_sd.diff @@ -0,0 +1,11 @@ +--- src/gui/gui.pro.orig 2015-05-27 01:56:21.000000000 +1000 ++++ src/gui/gui.pro 2015-06-09 16:52:57.664552976 +1000 +@@ -4,6 +4,8 @@ + TARGET = synergy + DEPENDPATH += . \ + res ++CONFIG += link_pkgconfig ++PKGCONFIG += avahi-compat-libdns_sd + INCLUDEPATH += . \ + src + FORMS += res/MainWindowBase.ui \ diff --git a/network/synergy/synergy.SlackBuild b/network/synergy/synergy.SlackBuild index 2d65afc355..cc185f0fb4 100644 --- a/network/synergy/synergy.SlackBuild +++ b/network/synergy/synergy.SlackBuild @@ -27,7 +27,7 @@ PRGNAM=synergy VERSION=${VERSION:-1.7.3} REV=${REV:-stable-efd0108} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -72,6 +72,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Thanks Christoph Willing +patch -p0 < $CWD/010_include_dns_sd.diff + sh hm.sh configure --generator=1 --release CXXFLAGS="$SLKCFLAGS" sh hm.sh build |