SHA256
1
0
forked from pool/uucp
Dr. Werner Fink 2017-04-04 13:48:05 +00:00 committed by Git OBS Bridge
parent 2a686609ed
commit 7dd5d460ef
3 changed files with 30 additions and 0 deletions

21
uucp-1.07-configure.patch Normal file
View File

@ -0,0 +1,21 @@
---
configure.in | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
--- configure.in
+++ configure.in 2017-04-04 13:41:00.208256684 +0000
@@ -356,7 +356,13 @@ AC_CHECK_FUNCS(strchr strrchr index rind
AC_CHECK_FUNCS(strdup strcasecmp strncasecmp stricmp strnicmp)
AC_CHECK_FUNCS(bsearch vfprintf)
AC_CHECK_FUNCS(remove ftruncate ltrunc rename opendir dup2 waitpid wait4)
-AC_CHECK_FUNCS(sigsetjmp setret sigaction sigvec sigset)
+AC_CHECK_FUNCS(setret sigaction sigvec sigset)
+AC_MSG_CHECKING(for sigsetjmp)
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <setjmp.h>],
+ [sigjmp_buf bar; sigsetjmp (bar, 0);])],
+ [AC_MSG_RESULT(yes)
+ AC_DEFINE([HAVE_SIGSETJMP], [1], [Define if you have the sigsetjmp function.])],
+ [AC_MSG_RESULT(no)])
AC_CHECK_FUNCS(sigprocmask sigblock sighold getdtablesize sysconf)
AC_CHECK_FUNCS(setpgrp setsid setreuid seteuid gethostname uname)
AC_CHECK_FUNCS(gettimeofday ftw glob dev_info getaddrinfo)

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Apr 4 13:46:50 UTC 2017 - werner@suse.de
- Add patch uucp-1.07-configure.patch
that is help configure script to find sigsetjmp
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Apr 1 11:58:35 UTC 2017 - werner@suse.de Sat Apr 1 11:58:35 UTC 2017 - werner@suse.de

View File

@ -46,10 +46,12 @@ Patch8: fix-proty-gcc33.patch
Patch9: uucp-1.07-lfs.patch Patch9: uucp-1.07-lfs.patch
Patch10: uucp-1.07-sigfpe2.patch Patch10: uucp-1.07-sigfpe2.patch
Patch11: uucp-1.07-initgroups.patch Patch11: uucp-1.07-initgroups.patch
Patch12: uucp-1.07-configure.patch
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: lockdev-devel BuildRequires: lockdev-devel
BuildRequires: makeinfo BuildRequires: makeinfo
BuildRequires: ncurses-devel
BuildRequires: pkgconfig BuildRequires: pkgconfig
Requires: ca-certificates Requires: ca-certificates
Requires: filesystem Requires: filesystem
@ -98,6 +100,7 @@ account, make sure the directory %{_localstatedir}/spool/uucppublic exists.
%patch9 -p1 -b .p9 %patch9 -p1 -b .p9
%patch10 -p1 -b .p10 %patch10 -p1 -b .p10
%patch11 -p0 -b .p11 %patch11 -p0 -b .p11
%patch12 -p0 -b .p12
%build %build
autoreconf -fvi autoreconf -fvi