<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/01822715d1caf58d3443e1930d1949ec470b3546">https://github.com/macports/macports-ports/commit/01822715d1caf58d3443e1930d1949ec470b3546</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 0182271 libgphoto2: Fix build failure on Snow Leopard and earlier
</span>0182271 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 01822715d1caf58d3443e1930d1949ec470b3546
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Wed Apr 12 22:18:08 2017 -0500
<span style='display:block; white-space:pre;color:#404040;'> libgphoto2: Fix build failure on Snow Leopard and earlier
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/53965
</span>---
devel/libgphoto2/Portfile | 3 +++
devel/libgphoto2/files/GPPort.patch | 22 ++++++++++++++++++++++
2 files changed, 25 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libgphoto2/Portfile b/devel/libgphoto2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 427b947..1a4211f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/libgphoto2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libgphoto2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,6 +33,9 @@ depends_lib path:bin/dbus-daemon:dbus \
</span> port:libtool \
port:gd2
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patch.pre_args -p1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles GPPort.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.args --with-drivers=all \
--with-libexif=${prefix} \
ac_cv_prog_AWK=/usr/bin/awk
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libgphoto2/files/GPPort.patch b/devel/libgphoto2/files/GPPort.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..d1336be
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libgphoto2/files/GPPort.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,22 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 36e5b44ae84ff045ba77188b8e960e99fefaee8d Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: Marcus Meissner <marcus@jet.franken.de>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Wed, 12 Apr 2017 22:11:17 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] remove the typedef for GPPort from here fixes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ https://github.com/gphoto/libgphoto2/issues/157
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+---
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ camlibs/pentax/pslr_scsi.h | 1 -
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1 file changed, 1 deletion(-)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/camlibs/pentax/pslr_scsi.h b/camlibs/pentax/pslr_scsi.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index ca09b31..a2667bc 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/camlibs/pentax/pslr_scsi.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/camlibs/pentax/pslr_scsi.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -60,7 +60,6 @@ typedef enum {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* This also could be used to specify FDTYPE HANDLE for Win32, but this seems tricky with includes */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef LIBGPHOTO2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-typedef struct _GPPort GPPort;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define FDTYPE GPPort*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* classic UNIX style handle */
</span></pre><pre style='margin:0'>
</pre>