- Add libgpod-swig-3.0.patch: Fix build with SWIG 3.0. OBS-URL: https://build.opensuse.org/request/show/282861 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libgpod?expand=0&rev=35
19 lines
725 B
Diff
19 lines
725 B
Diff
Index: libgpod-0.8.3/bindings/python/gpod.i.in
|
|
===================================================================
|
|
--- libgpod-0.8.3.orig/bindings/python/gpod.i.in
|
|
+++ libgpod-0.8.3/bindings/python/gpod.i.in
|
|
@@ -298,9 +298,10 @@ PyObject* sw_get_photo(GList *list, gint
|
|
%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.
|
|
+/* 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 {
|