Hello community, here is the log from the commit of package libvmime for openSUSE:Factory checked in at 2012-05-10 14:33:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libvmime (Old) and /work/SRC/openSUSE:Factory/.libvmime.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libvmime", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/libvmime/libvmime.changes 2012-03-22 12:35:49.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libvmime.new/libvmime.changes 2012-05-10 14:34:05.000000000 +0200 @@ -1,0 +2,6 @@ +Thu May 10 00:13:33 UTC 2012 - [email protected] + +- Use RPM_OPT_FLAGS +- Do not use -ansi gcc flag. + +------------------------------------------------------------------- New: ---- vmime-noansiflag.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libvmime.spec ++++++ --- /var/tmp/diff_new_pack.6m7EGB/_old 2012-05-10 14:34:06.000000000 +0200 +++ /var/tmp/diff_new_pack.6m7EGB/_new 2012-05-10 14:34:06.000000000 +0200 @@ -37,6 +37,7 @@ Patch4: vmime-0.9.2-header-value-on-next-line.diff Patch5: vmime-mixed-qp-in-parameter.diff Patch6: vmime-0.9.2-qp-in-buffers.diff +Patch7: vmime-noansiflag.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -101,8 +102,11 @@ %prep %setup -qn vmime %patch -P 1 -P 2 -P 3 -P 4 -P 5 -P 6 -p1 +%patch7 %build +export CXXFLAGS="%optflags" +export CFLAGS="%optflags" # sendmail's awesome location. export PATH="$PATH:/usr/sbin"; %if 0%{?suse_version} >= 1100 ++++++ vmime-noansiflag.patch ++++++ --- SConstruct.orig +++ SConstruct @@ -595,8 +595,6 @@ env.Append(CPPDEFINES = ['_REENTRANT=1'] env.Append(CXXFLAGS = ['-W']) env.Append(CXXFLAGS = ['-Wall']) -env.Append(CXXFLAGS = ['-ansi']) -env.Append(CXXFLAGS = ['-pedantic']) env.Append(CXXFLAGS = ['-Wpointer-arith']) env.Append(CXXFLAGS = ['-Wold-style-cast']) env.Append(CXXFLAGS = ['-Wconversion']) @@ -609,8 +607,6 @@ env.Append(TARFLAGS = ['--bzip2']) if env['debug'] == 'yes': env.Append(CXXFLAGS = ['-g']) env.Append(CXXFLAGS = ['-O0']) -else: - env.Append(CXXFLAGS = ['-O2']) #-fomit-frame-pointer -fmove-all-movables -fstrict-aliasing #env.Append(LIBS = ['additional-lib-here']) @@ -1299,7 +1295,9 @@ VMIME_ADDITIONAL_PC_LIBS="" # Check compilers, processors, etc # -AC_PROG_CC +AC_PROG_CC_STDC +AC_USE_SYSTEM_EXTENSIONS +AC_SYS_LARGEFILE AC_PROG_CXX AC_PROG_CPP AC_C_CONST @@ -1839,8 +1837,8 @@ AC_SUBST(PKGCONFIG_LIBS) EXTRA_CFLAGS="$EXTRA_CFLAGS -D_REENTRANT=1 -D_THREAD_SAFE=1 $LIBGNUTLS_CFLAGS" EXTRA_LIBS="$GSASL_LIBS $LIBGNUTLS_LIBS" -CFLAGS="" -CXXFLAGS="" +CFLAGS+="" +CXXFLAGS+="" # -- Debug if test x$VMIME_DEBUG = x1 ; then @@ -1868,7 +1866,7 @@ EXTRA_CFLAGS="$EXTRA_CFLAGS $lt_prog_com """) - compilerFlags = [ '-ansi', '-pedantic', '-W', '-Wall', '-Wpointer-arith', '-Wold-style-cast', '-Wconversion' ] + compilerFlags = [ '-W', '-Wall', '-Wpointer-arith', '-Wold-style-cast', '-Wconversion' ] for f in compilerFlags: configure_in.write('# ' + f + '\n') -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
