Browse Source

upgrading package: ghostscript 9.19 -> 9.20

Ralf S. Engelschall 9 years ago
parent
commit
ff7cabcbbe
2 changed files with 36 additions and 5 deletions
  1. 33 2
      ghostscript/ghostscript.patch
  2. 3 3
      ghostscript/ghostscript.spec

+ 33 - 2
ghostscript/ghostscript.patch

@@ -1,6 +1,6 @@
 Index: base/stdint_.h
 Index: base/stdint_.h
---- base/stdint_.h.orig	2014-01-19 18:50:30.490909000 +0100
-+++ base/stdint_.h	2014-01-19 18:52:25.610827563 +0100
+--- base/stdint_.h.orig	2016-09-26 12:41:28.000000000 +0200
++++ base/stdint_.h	2016-09-27 00:14:15.159444567 +0200
 @@ -70,6 +70,13 @@
 @@ -70,6 +70,13 @@
     typedef unsigned long long uint64_t;
     typedef unsigned long long uint64_t;
  #  define STDINT_TYPES_DEFINED
  #  define STDINT_TYPES_DEFINED
@@ -15,3 +15,34 @@ Index: base/stdint_.h
     /* other archs may want to add defines here,
     /* other archs may want to add defines here,
        or use the fallbacks in std.h */
        or use the fallbacks in std.h */
  #endif
  #endif
+Index: configure
+--- configure.orig	2016-09-26 12:41:58.000000000 +0200
++++ configure	2016-09-27 18:18:20.839969603 +0200
+@@ -3997,10 +3997,9 @@
+ 
+ 
+ if test $ac_cv_c_compiler_gnu = yes; then
+-    cflags_to_try="-Wall -Wstrict-prototypes -Wundef \
+--Wmissing-declarations -Wmissing-prototypes -Wwrite-strings \
+--Wno-strict-aliasing -Werror=declaration-after-statement \
+--fno-builtin -fno-common -Werror=return-type"
++    cflags_to_try=" \
++-Wno-strict-aliasing \
++-fno-builtin -fno-common"
+     optflags_to_try="$CC_OPT_FLAGS_TO_TRY"
+     dbgflags_to_try="$CC_DBG_FLAGS_TO_TRY"
+ else
+Index: xps/xps.mak
+--- xps/xps.mak.orig	2016-09-26 12:41:29.000000000 +0200
++++ xps/xps.mak	2016-09-27 18:17:03.890169140 +0200
+@@ -57,8 +57,8 @@
+ $(XPSOBJ)xpsjpeg.$(OBJ): $(XPSSRC)xpsjpeg.c $(XPSINCLUDES) $(XPS_MAK) $(MAKEDIRS)
+ 	$(XPSCCC) $(XPSSRC)xpsjpeg.c $(XPSO_)xpsjpeg.$(OBJ)
+ 
+-$(XPSOBJ)xpspng.$(OBJ): $(XPSSRC)xpspng.c $(XPSINCLUDES) $(PNGSRCDIR)$(D)png.h \
+-                        $(PNGGENDIR)$(D)libpng.dev $(XPS_MAK) $(MAKEDIRS)
++$(XPSOBJ)xpspng.$(OBJ): $(XPSSRC)xpspng.c $(XPSINCLUDES) \
++                        $(XPS_MAK) $(MAKEDIRS)
+ 	$(XPSCCC) $(I_)$(PNGSRCDIR)$(_I) $(XPSSRC)xpspng.c $(XPSO_)xpspng.$(OBJ)
+ 
+ $(XPSOBJ)xpstiff.$(OBJ): $(XPSSRC)xpstiff.c $(XPSINCLUDES) $(XPS_MAK) $(MAKEDIRS)

+ 3 - 3
ghostscript/ghostscript.spec

@@ -22,8 +22,8 @@
 ##
 ##
 
 
 #   package versions
 #   package versions
-%define       V_real       9.19
-%define       V_comp       919
+%define       V_real       9.20
+%define       V_comp       920
 %define       V_font_std   8.11
 %define       V_font_std   8.11
 %define       V_font_other 6.0
 %define       V_font_other 6.0
 
 
@@ -38,7 +38,7 @@ Class:        BASE
 Group:        Postscript
 Group:        Postscript
 License:      GPL
 License:      GPL
 Version:      %{V_real}
 Version:      %{V_real}
-Release:      20160406
+Release:      20160927
 
 
 #   package options
 #   package options
 %option       with_a4      yes
 %option       with_a4      yes