diff options
author | Guido Falsi <madpilot@FreeBSD.org> | 2016-03-29 11:01:36 +0000 |
---|---|---|
committer | Guido Falsi <madpilot@FreeBSD.org> | 2016-03-29 11:01:36 +0000 |
commit | 508ed084189d1fd5db2c330e12d2f77d56bd0d1d (patch) | |
tree | 9b0e445646f39610c1654f78be68620d144c91e8 /deskutils | |
parent | 2730c1eee2d8e6bd1507e2c61bbf6f78abf3e004 (diff) | |
download | ports-508ed084189d1fd5db2c330e12d2f77d56bd0d1d.tar.gz ports-508ed084189d1fd5db2c330e12d2f77d56bd0d1d.zip |
Notes
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/calibre/Makefile | 2 | ||||
-rw-r--r-- | deskutils/calibre/files/patch-src_calibre_devices_usbms_device.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/deskutils/calibre/Makefile b/deskutils/calibre/Makefile index a96c888d6612..d2fe90dea73b 100644 --- a/deskutils/calibre/Makefile +++ b/deskutils/calibre/Makefile @@ -3,7 +3,7 @@ PORTNAME= calibre PORTVERSION= 2.53.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= deskutils python MASTER_SITES= http://download.calibre-ebook.com/${PORTVERSION}/ diff --git a/deskutils/calibre/files/patch-src_calibre_devices_usbms_device.py b/deskutils/calibre/files/patch-src_calibre_devices_usbms_device.py index ea963ad2cff7..567d1afa7b92 100644 --- a/deskutils/calibre/files/patch-src_calibre_devices_usbms_device.py +++ b/deskutils/calibre/files/patch-src_calibre_devices_usbms_device.py @@ -6,7 +6,7 @@ d.serial == objif.GetProperty('usb.serial'): - dpaths = manager.FindDeviceStringMatch('storage.originating_device', path) + midpath = manager.FindDeviceStringMatch('info.parent', path) -+ dpaths = manager.FindDeviceStringMatch('storage.originating_device', midpath[0]) ++ dpaths = manager.FindDeviceStringMatch('storage.originating_device', path) + manager.FindDeviceStringMatch('storage.originating_device', midpath[0]) for dpath in dpaths: # devif = dbus.Interface(bus.get_object('org.freedesktop.Hal', dpath), 'org.freedesktop.Hal.Device') try: |