aboutsummaryrefslogtreecommitdiff
path: root/devel/xdg-user-dirs
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-07-19 20:51:41 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-07-19 20:51:41 +0000
commita07d2255469ff0590681e56f9673d5227d12b7c2 (patch)
tree6e0370cde1388fe87b60ec7a8098e31ac7c4935c /devel/xdg-user-dirs
parentf896371ff3c1df00c4ac86678bfce1f623c35179 (diff)
downloadports-a07d2255469ff0590681e56f9673d5227d12b7c2.tar.gz
ports-a07d2255469ff0590681e56f9673d5227d12b7c2.zip
Notes
Diffstat (limited to 'devel/xdg-user-dirs')
-rw-r--r--devel/xdg-user-dirs/Makefile1
-rw-r--r--devel/xdg-user-dirs/files/patch-xdg-user-dirs-update.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/devel/xdg-user-dirs/Makefile b/devel/xdg-user-dirs/Makefile
index e4bd285b9501..9c40985021dd 100644
--- a/devel/xdg-user-dirs/Makefile
+++ b/devel/xdg-user-dirs/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xdg-user-dirs
PORTVERSION= 0.10
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://user-dirs.freedesktop.org/releases/
diff --git a/devel/xdg-user-dirs/files/patch-xdg-user-dirs-update.c b/devel/xdg-user-dirs/files/patch-xdg-user-dirs-update.c
index a76ba10099d6..d37cc2955347 100644
--- a/devel/xdg-user-dirs/files/patch-xdg-user-dirs-update.c
+++ b/devel/xdg-user-dirs/files/patch-xdg-user-dirs-update.c
@@ -5,7 +5,7 @@
#include <langinfo.h>
+#if defined(__FreeBSD__)
-+static char *strndup(const char *str, int len) {
++static char *strndup(const char *str, size_t len) {
+ char *ret;
+
+ if ((str == NULL || len < 0)) return(NULL);