Репозитории ALT
S: | 4.8.30-alt3 |
5.1: | 4.8.11-alt0.M51.1 |
4.1: | 4.6.2-alt7.pre1 |
4.0: | 4.6.1r-alt9 |
3.0: | 4.6.1r-alt3 |
Группа :: Работа с файлами
Пакет: mc
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: mc-4.6.2-alt-slang2.patch
Скачать
Скачать
--- mc/acinclude.m4.orig 2008-02-24 16:47:21 +0500
+++ mc/acinclude.m4 2008-03-12 01:49:18 +0500
@@ -380,7 +380,7 @@ AC_DEFUN([MC_WITH_SLANG], [
dnl Check the header
slang_h_found=
- AC_CHECK_HEADERS([slang.h slang/slang.h],
+ AC_CHECK_HEADERS([slang.h slang/slang.h slang2/slang.h],
[slang_h_found=yes; break])
if test -z "$slang_h_found"; then
with_screen=mcslang
--- mc/src/myslang.h.orig 2008-02-24 16:47:23 +0500
+++ mc/src/myslang.h 2008-03-12 01:50:37 +0500
@@ -7,7 +7,11 @@
#ifdef HAVE_SLANG_SLANG_H
# include <slang/slang.h>
#else
+#ifdef HAVE_SLANG2_SLANG_H
+# include <slang2/slang.h>
+#else
# include <slang.h>
+#endif /* HAVE_SLANG2_SLANG_H */
#endif /* HAVE_SLANG_SLANG_H */
#endif