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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  r...@openpkg.org
  Module: openpkg-src                      Date:   06-Mar-2009 19:10:39
  Branch: HEAD                             Handle: 2009030618103900

  Added files:
    openpkg-src/xz          xz.patch
  Modified files:
    openpkg-src/xz          xz.spec

  Log:
    reanimate old -W removal patch

  Summary:
    Revision    Changes     Path
    1.1         +31 -0      openpkg-src/xz/xz.patch
    1.3         +3  -1      openpkg-src/xz/xz.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/xz/xz.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.1 xz.patch
  --- /dev/null 2009-03-06 19:10:39 +0100
  +++ xz.patch  2009-03-06 19:10:39 +0100
  @@ -0,0 +1,31 @@
  +Index: configure
  +--- configure.orig   2009-02-02 20:18:58 +0100
  ++++ configure        2009-03-06 19:06:51 +0100
  +@@ -27992,26 +27992,7 @@
  +     # The flags are in reverse order below so they end up in "beautiful"
  +     # order on the actual command line.
  +     for NEW_FLAG in \
  +-                    -Wredundant-decls \
  +-                    -Wmissing-noreturn \
  +-                    -Wmissing-declarations \
  +-                    -Wmissing-prototypes \
  +-                    -Wold-style-definition \
  +-                    -Wstrict-prototypes \
  +-                    -Waggregate-return \
  +-                    -Wlogical-op \
  +-                    -Wwrite-strings \
  +-                    -Wbad-function-cast \
  +-                    -Wpointer-arith \
  +-                    -Wshadow \
  +-                    -Wundef \
  +-                    -Wfloat-equal \
  +-                    -Wstrict-aliasing \
  +-                    -Wmissing-include-dirs \
  +-                    -Winit-self \
  +-                    -Wformat=2 \
  +-                    -Wextra \
  +-                    -Wall
  ++        none
  +     do
  +             { $as_echo "$as_me:$LINENO: checking if $CC accepts $NEW_FLAG" 
>&5
  + $as_echo_n "checking if $CC accepts $NEW_FLAG... " >&6; }
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/xz/xz.spec
  ============================================================================
  $ cvs diff -u -r1.2 -r1.3 xz.spec
  --- openpkg-src/xz/xz.spec    18 Feb 2009 08:34:46 -0000      1.2
  +++ openpkg-src/xz/xz.spec    6 Mar 2009 18:10:39 -0000       1.3
  @@ -36,10 +36,11 @@
   Group:        Compression
   License:      PD/GPL
   Version:      %{V_opkg}
  -Release:      20090218
  +Release:      20090306
   
   #   list of sources
   Source0:      http://tukaani.org/xz/xz-%{V_dist}.tar.gz
  +Patch0:       xz.patch
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -67,6 +68,7 @@
   
   %prep
       %setup -q -n xz-%{V_dist}
  +    %patch -p0
   
   %build
       CC="%{l_cc}" \
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to