summaryrefslogtreecommitdiffstats
path: root/recipes/jpeg/openjpeg-1.3/fix_installdir.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/jpeg/openjpeg-1.3/fix_installdir.patch')
-rw-r--r--recipes/jpeg/openjpeg-1.3/fix_installdir.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/jpeg/openjpeg-1.3/fix_installdir.patch b/recipes/jpeg/openjpeg-1.3/fix_installdir.patch
new file mode 100644
index 0000000000..f04a81e6e0
--- /dev/null
+++ b/recipes/jpeg/openjpeg-1.3/fix_installdir.patch
@@ -0,0 +1,19 @@
+* status: pending
+* origin:
+ http://groups.google.com/group/openjpeg/browse_thread/thread/4cd7b53fbaab2822
+* comment: slightly modified patch by Patrick Reynolds, borrowed from
+ the thread above. Seems that it's not in upstream yet.
+ Had to modify header location from /usr/include/openjpeg/openjpeg.h to
+ /usr/include/openjpeg.h , as it's the only one header file anyway and
+ most of its users expect #include <openjpeg.h> to work.
+
+Index: libopenjpeg/CMakeLists.txt
+===================================================================
+--- a/libopenjpeg/CMakeLists.txt (revision 541)
++++ b/libopenjpeg/CMakeLists.txt (working copy)
+@@ -41,4 +41,4 @@
+
+ # Install includes files
+ INSTALL(FILES openjpeg.h
+- DESTINATION ${INCLUDE_INSTALL_DIR}/openjpeg)
++ DESTINATION include)