]> git.pld-linux.org Git - packages/gdal.git/blob - gdal-format-security.patch
- updated openjpeg2 patch to fix build also when size_t is not 32-bit
[packages/gdal.git] / gdal-format-security.patch
1 --- gdal-1.9.2/swig/include/ruby/typemaps_ruby.i.orig   2012-10-09 02:58:28.000000000 +0200
2 +++ gdal-1.9.2/swig/include/ruby/typemaps_ruby.i        2013-01-06 15:12:18.221272187 +0100
3 @@ -127,7 +127,7 @@
4  {
5    /* %typemap(out) OGRErr */
6    if ($1 != 0) {
7 -    rb_raise(rb_eRuntimeError, OGRErrMessages(result));
8 +    rb_raise(rb_eRuntimeError, "%s", OGRErrMessages(result));
9    }
10  }
11  
This page took 0.056174 seconds and 3 git commands to generate.