OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [email protected]
  Module: openpkg-src                      Date:   07-Feb-2009 19:52:22
  Branch: HEAD                             Handle: 2009020718522200

  Modified files:
    openpkg-src/ghostscript ghostscript.patch ghostscript.spec

  Log:
    upgrading package: ghostscript 8.63 -> 8.64

  Summary:
    Revision    Changes     Path
    1.18        +28 -10     openpkg-src/ghostscript/ghostscript.patch
    1.114       +8  -8      openpkg-src/ghostscript/ghostscript.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/ghostscript/ghostscript.patch
  ============================================================================
  $ cvs diff -u -r1.17 -r1.18 ghostscript.patch
  --- openpkg-src/ghostscript/ghostscript.patch 22 Nov 2007 07:14:58 -0000      
1.17
  +++ openpkg-src/ghostscript/ghostscript.patch 7 Feb 2009 18:52:22 -0000       
1.18
  @@ -1,8 +1,8 @@
  -Index: src/stdint_.h
  ---- src/stdint_.h.orig       2004-06-17 23:42:53 +0200
  -+++ src/stdint_.h    2005-04-23 20:30:33 +0200
  -@@ -72,6 +72,13 @@
  -    typedef u_int64_t               uint64_t;
  +Index: base/stdint_.h
  +--- base/stdint_.h.orig      2008-02-24 02:12:18 +0100
  ++++ base/stdint_.h   2009-02-07 18:47:17 +0100
  +@@ -68,6 +68,13 @@
  +    typedef unsigned long long uint64_t;
    #  define STDINT_TYPES_DEFINED
    # endif
   +#ifdef __sun__
  @@ -15,11 +15,29 @@
       /* other archs may want to add defines here, 
          or use the fallbacks in std.h */
    #endif
  -Index: src/unix-gcc.mak
  ---- src/unix-gcc.mak.orig    2007-08-03 10:14:48 +0200
  -+++ src/unix-gcc.mak 2007-08-03 12:32:08 +0200
  -@@ -418,8 +418,8 @@
  - DEVICE_DEVS21=$(DD)spotcmyk.dev $(DD)devicen.dev $(DD)xcf.dev 
$(DD)bmpsep1.dev $(DD)bmpsep8.dev $(DD)bmp16m.dev $(DD)bmp32b.dev 
$(DD)psdcmyk.dev $(DD)psdrgb.dev
  +Index: base/unix-gcc.mak
  +--- base/unix-gcc.mak.orig   2008-10-02 21:33:22 +0200
  ++++ base/unix-gcc.mak        2009-02-07 18:48:04 +0100
  +@@ -229,7 +229,7 @@
  + #   gcc to accept ANSI-style function prototypes and function definitions.
  + XCFLAGS=-DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"$(gssharedir)\"
  + 
  +-CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(XCFLAGS)
  ++CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(XCFLAGS) $(XINCLUDE)
  + 
  + # Define platform flags for ld.
  + # SunOS 4.n may need -Bstatic.
  +@@ -240,7 +240,7 @@
  + # XLDFLAGS can be set from the command line.
  + XLDFLAGS=
  + 
  +-LDFLAGS=$(XLDFLAGS)
  ++LDFLAGS=$(XLDFLAGS) $(XLIBDIRS)
  + 
  + # Define any extra libraries to link into the executable.
  + # ISC Unix 2.2 wants -linet.
  +@@ -389,8 +389,8 @@
  + DEVICE_DEVS21=$(DD)spotcmyk.dev $(DD)devicen.dev $(DD)xcf.dev 
$(DD)bmpsep1.dev $(DD)bmpsep8.dev $(DD)bmp16m.dev $(DD)bmp32b.dev 
$(DD)psdcmyk.dev $(DD)psdrgb.dev $(DD)pamcmyk32.dev
    
    # Shared library target to build.
   -GS_SHARED_OBJS=$(GLOBJDIR)/X11.so $(GLOBJDIR)/lvga256.so 
$(GLOBJDIR)/vgalib.so
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/ghostscript/ghostscript.spec
  ============================================================================
  $ cvs diff -u -r1.113 -r1.114 ghostscript.spec
  --- openpkg-src/ghostscript/ghostscript.spec  18 Dec 2008 22:00:36 -0000      
1.113
  +++ openpkg-src/ghostscript/ghostscript.spec  7 Feb 2009 18:52:22 -0000       
1.114
  @@ -22,8 +22,8 @@
   ##
   
   #   package versions
  -%define       V_real       8.63
  -%define       V_comp       863
  +%define       V_real       8.64
  +%define       V_comp       864
   %define       V_font_std   8.11
   %define       V_font_other 6.0
   %define       V_jpeg       6b
  @@ -41,7 +41,7 @@
   Group:        Postscript
   License:      GPL
   Version:      %{V_real}
  -Release:      20081218
  +Release:      20090207
   
   #   package options
   %option       with_x11     yes
  @@ -135,26 +135,26 @@
   %endif
       %{l_shtool} subst \
            -e "s;^STDLIBS=-lpthread -lm;STDLIBS=$mtldflags -lm;" \
  -         -e "s;^EXTRALIBS=.*$;EXTRALIBS=$x11_ext;" \
  +         -e "s;^EXTRALIBS=.*$;EXTRALIBS=$x11_lib $x11_ext;" \
            -e "s;^prefix = /usr/local;prefix = %{l_prefix};" \
            -e "s;CC=gcc;CC=%{l_cc};" \
            -e "s;GCFLAGS=.*\\(-fno.*\\)\$;GCFLAGS=\$1;" \
            -e "s;XCFLAGS=.*\$;XCFLAGS=$mtcflags;" \
            -e "s;XINCLUDE=.*\$;XINCLUDE=$x11_inc;" \
            -e "s;XLIBDIRS=.*\$;XLIBDIRS=$x11_lib;" \
  -         src/unix-gcc.mak
  +         base/unix-gcc.mak
   %if "%{with_x11}" != "yes"
       %{l_shtool} subst \
            -e 's;DEVICE_DEVS=.*$;DEVICE_DEVS=;' \
  -         src/unix-gcc.mak
  +         base/unix-gcc.mak
   %endif
  -    %{l_make} %{l_mflags} -f src/unix-gcc.mak
  +    %{l_make} %{l_mflags} -f base/unix-gcc.mak
   
   %install
       rm -rf $RPM_BUILD_ROOT
       ( cd ghostscript-%{version}
         %{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}
  -      %{l_make} %{l_mflags} -f src/unix-gcc.mak install DEVICE_DEVS="" \
  +      %{l_make} %{l_mflags} -f base/unix-gcc.mak install DEVICE_DEVS="" \
             prefix=$RPM_BUILD_ROOT%{l_prefix}
       ) || exit $?
       %{l_shtool} mkdir -f -p -m 755 \
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to