aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Spörlein <uqs@FreeBSD.org>2020-09-14 19:41:59 +0000
committerUlrich Spörlein <uqs@FreeBSD.org>2020-09-14 19:41:59 +0000
commit32aaedf65169de575acdb5ed0dfc7274624eb200 (patch)
tree85107e78680d5afb94fc6b44444a8650952e0834
parentf4d4c0001a8b973705eb98fd784effb2d30ec915 (diff)
downloadports-32aaedf65169de575acdb5ed0dfc7274624eb200.tar.gz
ports-32aaedf65169de575acdb5ed0dfc7274624eb200.zip
Notes
-rw-r--r--x11-clocks/wmtimer/Makefile2
-rw-r--r--x11-clocks/wmtimer/files/patch-display21
-rw-r--r--x11-clocks/wmtimer/pkg-descr2
3 files changed, 23 insertions, 2 deletions
diff --git a/x11-clocks/wmtimer/Makefile b/x11-clocks/wmtimer/Makefile
index a8bf25484830..03aca357893f 100644
--- a/x11-clocks/wmtimer/Makefile
+++ b/x11-clocks/wmtimer/Makefile
@@ -5,7 +5,7 @@ PORTNAME= wmtimer
PORTVERSION= 2.92
PORTREVISION= 11
CATEGORIES= x11-clocks windowmaker
-MASTER_SITES= http://www.darkops.net/wmtimer/ \
+MASTER_SITES= https://github.com/bbidulock/wmtimer/releases/download/${PORTVERSION}/ \
LOCAL/uqs
MAINTAINER= uqs@FreeBSD.org
diff --git a/x11-clocks/wmtimer/files/patch-display b/x11-clocks/wmtimer/files/patch-display
new file mode 100644
index 000000000000..55ebedcf5094
--- /dev/null
+++ b/x11-clocks/wmtimer/files/patch-display
@@ -0,0 +1,21 @@
+--- ../wmgeneral/wmgeneral.h.orig 2020-09-14 21:36:07.239508000 +0200
++++ ../wmgeneral/wmgeneral.h 2020-09-14 21:36:21.104761000 +0200
+@@ -40,7 +40,7 @@
+ /* Global variable */
+ /*******************/
+
+-Display *display;
++extern Display *display;
+
+ /***********************/
+ /* Function Prototypes */
+--- ../wmgeneral/wmgeneral.c.orig 2020-09-14 21:36:11.135626000 +0200
++++ ../wmgeneral/wmgeneral.c 2020-09-14 21:36:21.107677000 +0200
+@@ -55,6 +55,7 @@
+ /* X11 Variables */
+ /*****************/
+
++Display *display;
+ Window Root;
+ int screen;
+ int x_fd;
diff --git a/x11-clocks/wmtimer/pkg-descr b/x11-clocks/wmtimer/pkg-descr
index 0f16ac941a81..72e6651b474b 100644
--- a/x11-clocks/wmtimer/pkg-descr
+++ b/x11-clocks/wmtimer/pkg-descr
@@ -4,4 +4,4 @@ mode, you can either execute a command or sound the system bell
when the time is reached. Wmtimer is configurable through the
command line or the GTK GUI.
-WWW: http://www.darkops.net/wmtimer/
+WWW: https://github.com/bbidulock/wmtimer