aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrix <brix@FreeBSD.org>2008-07-29 20:47:25 +0800
committerbrix <brix@FreeBSD.org>2008-07-29 20:47:25 +0800
commit51bd31b464dff4304424cdaa81fd8e53b0c4c2d7 (patch)
tree6c8f71bbc3839a03a1fb731cc633d9daca3d2808
parent8731f333a18a553b8187eaf90cd45e4757afffd0 (diff)
downloadfreebsd-ports-gnome-51bd31b464dff4304424cdaa81fd8e53b0c4c2d7.tar.gz
freebsd-ports-gnome-51bd31b464dff4304424cdaa81fd8e53b0c4c2d7.tar.zst
freebsd-ports-gnome-51bd31b464dff4304424cdaa81fd8e53b0c4c2d7.zip
Add quirk for the Apple iPhone 3G from upstream SVN.
Approved by: pav (maintainer), erwin (mentor, implicit)
-rw-r--r--graphics/libgphoto2/Makefile1
-rw-r--r--graphics/libgphoto2/files/patch-camlibs-ptp2-library.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/graphics/libgphoto2/Makefile b/graphics/libgphoto2/Makefile
index 20da3e898733..3bc69d651841 100644
--- a/graphics/libgphoto2/Makefile
+++ b/graphics/libgphoto2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libgphoto2
PORTVERSION= 2.4.2
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gphoto
diff --git a/graphics/libgphoto2/files/patch-camlibs-ptp2-library.c b/graphics/libgphoto2/files/patch-camlibs-ptp2-library.c
new file mode 100644
index 000000000000..ae5f87c940f3
--- /dev/null
+++ b/graphics/libgphoto2/files/patch-camlibs-ptp2-library.c
@@ -0,0 +1,11 @@
+--- camlibs/ptp2/library.c 2008/07/18 07:26:56 11241
++++ camlibs/ptp2/library.c 2008/07/22 10:01:44 11247
+@@ -858,6 +858,8 @@
+
+ /* from Mike Meyer <mwm@mired.org> */
+ {"Apple:iPhone (PTP mode)", 0x05ac, 0x1290, PTPBUG_DCIM_WRONG_PARENT},
++ /* irc reporter */
++ {"Apple:iPhone 3G (PTP mode)", 0x05ac, 0x1292, PTPBUG_DCIM_WRONG_PARENT},
+ /* https://sourceforge.net/tracker/index.php?func=detail&aid=1869653&group_id=158745&atid=809061 */
+ {"Pioneer:DVR-LX60D", 0x08e4, 0x0142, 0},
+ };