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: 26-Apr-2008 17:51:35
Branch: HEAD Handle: 2008042616513500
Added files:
openpkg-src/lzma lzma.patch
Modified files:
openpkg-src/lzma lzma.spec
Log:
remove warning stuff
Summary:
Revision Changes Path
1.1 +28 -0 openpkg-src/lzma/lzma.patch
1.13 +3 -3 openpkg-src/lzma/lzma.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/lzma/lzma.patch
============================================================================
$ cvs diff -u -r0 -r1.1 lzma.patch
--- /dev/null 2008-04-26 17:51:00 +0200
+++ lzma.patch 2008-04-26 17:51:35 +0200
@@ -0,0 +1,28 @@
+Index: configure
+--- configure.orig 2008-04-25 14:50:51 +0200
++++ configure 2008-04-26 17:49:17 +0200
+@@ -27683,24 +27683,6 @@
+ # 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 \
+- -Wwrite-strings \
+- -Wbad-function-cast \
+- -Wpointer-arith \
+- -Wshadow \
+- -Wfloat-equal \
+- -Wstrict-aliasing=2 \
+- -Winit-self \
+- -Wformat=2 \
+- -Wextra \
+- -Wall \
+- -pedantic \
+ -std=c99
+ do
+ { $as_echo "$as_me:$LINENO: checking if $CC accepts $NEW_FLAG"
>&5
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/lzma/lzma.spec
============================================================================
$ cvs diff -u -r1.12 -r1.13 lzma.spec
--- openpkg-src/lzma/lzma.spec 25 Apr 2008 16:07:37 -0000 1.12
+++ openpkg-src/lzma/lzma.spec 26 Apr 2008 15:51:35 -0000 1.13
@@ -37,11 +37,12 @@
Group: Compression
License: LGPL
Version: %{V_opkg}
-Release: 20080425
+Release: 20080426
# list of sources
Source0: http://tukaani.org/lzma/lzma-%{V_lzmautils}.tar.gz
Source1: http://switch.dl.sourceforge.net/sevenzip/7z%{V_sdk}.tar.bz2
+Patch0: lzma.patch
# build information
Prefix: %{l_prefix}
@@ -77,14 +78,13 @@
%prep
%setup -q -c
%setup -q -c -T -D -a 1
+ %patch -p0 -d lzma-%{V_lzmautils}
%build
# build LZMA from LZMA Utils
( cd lzma-%{V_lzmautils}
CC="%{l_cc}" \
- CXX="%{l_cxx}" \
CFLAGS="%{l_cflags -O}" \
- CXXFLAGS="%{l_cxxflags -O}" \
./configure \
--prefix=%{l_prefix} \
--mandir=%{l_prefix}/man \
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]