summaryrefslogtreecommitdiff
path: root/libraries/libgphoto2/check-ptp-camera.diff
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libgphoto2/check-ptp-camera.diff')
-rw-r--r--libraries/libgphoto2/check-ptp-camera.diff14
1 files changed, 0 insertions, 14 deletions
diff --git a/libraries/libgphoto2/check-ptp-camera.diff b/libraries/libgphoto2/check-ptp-camera.diff
deleted file mode 100644
index 92bb2c1b64..0000000000
--- a/libraries/libgphoto2/check-ptp-camera.diff
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -Nur libgphoto2-2.4.3.orig/packaging/generic/check-ptp-camera libgphoto2-2.4.3/packaging/generic/check-ptp-camera
---- libgphoto2-2.4.3.orig/packaging/generic/check-ptp-camera 2007-07-27 00:52:50.000000000 -0500
-+++ libgphoto2-2.4.3/packaging/generic/check-ptp-camera 2008-10-21 12:43:06.121742696 -0500
-@@ -3,8 +3,8 @@
- # check if any interface of this device is a PTP camera interface (06)
- INTERFACE="${1:-06/01/01}"
-
--BASENAME=${PHYSDEVPATH##*/}
--for d in /sys/${PHYSDEVPATH}/${BASENAME}:*; do
-+BASENAME=${DEVPATH##*/}
-+for d in /sys/${DEVPATH}/${BASENAME}:*; do
- [[ -d ${d} ]] || continue
- INTERFACEID="$(< ${d}/bInterfaceClass)"
- INTERFACEID="${INTERFACEID}/$(< ${d}/bInterfaceSubClass)"