[packages/libosip2] - rediffed nolibs patch; release 2

qboosh qboosh at pld-linux.org
Sat Jun 12 17:59:53 CEST 2021


commit 3f6c9cc93e5ef3a289e87e7d2d9cc8d3fbc66b1e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jun 12 18:02:45 2021 +0200

    - rediffed nolibs patch; release 2

 libosip2-nolibs.patch | 17 ++++++++---------
 libosip2.spec         |  2 +-
 2 files changed, 9 insertions(+), 10 deletions(-)
---
diff --git a/libosip2.spec b/libosip2.spec
index 1793cc7..c9efec5 100644
--- a/libosip2.spec
+++ b/libosip2.spec
@@ -6,7 +6,7 @@ Summary:	The GNU oSIP library
 Summary(pl.UTF-8):	Biblioteka GNU oSIP
 Name:		libosip2
 Version:	5.2.1
-Release:	1
+Release:	2
 License:	LGPL v2.1+
 Group:		Libraries
 Source0:	https://ftp.gnu.org/gnu/osip/%{name}-%{version}.tar.gz
diff --git a/libosip2-nolibs.patch b/libosip2-nolibs.patch
index 00ef17a..c43f38f 100644
--- a/libosip2-nolibs.patch
+++ b/libosip2-nolibs.patch
@@ -1,19 +1,18 @@
---- libosip2-4.1.0/configure.ac.orig	2014-01-09 21:41:08.039332227 +0100
-+++ libosip2-4.1.0/configure.ac	2014-01-09 21:43:01.432660802 +0100
-@@ -211,11 +211,11 @@
+--- libosip2-5.2.1/configure.ac.orig	2021-06-12 17:50:24.019202166 +0200
++++ libosip2-5.2.1/configure.ac	2021-06-12 17:55:50.656148184 +0200
+@@ -187,11 +187,11 @@
  AM_CONDITIONAL(BUILD_MAXSIZE, test x$enable_minisize = xno)
  
  dnl Checks for libraries. (those one are needed for sun)
 -AC_CHECK_LIB(posix4,sem_open,[FSM_LIB="$FSM_LIB -lposix4 -mt"])
 -AC_CHECK_LIB(nsl,nis_add,[FSM_LIB="$FSM_LIB -lnsl"])
 -AC_CHECK_LIB(socket,sendto,[FSM_LIB="$FSM_LIB -lsocket"])
--AC_CHECK_LIB(c, lrand48, AC_DEFINE([HAVE_LRAND48], [], [Defined if you have lrand48]))
--AC_CHECK_LIB(rt,clock_gettime,[FSM_LIB="$FSM_LIB -lrt"])
 +AC_CHECK_FUNC(sem_open, , [AC_CHECK_LIB(posix4,sem_open,[FSM_LIB="$FSM_LIB -lposix4 -mt"])])
-+AC_CHECK_FUNC(gethostbyname, , [AC_CHECK_LIB(nsl,nis_add,[FSM_LIB="$FSM_LIB -lnsl"])])
++AC_CHECK_FUNC(nis_add, , [AC_CHECK_LIB(nsl,nis_add,[FSM_LIB="$FSM_LIB -lnsl"])])
 +AC_CHECK_FUNC(sendto, , [AC_CHECK_LIB(socket,sendto,[FSM_LIB="$FSM_LIB -lsocket"])])
-+AC_CHECK_LIB(c, lrand48, [AC_DEFINE([HAVE_LRAND48], [], [Defined if you have lrand48])])
+ AC_CHECK_LIB(c, lrand48, AC_DEFINE([HAVE_LRAND48], [], [Defined if you have lrand48]))
+-AC_CHECK_LIB(rt,clock_gettime,[FSM_LIB="$FSM_LIB -lrt"])
 +AC_CHECK_FUNC(clock_gettime, , [AC_CHECK_LIB(rt,clock_gettime,[FSM_LIB="$FSM_LIB -lrt"])])
  
- AC_CACHE_CHECK([whether -Wall works], Wall_cv_flag, [
-   saved_CPPFLAGS=$CPPFLAGS
+ AC_CHECK_FUNCS([localtime])
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libosip2.git/commitdiff/3f6c9cc93e5ef3a289e87e7d2d9cc8d3fbc66b1e



More information about the pld-cvs-commit mailing list