summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjoerg <joerg>2016-08-26 17:16:08 +0000
committerjoerg <joerg>2016-08-26 17:16:08 +0000
commit68a65f45950aaab472421eb1f1bd5f4301c1dbe7 (patch)
treeaf2f27c20ffe2e7ccecce7f3c62da0b4c49ae773 /x11
parentf73e55ce8635b975e7a4c0bbc55a05c9d523dfe9 (diff)
downloadpkgsrc-68a65f45950aaab472421eb1f1bd5f4301c1dbe7.tar.gz
Drop library path based on undefined variable. Add missing include.
Bump revision.
Diffstat (limited to 'x11')
-rw-r--r--x11/dunst/Makefile4
-rw-r--r--x11/dunst/distinfo4
-rw-r--r--x11/dunst/patches/patch-config.mk13
-rw-r--r--x11/dunst/patches/patch-notification.c12
4 files changed, 30 insertions, 3 deletions
diff --git a/x11/dunst/Makefile b/x11/dunst/Makefile
index a9ca6ef4728..f654ca49cb7 100644
--- a/x11/dunst/Makefile
+++ b/x11/dunst/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2016/07/02 14:43:34 joerg Exp $
+# $NetBSD: Makefile,v 1.6 2016/08/26 17:16:08 joerg Exp $
DISTNAME= dunst-1.1.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= x11
MASTER_SITES= http://www.knopwob.org/public/dunst-release/
EXTRACT_SUFX= .tar.bz2
diff --git a/x11/dunst/distinfo b/x11/dunst/distinfo
index c0996fd8d5d..ece529fa527 100644
--- a/x11/dunst/distinfo
+++ b/x11/dunst/distinfo
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.2 2016/06/17 19:42:47 kamil Exp $
+$NetBSD: distinfo,v 1.3 2016/08/26 17:16:08 joerg Exp $
SHA1 (dunst-1.1.0.tar.bz2) = 9fd95cf803307609053b45d9fbe864e4dcccc457
RMD160 (dunst-1.1.0.tar.bz2) = e219b3ef8e97536b7dee2ddcb1e113da84fc4251
SHA512 (dunst-1.1.0.tar.bz2) = ba01a6b18da5199b3356342f5c22592f93f447389267810bbfc35decf1a67f89650d445d3c1dd6f3cc76a4f86f7165adc777b669444627e42d3e671d4f04a04b
Size (dunst-1.1.0.tar.bz2) = 79032 bytes
SHA1 (patch-Makefile) = 5e2f407bc35ae9f5bf8b847b36129ae34ad6226d
+SHA1 (patch-config.mk) = 90b417fe5353140aeb227f05114b3bfdfc52372e
+SHA1 (patch-notification.c) = 5d1440fe22a928a96a544d7a9ba0a841789a6b69
diff --git a/x11/dunst/patches/patch-config.mk b/x11/dunst/patches/patch-config.mk
new file mode 100644
index 00000000000..84517e70e24
--- /dev/null
+++ b/x11/dunst/patches/patch-config.mk
@@ -0,0 +1,13 @@
+$NetBSD: patch-config.mk,v 1.1 2016/08/26 17:16:09 joerg Exp $
+
+--- config.mk.orig 2016-08-26 13:34:57.775528056 +0000
++++ config.mk
+@@ -37,7 +37,7 @@ endif
+ # includes and libs
+ INCS := $(shell ${PKG_CONFIG} --cflags ${pkg_config_packs})
+ CFLAGS += ${INCS}
+-LDFLAGS += -lm -L${X11LIB} -lXss ${XINERAMALIBS} $(shell ${PKG_CONFIG} --libs ${pkg_config_packs})
++LDFLAGS += -lm -lXss ${XINERAMALIBS} $(shell ${PKG_CONFIG} --libs ${pkg_config_packs})
+
+ # only make this an fatal error when where not cleaning
+ ifneq (clean, $(MAKECMDGOALS))
diff --git a/x11/dunst/patches/patch-notification.c b/x11/dunst/patches/patch-notification.c
new file mode 100644
index 00000000000..d96147287b6
--- /dev/null
+++ b/x11/dunst/patches/patch-notification.c
@@ -0,0 +1,12 @@
+$NetBSD: patch-notification.c,v 1.1 2016/08/26 17:16:09 joerg Exp $
+
+--- notification.c.orig 2016-08-26 13:36:35.405971570 +0000
++++ notification.c
+@@ -6,6 +6,7 @@
+ #include <glib.h>
+ #include <errno.h>
+ #include <string.h>
++#include <libgen.h>
+ #include <stdbool.h>
+ #include <unistd.h>
+ #include <sys/wait.h>