patch autoconfigury to build with autoconf >= 2.64 (Stepan Kasal)
This commit is contained in:
parent
b39ee9ba0c
commit
8711f7b04d
66
arts-acinclude.patch
Normal file
66
arts-acinclude.patch
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
2009-12-10 Stepan Kasal <skasal@redhat.com>
|
||||||
|
|
||||||
|
The change of implementation of AC_REQUIRE in 2.64 caused a regression
|
||||||
|
in the arts project.
|
||||||
|
This can be fixed by shuffling some macro calls.
|
||||||
|
|
||||||
|
I suppose that most of this patch will not be needed with a future
|
||||||
|
release of Autoconf.
|
||||||
|
But the last chunk of this patch is a real bug in this source and
|
||||||
|
should go upstream.
|
||||||
|
|
||||||
|
--- arts-1.5.10/admin/acinclude.m4.in 2008-08-20 18:07:05.000000000 +0200
|
||||||
|
+++ arts-1.5.10/admin/acinclude.m4.in 2009-12-09 17:30:57.000000000 +0100
|
||||||
|
@@ -3081,8 +3081,18 @@
|
||||||
|
fi
|
||||||
|
])
|
||||||
|
|
||||||
|
+AC_DEFUN([AC_CHECK_COMPILERS_CC],
|
||||||
|
+[
|
||||||
|
+ dnl this prevents stupid AC_PROG_CC to add "-g" to the default CFLAGS
|
||||||
|
+ CFLAGS=" $CFLAGS"
|
||||||
|
+ AC_PROG_CC
|
||||||
|
+ CXXFLAGS=" $CXXFLAGS"
|
||||||
|
+ AC_PROG_CXX
|
||||||
|
+])
|
||||||
|
+
|
||||||
|
AC_DEFUN([AC_CHECK_COMPILERS],
|
||||||
|
[
|
||||||
|
+ AC_REQUIRE([AC_CHECK_COMPILERS_CC])
|
||||||
|
AC_ARG_ENABLE(debug,
|
||||||
|
AC_HELP_STRING([--enable-debug=ARG],[enables debug symbols (yes|no|full) [default=no]]),
|
||||||
|
[
|
||||||
|
@@ -3141,11 +3151,6 @@
|
||||||
|
[kde_use_profiling="no"]
|
||||||
|
)
|
||||||
|
|
||||||
|
- dnl this prevents stupid AC_PROG_CC to add "-g" to the default CFLAGS
|
||||||
|
- CFLAGS=" $CFLAGS"
|
||||||
|
-
|
||||||
|
- AC_PROG_CC
|
||||||
|
-
|
||||||
|
AC_PROG_CPP
|
||||||
|
|
||||||
|
if test "$GCC" = "yes"; then
|
||||||
|
@@ -3174,10 +3179,6 @@
|
||||||
|
LDFLAGS=""
|
||||||
|
fi
|
||||||
|
|
||||||
|
- CXXFLAGS=" $CXXFLAGS"
|
||||||
|
-
|
||||||
|
- AC_PROG_CXX
|
||||||
|
-
|
||||||
|
KDE_CHECK_FOR_BAD_COMPILER
|
||||||
|
|
||||||
|
if test "$GXX" = "yes" || test "$CXX" = "KCC"; then
|
||||||
|
@@ -3503,8 +3504,8 @@
|
||||||
|
AC_REQUIRE([AC_LIBTOOL_DLOPEN])
|
||||||
|
AC_REQUIRE([KDE_CHECK_LIB64])
|
||||||
|
|
||||||
|
-AC_OBJEXT
|
||||||
|
-AC_EXEEXT
|
||||||
|
+AC_REQUIRE([AC_OBJEXT])
|
||||||
|
+AC_REQUIRE([AC_EXEEXT])
|
||||||
|
|
||||||
|
AM_PROG_LIBTOOL
|
||||||
|
AC_LIBTOOL_CXX
|
@ -85,7 +85,7 @@ Patch106: kdelibs-3.5.10-kio.patch
|
|||||||
Patch107: kdelibs-3.5.10-assert.patch
|
Patch107: kdelibs-3.5.10-assert.patch
|
||||||
Patch108: kdelibs-3.5.10-dtoa.patch
|
Patch108: kdelibs-3.5.10-dtoa.patch
|
||||||
Patch109: kdelibs-3.5.10-kabc.patch
|
Patch109: kdelibs-3.5.10-kabc.patch
|
||||||
|
Patch110: arts-acinclude.patch
|
||||||
|
|
||||||
## security fixes
|
## security fixes
|
||||||
# fix CVE-2009-2537 - select length DoS
|
# fix CVE-2009-2537 - select length DoS
|
||||||
@ -251,6 +251,7 @@ format for easy browsing
|
|||||||
%patch107 -p1 -b .assert
|
%patch107 -p1 -b .assert
|
||||||
%patch108 -p1 -b .alias
|
%patch108 -p1 -b .alias
|
||||||
%patch109 -p1 -b .kabc
|
%patch109 -p1 -b .kabc
|
||||||
|
%patch110 -p1 -b .autoconf
|
||||||
|
|
||||||
# security fixes
|
# security fixes
|
||||||
%patch200 -p1 -b .cve-2009-2537
|
%patch200 -p1 -b .cve-2009-2537
|
||||||
@ -587,6 +588,8 @@ touch --no-create %{_datadir}/icons/crystalsvg 2> /dev/null || :
|
|||||||
* Mon Dec 07 2009 Than Ngo <than@redhat.com> - 3.5.10-21
|
* Mon Dec 07 2009 Than Ngo <than@redhat.com> - 3.5.10-21
|
||||||
- fix security issues in libltdl bundle within kdelibs CVE-2009-3736
|
- fix security issues in libltdl bundle within kdelibs CVE-2009-3736
|
||||||
- backport upstream patches
|
- backport upstream patches
|
||||||
|
- patch autoconfigury to build with autoconf >= 2.64 (Stepan Kasal)
|
||||||
|
|
||||||
|
|
||||||
* Mon Nov 2 2009 Lukáš Tinkl <ltinkl@redhat.com> - 3.5.10-20
|
* Mon Nov 2 2009 Lukáš Tinkl <ltinkl@redhat.com> - 3.5.10-20
|
||||||
- fix unrestricted XMLHttpRequest access to local URLs (oCERT-2009-015), #532428
|
- fix unrestricted XMLHttpRequest access to local URLs (oCERT-2009-015), #532428
|
||||||
|
Loading…
Reference in New Issue
Block a user