Update to 1.1.2

This commit is contained in:
Olivier Duchateau 2017-02-25 16:21:40 +00:00
parent 2b854cc262
commit 78353b3369
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=434825
3 changed files with 10 additions and 10 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= xfce4-mount-plugin
PORTVERSION= 0.6.7
PORTREVISION= 4
PORTVERSION= 1.1.2
CATEGORIES= sysutils xfce
MASTER_SITES= XFCE/src/panel-plugins/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR= xfce4
@ -19,8 +18,8 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
INSTALL_TARGET= install-strip
USES= gettext gmake libtool pkgconfig xfce tar:bzip2
USE_GNOME= gtk20 cairo intltool intlhack
USES= gettext gmake libtool pkgconfig tar:bzip2 xfce:gtk3
USE_GNOME= gtk30 cairo intltool
USE_LDCONFIG= yes
USE_XFCE= panel

View File

@ -1,2 +1,3 @@
SHA256 (xfce4/xfce4-mount-plugin-0.6.7.tar.bz2) = 541b94a892aa15d57707db9703bef85a5ce342769326f138cbf6cd7af1e2ac8d
SIZE (xfce4/xfce4-mount-plugin-0.6.7.tar.bz2) = 390163
TIMESTAMP = 1488038251
SHA256 (xfce4/xfce4-mount-plugin-1.1.2.tar.bz2) = 54578447abaf9da630a750d64acdc37d4fd20dda6460208d6d1ffaa9e43ee1a6
SIZE (xfce4/xfce4-mount-plugin-1.1.2.tar.bz2) = 425997

View File

@ -1,14 +1,14 @@
--- panel-plugin/devices.c.orig 2014-04-26 21:31:42 UTC
--- panel-plugin/devices.c.orig 2017-01-28 15:03:36 UTC
+++ panel-plugin/devices.c
@@ -329,9 +329,11 @@ disk_umount (t_disk *pdisk, char* umount
@@ -346,9 +346,11 @@ disk_umount (t_disk *pdisk, char* umount
{
DBG("disk_umount: dev=%s, mountpoint=%s, umount_command=%s, show_message_dialog=%d, eject=%d, type=%s", pdisk->device, pdisk->mount_point, umount_command, show_message_dialog, eject, pdisk->mount_info->type);
+#if !defined(__FreeBSD__) || !defined(__DragonFly__)
if (strstr(pdisk->mount_info->type, "fuse"))
if (strstr(pdisk->mount_info->type, "fuse."))
deviceprintf(&tmp, "fusermount -u %m", pdisk->device);
else
+#endif
deviceprintf(&tmp, umount_command, pdisk->device);
mountpointprintf(&cmd, tmp, pdisk->mount_point);