[132989] trunk/dports/multimedia/libgpod
ryandesign at macports.org
ryandesign at macports.org
Mon Feb 16 23:18:46 PST 2015
Revision: 132989
https://trac.macports.org/changeset/132989
Author: ryandesign at macports.org
Date: 2015-02-16 23:18:46 -0800 (Mon, 16 Feb 2015)
Log Message:
-----------
libgpod: fix build with swig 3.0.3 (#46859)
Modified Paths:
--------------
trunk/dports/multimedia/libgpod/Portfile
Added Paths:
-----------
trunk/dports/multimedia/libgpod/files/
trunk/dports/multimedia/libgpod/files/patch-bindings-python-gpod.i.in.diff
Modified: trunk/dports/multimedia/libgpod/Portfile
===================================================================
--- trunk/dports/multimedia/libgpod/Portfile 2015-02-17 02:17:13 UTC (rev 132988)
+++ trunk/dports/multimedia/libgpod/Portfile 2015-02-17 07:18:46 UTC (rev 132989)
@@ -31,6 +31,8 @@
port:taglib \
path:lib/pkgconfig/libusb-1.0.pc:libusb
+patchfiles-append patch-bindings-python-gpod.i.in.diff
+
# update m4/intltool.m4 and autoreconf
pre-configure {
Added: trunk/dports/multimedia/libgpod/files/patch-bindings-python-gpod.i.in.diff
===================================================================
--- trunk/dports/multimedia/libgpod/files/patch-bindings-python-gpod.i.in.diff (rev 0)
+++ trunk/dports/multimedia/libgpod/files/patch-bindings-python-gpod.i.in.diff 2015-02-17 07:18:46 UTC (rev 132989)
@@ -0,0 +1,16 @@
+https://bugzilla.redhat.com/show_bug.cgi?id=1191583
+https://bugzilla.redhat.com/attachment.cgi?id=990794
+--- bindings/python/gpod.i.in.orig 2010-10-09 15:46:01.000000000 -0500
++++ bindings/python/gpod.i.in 2015-02-17 01:16:44.000000000 -0600
+@@ -296,9 +296,11 @@
+ %include "gpod_doc.i"
+ %include "@top_builddir@/config.h"
+
++/*
+ # be nicer to decode these utf8 strings into Unicode objects in the C
+ # layer. Here we are leaving it to the Python side, and just giving
+ # them utf8 encoded Strings.
++*/
+ typedef char gchar;
+
+ %typemap(in) time_t {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150216/980ac1c9/attachment.html>
More information about the macports-changes
mailing list