Gentoo Archives: gentoo-commits

From: "Steve Arnold (nerdboy)" <nerdboy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/gdal/files: gdal-1.6.0-swig-fix.patch
Date: Sat, 25 Apr 2009 06:08:10
Message-Id: E1Lxb3Z-0004pp-15@stork.gentoo.org
1 nerdboy 09/04/25 06:08:09
2
3 Added: gdal-1.6.0-swig-fix.patch
4 Log:
5 Backported patch from upstream for swig 1.3.39 (fixes bug #266251).
6 (Portage version: 2.2_rc31/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 sci-libs/gdal/files/gdal-1.6.0-swig-fix.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/gdal/files/gdal-1.6.0-swig-fix.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/gdal/files/gdal-1.6.0-swig-fix.patch?rev=1.1&content-type=text/plain
13
14 Index: gdal-1.6.0-swig-fix.patch
15 ===================================================================
16 --- swig/include/gdal.i.orig 2009-04-24 21:55:06.315863023 -0700
17 +++ swig/include/gdal.i 2009-04-24 22:10:28.806611326 -0700
18 @@ -176,6 +176,17 @@
19 %include "gdal_typemaps.i"
20 #endif
21
22 +/* Default memberin typemaps required to support SWIG 1.3.39 and above */
23 +%typemap(memberin) char *Info %{
24 +/* char* Info memberin typemap */
25 +$1;
26 +%}
27 +
28 +%typemap(memberin) char *Id %{
29 +/* char* Info memberin typemap */
30 +$1;
31 +%}
32 +
33 //************************************************************************
34 //
35 // Define the exposed CPL functions.