forked from pool/diffutils
Accepting request 32478 from Base:System
Copy from Base:System/diffutils based on submit request 32478 from user rguenther OBS-URL: https://build.opensuse.org/request/show/32478 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffutils?expand=0&rev=7
This commit is contained in:
parent
e82662ac88
commit
2a45e22d76
21
diffutils-2.8.7-autoconf.patch
Normal file
21
diffutils-2.8.7-autoconf.patch
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
Index: m4/c-stack.m4
|
||||||
|
===================================================================
|
||||||
|
--- m4/c-stack.m4.orig 2007-09-24 11:55:43.000000000 +0200
|
||||||
|
+++ m4/c-stack.m4 2010-02-13 14:56:24.000000000 +0100
|
||||||
|
@@ -12,6 +12,8 @@ AC_DEFUN([AC_SYS_XSI_STACK_OVERFLOW_HEUR
|
||||||
|
AC_REQUIRE([AC_FUNC_ALLOCA])
|
||||||
|
AC_CHECK_FUNCS(setrlimit)
|
||||||
|
|
||||||
|
+ saved_CFLAGS=$CFLAGS
|
||||||
|
+ CFLAGS=-O0
|
||||||
|
AC_CACHE_CHECK([for working C stack overflow detection],
|
||||||
|
ac_cv_sys_xsi_stack_overflow_heuristic,
|
||||||
|
[AC_TRY_RUN(
|
||||||
|
@@ -113,6 +115,7 @@ AC_DEFUN([AC_SYS_XSI_STACK_OVERFLOW_HEUR
|
||||||
|
[ac_cv_sys_xsi_stack_overflow_heuristic=yes],
|
||||||
|
[ac_cv_sys_xsi_stack_overflow_heuristic=no],
|
||||||
|
[ac_cv_sys_xsi_stack_overflow_heuristic=cross-compiling])])
|
||||||
|
+ CFLAGS=$saved_CFLAGS
|
||||||
|
|
||||||
|
if test $ac_cv_sys_xsi_stack_overflow_heuristic = yes; then
|
||||||
|
AC_DEFINE(HAVE_XSI_STACK_OVERFLOW_HEURISTIC, 1,
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 13 15:06:26 CET 2010 - rguenther@suse.de
|
||||||
|
|
||||||
|
- fix stack limit autoconf check
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 7 23:11:11 CET 2009 - jengelh@medozas.de
|
Mon Dec 7 23:11:11 CET 2009 - jengelh@medozas.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package diffutils (Version 2.8.7)
|
# spec file for package diffutils (Version 2.8.7)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -27,10 +27,11 @@ Obsoletes: diff
|
|||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
PreReq: %{install_info_prereq}
|
PreReq: %{install_info_prereq}
|
||||||
Version: 2.8.7
|
Version: 2.8.7
|
||||||
Release: 144
|
Release: 145
|
||||||
Summary: GNU diff Utilities
|
Summary: GNU diff Utilities
|
||||||
Source: diffutils-%{version}-cvs.tar.bz2
|
Source: diffutils-%{version}-cvs.tar.bz2
|
||||||
Patch1: diffutils-2.8.1-i18n-0.2.patch
|
Patch1: diffutils-2.8.1-i18n-0.2.patch
|
||||||
|
Patch2: diffutils-2.8.7-autoconf.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -49,6 +50,7 @@ Authors:
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}-cvs
|
%setup -q -n %{name}-%{version}-cvs
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
%patch2
|
||||||
|
|
||||||
%build
|
%build
|
||||||
AUTOPOINT=true autoreconf -fi
|
AUTOPOINT=true autoreconf -fi
|
||||||
|
Loading…
Reference in New Issue
Block a user