[packages/ekiga] - disable libresolv check - rel 17

baggins baggins at pld-linux.org
Mon Mar 27 19:09:56 CEST 2017


commit ca13b0c484c40cc9b8a8a3641f645bdb28f13605
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Mar 27 19:09:38 2017 +0200

    - disable libresolv check
    - rel 17

 ekiga.spec      |  4 +++-
 libresolv.patch | 13 +++++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)
---
diff --git a/ekiga.spec b/ekiga.spec
index f9c0e20..131e11e 100644
--- a/ekiga.spec
+++ b/ekiga.spec
@@ -7,13 +7,14 @@ Summary:	SIP and H.323 Videoconferencing
 Summary(pl.UTF-8):	Program do telekonferencji w standardzie SIP oraz H.323
 Name:		ekiga
 Version:	4.0.1
-Release:	16
+Release:	17
 License:	GPL
 Group:		Applications/Communications
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/ekiga/4.0/%{name}-%{version}.tar.xz
 # Source0-md5:	704ba532a8e3e0b5e3e2971dd2db39e4
 Patch0:		%{name}-shell.patch
 Patch1:		x32.patch
+Patch2:		libresolv.patch
 URL:		http://www.ekiga.org/
 BuildRequires:	GConf2-devel >= 2.14.0
 BuildRequires:	SDL-devel
@@ -78,6 +79,7 @@ obrazem. Ekiga była poprzednio znana jako GnomeMeeting.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 sed -i -e 's|Categories=GNOME;GTK;Network;Telephony;|Categories=GTK;GNOME;Network;InstantMessaging;|' ekiga.desktop.in.in
 
 %build
diff --git a/libresolv.patch b/libresolv.patch
new file mode 100644
index 0000000..7754eeb
--- /dev/null
+++ b/libresolv.patch
@@ -0,0 +1,13 @@
+diff -up ekiga-4.0.1/configure.ac.libresolv ekiga-4.0.1/configure.ac
+--- ekiga-4.0.1/configure.ac.libresolv	2017-02-23 02:30:42.051227852 -0600
++++ ekiga-4.0.1/configure.ac	2017-02-23 02:32:04.609519837 -0600
+@@ -324,7 +324,8 @@ if test "x$enable_ldap" = "xyes"; then
+ 
+   dnl Checking for libresolv
+   if test ${gm_platform} = "linux" ; then
+-  	AC_CHECK_LIB(resolv, res_gethostbyaddr, [LIBS="-lresolv $LIBS"], AC_MSG_ERROR([You need the libresolv library to compile Ekiga]), -lresolv)
++  	# AC_CHECK_LIB(resolv, res_gethostbyaddr, [LIBS="-lresolv $LIBS"], AC_MSG_ERROR([You need the libresolv library to compile Ekiga]), -lresolv)
++	AC_WARNING([Just adding libresolv to LDAP_LIBS, without checking anything])
+   	LDAP_LIBS="${LDAP_LIBS} -lresolv"
+   fi
+   found_ldap="yes"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ekiga.git/commitdiff/ca13b0c484c40cc9b8a8a3641f645bdb28f13605



More information about the pld-cvs-commit mailing list