summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/wmcliphist/Makefile3
-rw-r--r--x11/wmcliphist/distinfo2
-rw-r--r--x11/wmcliphist/files/patch-Makefile15
-rw-r--r--x11/wmcliphist/files/patch-history.c21
4 files changed, 11 insertions, 30 deletions
diff --git a/x11/wmcliphist/Makefile b/x11/wmcliphist/Makefile
index 533f5f9a383a..a698e64f9745 100644
--- a/x11/wmcliphist/Makefile
+++ b/x11/wmcliphist/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= wmcliphist
-PORTVERSION= 0.3
-PORTREVISION= 1
+PORTVERSION= 0.4
CATEGORIES= x11 windowmaker
MASTER_SITES= http://linux.nawebu.cz/wmcliphist/
diff --git a/x11/wmcliphist/distinfo b/x11/wmcliphist/distinfo
index 65a40a72f251..6d264bea50dd 100644
--- a/x11/wmcliphist/distinfo
+++ b/x11/wmcliphist/distinfo
@@ -1 +1 @@
-MD5 (wmcliphist-0.3.tar.gz) = e3f4cf211a25c0b2ed31a588f81b8d6c
+MD5 (wmcliphist-0.4.tar.gz) = 83c8f35fe9e8b719ed6acd08d0e154b1
diff --git a/x11/wmcliphist/files/patch-Makefile b/x11/wmcliphist/files/patch-Makefile
index c1eb47fe4879..2b698d869004 100644
--- a/x11/wmcliphist/files/patch-Makefile
+++ b/x11/wmcliphist/files/patch-Makefile
@@ -1,9 +1,9 @@
---- Makefile.orig Thu Dec 20 11:31:46 2001
-+++ Makefile Sat Feb 16 22:24:52 2002
+--- Makefile.orig Sat Nov 16 05:57:01 2002
++++ Makefile Thu Jun 5 19:05:41 2003
@@ -1,6 +1,4 @@
-CC = gcc
-
--INCLUDES = `gtk-config --cflags` -I. -Ifoodock
+-INCLUDES = `gtk-config --cflags` -I. -Ifoodock -g
+INCLUDES = `${GTK_CONFIG} --cflags` -I. -Ifoodock
# choose icon
@@ -26,12 +26,3 @@
OBJECTS = wmcliphist.o clipboard.o gui.o rcconfig.o history.o hotkeys.o $(DEBUG)
-@@ -33,7 +31,7 @@
- lclint $(INCLUDES) +posixlib *.c >lclint.log
-
- wmcliphist: $(OBJECTS) foodock/foodock.o
-- $(CC) $(LFLAGS) -o $@ $(OBJECTS) foodock/foodock.o
-+ $(CC) $(LFLAGS) -o $@ $(OBJECTS) foodock.o
-
- wmcliphist.o: wmcliphist.c wmcliphist.h icon/wmcliphist_ico_mask.xbm \
- icon/wmcliphist_ico_dark.xpm icon/wmcliphist_ico_mid.xpm \
diff --git a/x11/wmcliphist/files/patch-history.c b/x11/wmcliphist/files/patch-history.c
index 1e07c54d73a2..850e58e423d9 100644
--- a/x11/wmcliphist/files/patch-history.c
+++ b/x11/wmcliphist/files/patch-history.c
@@ -1,17 +1,8 @@
---- history.c.orig Sun Dec 16 23:42:47 2001
-+++ history.c Tue Jul 16 20:14:38 2002
-@@ -123,12 +123,13 @@
- break;
- }
+--- history.c.orig Thu Jun 5 19:11:21 2003
++++ history.c Thu Jun 5 19:11:17 2003
+@@ -1,3 +1,5 @@
++#include <sys/types.h>
++#include <sys/stat.h>
+ #include <wmcliphist.h>
-- buf = g_new0(gchar, len);
-+ buf = g_new0(gchar, len + 1);
- if (fread(buf, len, 1, f) != 1) {
- g_free(buf);
- tmp_errno = E_INVALID;
- break;
- }
-+ buf[len] = '\0';
- if (fread(&locked, sizeof(gint), 1, f) != 1) {
- g_free(buf);