linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / django / 1.10-gis-libs.template.patch
blobda154554d1b37b18f201aa62a996feb30f003a77
1 diff --git a/django/contrib/gis/gdal/libgdal.py b/django/contrib/gis/gdal/libgdal.py
2 --- a/django/contrib/gis/gdal/libgdal.py
3 +++ b/django/contrib/gis/gdal/libgdal.py
4 @@ -17,7 +17,7 @@ try:
5 lib_path = settings.GDAL_LIBRARY_PATH
6 except (AttributeError, EnvironmentError,
7 ImportError, ImproperlyConfigured):
8 - lib_path = None
9 + lib_path = "@gdal@/lib/libgdal@extension@"
11 if lib_path:
12 lib_names = None
13 diff --git a/django/contrib/gis/geos/libgeos.py b/django/contrib/gis/geos/libgeos.py
14 --- a/django/contrib/gis/geos/libgeos.py
15 +++ b/django/contrib/gis/geos/libgeos.py
16 @@ -26,7 +26,7 @@ try:
17 lib_path = settings.GEOS_LIBRARY_PATH
18 except (AttributeError, EnvironmentError,
19 ImportError, ImproperlyConfigured):
20 - lib_path = None
21 + lib_path = "@geos@/lib/libgeos_c@extension@"
23 # Setting the appropriate names for the GEOS-C library.
24 if lib_path: