File openjpeg-1.5.0-pkgconfig_includedir.patch of Package openjpeg

diff -up openjpeg-1.5.0/libopenjpeg1.pc.cmake.pkgconfig_includedir openjpeg-1.5.0/libopenjpeg1.pc.cmake
--- openjpeg-1.5.0/libopenjpeg1.pc.cmake.pkgconfig_includedir	2012-02-07 04:49:55.000000000 -0600
+++ openjpeg-1.5.0/libopenjpeg1.pc.cmake	2012-02-23 08:13:37.085488921 -0600
@@ -2,7 +2,7 @@ prefix=@CMAKE_INSTALL_PREFIX@
 bindir=@OPENJPEG_INSTALL_BIN_DIR@
 datadir=@OPENJPEG_INSTALL_DATA_DIR@
 libdir=@OPENJPEG_INSTALL_LIB_DIR@
-includedir=@OPENJPEG_INSTALL_INCLUDE_DIR@
+includedir=@OPENJPEG_INSTALL_INCLUDE_DIR@/@OPENJPEG_INSTALL_SUBDIR@
 
 Name: openjpeg
 Description: JPEG2000 files library
diff -up openjpeg-1.5.0/libopenjpeg1.pc.in.pkgconfig_includedir openjpeg-1.5.0/libopenjpeg1.pc.in
--- openjpeg-1.5.0/libopenjpeg1.pc.in.pkgconfig_includedir	2012-02-07 04:49:55.000000000 -0600
+++ openjpeg-1.5.0/libopenjpeg1.pc.in	2012-02-23 08:16:11.822605414 -0600
@@ -1,7 +1,7 @@
 prefix=@prefix@
 exec_prefix=@exec_prefix@
 libdir=@libdir@
-includedir=@includedir@
+includedir=@includedir@/openjpeg-@MAJOR_NR@.@MINOR_NR@
 
 Name: openjpeg
 Description: JPEG2000 library