- disable libresolv check auto/th/ekiga-4.0.1-17
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 27 Mar 2017 17:09:38 +0000 (19:09 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 27 Mar 2017 17:09:38 +0000 (19:09 +0200)
- rel 17

ekiga.spec
libresolv.patch [new file with mode: 0644]

index f9c0e20af82d6a2d1e3e14e66c19573223b0a29e..131e11e16636edbed4e881f6eb66a5c5621d8157 100644 (file)
@@ -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 (file)
index 0000000..7754eeb
--- /dev/null
@@ -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"
This page took 0.054327 seconds and 4 git commands to generate.