Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-commits
drac 08/01/24 19:03:50
Added: slmon-0.5.13-slang-2.patch digest-slmon-0.5.13-r1
Log:
Use >=sys-libs/slang-2.
(Portage version: 2.1.4)
Revision Changes Path
1.1 app-misc/slmon/files/slmon-0.5.13-slang-2.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/slmon/files/slmon-0.5.13-slang-2.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/slmon/files/slmon-0.5.13-slang-2.patch?rev=1.1&content-type=text/plain
Index: slmon-0.5.13-slang-2.patch
===================================================================
diff -ur slmon-0.5.13.orig/configure.in slmon-0.5.13/configure.in
--- slmon-0.5.13.orig/configure.in 2004-08-10 20:47:30.000000000 +0300
+++ slmon-0.5.13/configure.in 2008-01-24 20:57:35.000000000 +0200
@@ -73,21 +73,17 @@
AC_MSG_RESULT("found version 99")
fi
-AC_CHECK_LIB(slang, SLang_init_tty, slang_found="yes")
-if test x$slang_found = xyes
-then
- AC_CHECK_HEADERS(slang.h, slang_h_found="yes")
-fi
+AC_CHECK_LIB(slang-2, SLang_init_tty, slang_found="yes")
if test x$slang_h_found = xyes
then
- LIBS="$LIBS -lslang"
+ LIBS="$LIBS -lslang-2"
AC_DEFINE(HAVE_SLANG)
else
- AC_CHECK_HEADERS(slang/slang.h, slang_h_found="yes")
+ AC_CHECK_HEADERS(slang-2/slang.h, slang_h_found="yes")
if test x$slang_h_found = xyes
then
AC_DEFINE(HAVE_SLANG)
- LIBS="$LIBS -lslang"
+ LIBS="$LIBS -lslang-2"
else
AC_MSG_WARN("Slang not found")
fi
diff -ur slmon-0.5.13.orig/defines.h slmon-0.5.13/defines.h
--- slmon-0.5.13.orig/defines.h 2004-06-20 18:56:47.000000000 +0300
+++ slmon-0.5.13/defines.h 2008-01-24 20:59:52.000000000 +0200
@@ -27,13 +27,7 @@
#include <utmp.h>
#include <getopt.h>
-#ifdef HAVE_SLANG_H
-#include <slang.h>
-#endif /* !HAVE_SLANG_H */
-
-#ifdef HAVE_SLANG_SLANG_H
-#include<slang/slang.h>
-#endif /* !HAVE_SLANG_SLANG_H */
+#include <slang-2/slang.h>
#include <signal.h>
#include <sys/utsname.h>
1.1 app-misc/slmon/files/digest-slmon-0.5.13-r1
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/slmon/files/digest-slmon-0.5.13-r1?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/slmon/files/digest-slmon-0.5.13-r1?rev=1.1&content-type=text/plain
Index: digest-slmon-0.5.13-r1
===================================================================
MD5 9907c53e26b8dfb5d33af6da32ed89e3 slmon-0.5.13.tar.gz 103826
RMD160 e60d2c645955cc49e3b32d89f1ea199623176c73 slmon-0.5.13.tar.gz 103826
SHA256 dc38740e4e0cccb86ccf76aaad5734d7d1e42e144615ee09bc8c8c9290110b28 slmon-0.5.13.tar.gz 103826
--
gentoo-commits@g.o mailing list
|
|