summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2008-01-24 19:03:49 +0000
committerSamuli Suominen <drac@gentoo.org>2008-01-24 19:03:49 +0000
commit154e4cd55f6e8d1ff6508df2876c53d81aad0843 (patch)
treeee9c0d1f6378e405b6d92b2661954016e8208c7b /app-misc/slmon/files
parentstable x86, security bug 205955 (diff)
downloadgentoo-2-154e4cd55f6e8d1ff6508df2876c53d81aad0843.tar.gz
gentoo-2-154e4cd55f6e8d1ff6508df2876c53d81aad0843.tar.bz2
gentoo-2-154e4cd55f6e8d1ff6508df2876c53d81aad0843.zip
Use >=sys-libs/slang-2.
(Portage version: 2.1.4)
Diffstat (limited to 'app-misc/slmon/files')
-rw-r--r--app-misc/slmon/files/digest-slmon-0.5.13-r13
-rw-r--r--app-misc/slmon/files/slmon-0.5.13-slang-2.patch47
2 files changed, 50 insertions, 0 deletions
diff --git a/app-misc/slmon/files/digest-slmon-0.5.13-r1 b/app-misc/slmon/files/digest-slmon-0.5.13-r1
new file mode 100644
index 000000000000..c848e4de4ad7
--- /dev/null
+++ b/app-misc/slmon/files/digest-slmon-0.5.13-r1
@@ -0,0 +1,3 @@
+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
diff --git a/app-misc/slmon/files/slmon-0.5.13-slang-2.patch b/app-misc/slmon/files/slmon-0.5.13-slang-2.patch
new file mode 100644
index 000000000000..bb826579b3a8
--- /dev/null
+++ b/app-misc/slmon/files/slmon-0.5.13-slang-2.patch
@@ -0,0 +1,47 @@
+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>