Code

Ticket #16007: gdal-lib-patch.diff

File gdal-lib-patch.diff, 618 bytes (added by Jørgen Abrahamsen, 3 years ago)
Line 
1Index: django/contrib/gis/gdal/libgdal.py
2===================================================================
3--- django/contrib/gis/gdal/libgdal.py  (revision 16344)
4+++ django/contrib/gis/gdal/libgdal.py  (working copy)
5@@ -17,7 +17,8 @@
6     lib_names = ['gdal18', 'gdal17', 'gdal16', 'gdal15']
7 elif os.name == 'posix':
8     # *NIX library names.
9-    lib_names = ['gdal', 'GDAL', 'gdal1.7.0', 'gdal1.6.0', 'gdal1.5.0', 'gdal1.4.0']
10+    lib_names = ['gdal', 'GDAL', 'gdal1.8.0', 'gdal1.7.0', 'gdal1.6.0',
11+                 'gdal1.5.0', 'gdal1.4.0']
12 else:
13     raise OGRException('Unsupported OS "%s"' % os.name)
14