aboutsummaryrefslogtreecommitdiff
path: root/devel/xdg-utils
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2008-04-09 01:00:46 +0000
committerMichael Johnson <ahze@FreeBSD.org>2008-04-09 01:00:46 +0000
commit80afaf626bc02ddddbbf07558e74374b284e202b (patch)
tree64fbe401fe82eff1c42e81e9796e536f62a05484 /devel/xdg-utils
parent15815c848be187553f15454c9505aa5a2f381e30 (diff)
downloadports-80afaf626bc02ddddbbf07558e74374b284e202b.tar.gz
ports-80afaf626bc02ddddbbf07558e74374b284e202b.zip
Notes
Diffstat (limited to 'devel/xdg-utils')
-rw-r--r--devel/xdg-utils/Makefile1
-rw-r--r--devel/xdg-utils/files/patch-scripts_xdg-mime13
2 files changed, 12 insertions, 2 deletions
diff --git a/devel/xdg-utils/Makefile b/devel/xdg-utils/Makefile
index ecbafd845599..be8f72413675 100644
--- a/devel/xdg-utils/Makefile
+++ b/devel/xdg-utils/Makefile
@@ -8,6 +8,7 @@
PORTNAME= xdg-utils
PORTVERSION= 1.0.2
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://portland.freedesktop.org/download/
EXTRACT_SUFX= .tgz
diff --git a/devel/xdg-utils/files/patch-scripts_xdg-mime b/devel/xdg-utils/files/patch-scripts_xdg-mime
index 7a1b8487a153..571976bb1f39 100644
--- a/devel/xdg-utils/files/patch-scripts_xdg-mime
+++ b/devel/xdg-utils/files/patch-scripts_xdg-mime
@@ -1,5 +1,14 @@
---- scripts/xdg-mime.orig Fri Oct 27 16:39:27 2006
-+++ scripts/xdg-mime Fri Oct 27 16:40:23 2006
+--- scripts/xdg-mime.orig 2007-06-24 15:57:57.000000000 -0400
++++ scripts/xdg-mime 2008-04-08 20:57:53.179475369 -0400
+@@ -474,7 +474,7 @@
+
+ info_gnome()
+ {
+- file=`readlink -f "$1"` # Normalize path
++ file=`stat -f "$1"` # Normalize path
+ DEBUG 1 "Running gnomevfs-info \"$file\""
+ gnomevfs-info "$file" 2> /dev/null | grep MIME | cut -d ":" -f 2 | sed s/"^ "//
+
@@ -557,7 +557,7 @@
[ -n "$xdg_user_dir" ] || xdg_user_dir="$HOME/.local/share"
xdg_user_dir="$xdg_user_dir/$xdg_dir_name"