Add patch to fix charls include

This commit is contained in:
Orion Poplawski 2011-11-02 08:44:51 -06:00
parent c1cc90e58f
commit 0ae9dc75a4
2 changed files with 16 additions and 0 deletions

13
gdcm-2.0.18-charls.patch Normal file
View File

@ -0,0 +1,13 @@
diff -up gdcm-2.0.18/Examples/Cxx/FixJAIBugJPEGLS.cxx.charls gdcm-2.0.18/Examples/Cxx/FixJAIBugJPEGLS.cxx
--- gdcm-2.0.18/Examples/Cxx/FixJAIBugJPEGLS.cxx.charls 2011-06-29 01:08:45.000000000 -0600
+++ gdcm-2.0.18/Examples/Cxx/FixJAIBugJPEGLS.cxx 2011-11-02 08:42:35.461761850 -0600
@@ -17,8 +17,7 @@
#include <fstream>
-#include "gdcmcharls/stdafx.h"
-#include "gdcmcharls/interface.h"
+#include "gdcm_charls.h"
/*
* This small example should show how one can handle the famous JAI-JPEGLS bug

View File

@ -18,6 +18,7 @@ ExcludeArch: ppc ppc64
Patch1: gdcm-2.0.14-inplacebuild.patch
Patch2: gdcm-2.0.14-usecopyright.patch
Patch3: gdcm-2.0.18-charls.patch
Patch6: gdcm-2.0.17-install2libarch.patch
Patch10: gdcm-2.0.17-no_versioned_dir.patch
@ -77,6 +78,7 @@ used this library with python
%setup -q
%patch1
%patch2
%patch3 -p 1 -b .charls
%patch6 -p 1
%patch10 -p 1
@ -175,6 +177,7 @@ ctest .
- Update to 2.0.18
- Drop upstreamed patches
- Add -DGDCM_USE_SYSTEM_CHARLS=ON
- Add patch to fix charls include
* Fri Oct 28 2011 Rex Dieter <rdieter@fedoraproject.org> - 2.0.17-9
- rebuild(poppler)