/[packages]/updates/5/ghostscript/current/SOURCES/ghostscript-9.19-openjpeg2-non-static.patch
ViewVC logotype

Contents of /updates/5/ghostscript/current/SOURCES/ghostscript-9.19-openjpeg2-non-static.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1097910 - (show annotations) (download)
Fri Apr 28 12:05:54 2017 UTC (6 years, 11 months ago) by neoclust
File size: 1326 byte(s)
New version - Fixes CVE-2016-797[6-9], CVE-2016-8602, CVE-2016-9601, CVE-2017-7207 CVE-2017-8291
1 Index: ghostscript-9.19/base/lib.mak
2 ===================================================================
3 --- ghostscript-9.19/base/lib.mak
4 +++ ghostscript-9.19/base/lib.mak 2016-07-22 19:12:44.872071718 +0200
5 @@ -1832,7 +1832,7 @@
6 $(memory__h) $(gserror_h) $(gserrors_h) \
7 $(gdebug_h) $(strimpl_h) $(sjpx_openjpeg_h) $(LIB_MAK) $(MAKEDIRS)
8 $(GLJPXOPJCC) $(GLO_)sjpx_openjpeg.$(OBJ) \
9 - $(C_) -DOPJ_STATIC $(GLSRC)sjpx_openjpeg.c
10 + $(C_) $(GLSRC)sjpx_openjpeg.c
11
12 # ---------------- Pixel-difference filters ---------------- #
13 # The Predictor facility of the LZW and Flate filters uses these.
14 Index: ghostscript-9.19/base/openjpeg.mak
15 ===================================================================
16 --- ghostscript-9.19/base/openjpeg.mak
17 +++ ghostscript-9.19/base/openjpeg.mak 2016-07-22 19:12:38.074320810 +0200
18 @@ -113,7 +113,7 @@
19 $(SETMOD) $(OPEN_JPEG_GEN)openjpeg_0 $(open_jpeg_OBJS)
20
21 # define our specific compiler
22 -OPEN_JPEG_CC=$(CC) $(CFLAGS) $(D_)OPJ_STATIC$(_D) $(I_)$(OPEN_JPEG_GEN)$(_I) $(I_)$(JPX_OPENJPEG_I_)$(_I) $(I_)$(JPX_OPENJPEG_I_)$(D)..$(_I) $(JPXCF_)
23 +OPEN_JPEG_CC=$(CC) $(CFLAGS) $(I_)$(OPEN_JPEG_GEN)$(_I) $(I_)$(JPX_OPENJPEG_I_)$(_I) $(I_)$(JPX_OPENJPEG_I_)$(D)..$(_I) $(JPXCF_)
24 OPEN_JPEG_O=$(O_)$(OPEN_JPEG_OBJ)$(OPEN_JPEG_PREFIX)
25
26 OPEN_JPEG_DEP=$(AK) $(OPEN_JPEG_MAK) $(MAKEDIRS)

  ViewVC Help
Powered by ViewVC 1.1.30