summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Winston <amynka@gentoo.org>2016-11-07 14:43:44 +0100
committerAmy Winston <amynka@gentoo.org>2016-11-07 14:55:55 +0100
commit33c636fd5f8adad1a38696dcc01252b29a77c616 (patch)
tree80232e8f0fbb0911941b4301f88ff67e5b6dcec2 /sci-libs/gdal/files
parentnet-misc/wireguard: do not clean&build, just build (diff)
downloadgentoo-33c636fd5f8adad1a38696dcc01252b29a77c616.tar.gz
gentoo-33c636fd5f8adad1a38696dcc01252b29a77c616.tar.bz2
gentoo-33c636fd5f8adad1a38696dcc01252b29a77c616.zip
sci-libs/gdal: fix jasper bug #598597
Package-Manager: portage-2.3.0
Diffstat (limited to 'sci-libs/gdal/files')
-rw-r--r--sci-libs/gdal/files/gdal-2.0.2-jasper.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sci-libs/gdal/files/gdal-2.0.2-jasper.patch b/sci-libs/gdal/files/gdal-2.0.2-jasper.patch
new file mode 100644
index 00000000000..00cf5c16fa4
--- /dev/null
+++ b/sci-libs/gdal/files/gdal-2.0.2-jasper.patch
@@ -0,0 +1,13 @@
+diff -urpN gdal-2.0.2.orig/frmts/jpeg2000/jpeg2000_vsil_io.h gdal-2.0.2/frmts/jpeg2000/jpeg2000_vsil_io.h
+--- gdal-2.0.2.orig/frmts/jpeg2000/jpeg2000_vsil_io.h 2016-01-26 07:21:48.000000000 -0800
++++ gdal-2.0.2/frmts/jpeg2000/jpeg2000_vsil_io.h 2016-10-31 23:45:28.939407322 -0700
+@@ -29,7 +29,8 @@
+
+ #ifndef JPEG2000_VSIL_IO_H
+ #define JPEG2000_VSIL_IO_H
+-
++
++#include <sys/types.h>
+ #include <jasper/jasper.h>
+
+ jas_stream_t *JPEG2000_VSIL_fopen(const char *filename, const char *mode);