Author: jajcus Date: Tue Jun 19 10:29:44 2012 GMT Module: packages Tag: HEAD ---- Log message: - disable -Werror from CFLAGS or this code won't compile under modern gcc
---- Files affected: packages/libxcrypt: libxcrypt.spec (1.5 -> 1.6) , libxcrypt-noWerror.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/libxcrypt/libxcrypt.spec diff -u packages/libxcrypt/libxcrypt.spec:1.5 packages/libxcrypt/libxcrypt.spec:1.6 --- packages/libxcrypt/libxcrypt.spec:1.5 Fri Jul 9 08:32:55 2010 +++ packages/libxcrypt/libxcrypt.spec Tue Jun 19 12:29:39 2012 @@ -8,6 +8,7 @@ Group: Libraries Source0: ftp://ftp.suse.com/pub/people/kukuk/libxcrypt/%{name}-%{version}.tar.bz2 # Source0-md5: 56cf4285086f26649b8792b53fe8b00f +Patch0: %{name}-noWerror.patch BuildRequires: sed >= 4.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -54,6 +55,7 @@ %prep %setup -q +%patch0 -p1 %build %configure \ @@ -104,6 +106,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.6 2012/06/19 10:29:39 jajcus +- disable -Werror from CFLAGS or this code won't compile under modern gcc + Revision 1.5 2010/07/09 06:32:55 qboosh - added pl, more verbose files, check-files cleanup ================================================================ Index: packages/libxcrypt/libxcrypt-noWerror.patch diff -u /dev/null packages/libxcrypt/libxcrypt-noWerror.patch:1.1 --- /dev/null Tue Jun 19 12:29:44 2012 +++ packages/libxcrypt/libxcrypt-noWerror.patch Tue Jun 19 12:29:39 2012 @@ -0,0 +1,12 @@ +diff -dur libxcrypt-3.0.2.orig/configure.in libxcrypt-3.0.2/configure.in +--- libxcrypt-3.0.2.orig/configure.in 2008-07-16 14:30:29.000000000 +0200 ++++ libxcrypt-3.0.2/configure.in 2012-06-19 12:27:48.000000000 +0200 +@@ -29,7 +29,7 @@ + + EXTRA_CFLAGS="" + if eval "test x$GCC = xyes"; then +- EXTRA_CFLAGS="-W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wpointer-arith -Werror" ++ EXTRA_CFLAGS="-W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wpointer-arith" + fi + AC_SUBST(EXTRA_CFLAGS) + ================================================================ ---- CVS-web: http://cvs.pld-linux.org/packages/libxcrypt/libxcrypt.spec?r1=1.5&r2=1.6 _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
