aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/compizconfig-backend-gconf
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2007-10-29 19:22:40 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2007-10-29 19:22:40 +0000
commit31eb629e5b1a851158122b649c82d32a5a6038c8 (patch)
tree5f63abbbbb1f4ea9e9f1c1a47d4ad8596421652d /x11-wm/compizconfig-backend-gconf
parent1ea36b8f14cbf9e0029472c38f9ebacc04c88331 (diff)
downloadports-31eb629e5b1a851158122b649c82d32a5a6038c8.tar.gz
ports-31eb629e5b1a851158122b649c82d32a5a6038c8.zip
Notes
Diffstat (limited to 'x11-wm/compizconfig-backend-gconf')
-rw-r--r--x11-wm/compizconfig-backend-gconf/Makefile5
-rw-r--r--x11-wm/compizconfig-backend-gconf/distinfo6
-rw-r--r--x11-wm/compizconfig-backend-gconf/files/patch-settings-backend-gconf.c25
3 files changed, 5 insertions, 31 deletions
diff --git a/x11-wm/compizconfig-backend-gconf/Makefile b/x11-wm/compizconfig-backend-gconf/Makefile
index 077f728301e8..407e43bc22e6 100644
--- a/x11-wm/compizconfig-backend-gconf/Makefile
+++ b/x11-wm/compizconfig-backend-gconf/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= compizconfig-backend-gconf
-PORTVERSION= 0.5.2
+PORTVERSION= 0.6.0
#PORTREVISION= 0
CATEGORIES= x11-wm
MASTER_SITES= http://releases.compiz-fusion.org/${PORTVERSION}/
@@ -30,5 +30,4 @@ post-patch:
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' \
${WRKSRC}/settings-backend/gconf.c \
-.include <bsd.port.pre.mk>
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/x11-wm/compizconfig-backend-gconf/distinfo b/x11-wm/compizconfig-backend-gconf/distinfo
index 7d709a889814..8927618186af 100644
--- a/x11-wm/compizconfig-backend-gconf/distinfo
+++ b/x11-wm/compizconfig-backend-gconf/distinfo
@@ -1,3 +1,3 @@
-MD5 (compizconfig-backend-gconf-0.5.2.tar.bz2) = f64426ae486e62b5d475ab4e40d9d0d3
-SHA256 (compizconfig-backend-gconf-0.5.2.tar.bz2) = 9c62533019683cbf6811e8d71feb4ea7ef1e4e37e44b5a63f701b2b25d12d4c1
-SIZE (compizconfig-backend-gconf-0.5.2.tar.bz2) = 236234
+MD5 (compizconfig-backend-gconf-0.6.0.tar.bz2) = f7a0ec178a3a47c7d087c654eb78f0a5
+SHA256 (compizconfig-backend-gconf-0.6.0.tar.bz2) = 5956e1cbc0c75244d47327aab21bd2eb294fe9c44582a77651f412c6a24e1940
+SIZE (compizconfig-backend-gconf-0.6.0.tar.bz2) = 236287
diff --git a/x11-wm/compizconfig-backend-gconf/files/patch-settings-backend-gconf.c b/x11-wm/compizconfig-backend-gconf/files/patch-settings-backend-gconf.c
deleted file mode 100644
index 9dba9b832ec1..000000000000
--- a/x11-wm/compizconfig-backend-gconf/files/patch-settings-backend-gconf.c
+++ /dev/null
@@ -1,25 +0,0 @@
---- settings-backend/gconf.c.orig 2007-08-14 05:26:13.000000000 -0400
-+++ settings-backend/gconf.c 2007-08-17 21:44:10.000000000 -0400
-@@ -28,7 +28,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
--#include <malloc.h>
-+#include <stdlib.h>
- #include <string.h>
- #include <dirent.h>
-
-@@ -441,7 +441,12 @@
-
- if (strcmp (token + len - prefixLen, prefix[i]) == 0)
- {
-- char *buffer = strndup (token, len - prefixLen);
-+ char *buffer;
-+ if ((buffer = (char *) malloc(len - prefixLen + 1)) != NULL) {
-+ bzero (buffer, len - prefixLen + 1);
-+ strncpy (buffer, token, len - prefixLen);
-+ }
-+
- if (buffer)
- {
- setting = ccsFindSetting (plugin, buffer,