Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37042640
en ru br
Репозитории 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
www.altlinux.org/Changes

Группа :: Работа с файлами
Пакет: mc

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: mc-4.6.2-alt-system-libpopt.patch
Скачать


--- mc/src/Makefile.am.orig	2008-03-29 21:52:19 +0500
+++ mc/src/Makefile.am	2008-03-29 22:18:43 +0500
@@ -38,7 +38,7 @@ VFSLIB = ../vfs/libvfs-mc.a
 endif
 endif
 
-mc_LDADD = $(EDITLIB) $(SLANGLIB) $(VFSLIB) \
+mc_LDADD = -lpopt $(EDITLIB) $(SLANGLIB) $(VFSLIB) \
 	$(INTLLIBS) $(GLIB_LIBS) $(MCLIBS) $(LIBICONV)
 
 CHARSET_SRC = charsets.c charsets.h selcodepage.c selcodepage.h
@@ -56,8 +56,7 @@ SRCS =	achown.c achown.h background.c ba
 	logging.h logging.c						\
 	main.c main.h							\
 	menu.c menu.h mountlist.c mountlist.h mouse.c mouse.h myslang.h	\
-	option.c option.h panel.h panelize.c panelize.h poptalloca.h	\
-	popt.c poptconfig.c popt.h popthelp.c poptint.h poptparse.c	\
+	option.c option.h panel.h panelize.c panelize.h 		\
 	profile.c profile.h regex.c rxvt.c screen.c setup.c setup.h	\
 	slint.c	subshell.c subshell.h textconf.c textconf.h		\
 	tree.c tree.h treestore.c treestore.h tty.c tty.h user.c user.h	\
--- mc/src/findme.c.orig	2008-03-29 22:12:45 +0500
+++ mc/src/findme.c	2008-03-29 22:18:43 +0500
@@ -4,8 +4,6 @@
 
 #include <config.h>
 
-#include "poptalloca.h"
-
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
--- mc/src/main.c.orig	2008-03-29 22:20:12 +0500
+++ mc/src/main.c	2008-03-29 22:20:55 +0500
@@ -87,7 +87,7 @@
 #include "../vfs/gc.h"
 #endif
 
-#include "popt.h"
+#include <popt.h>
 
 /* When the modes are active, left_panel, right_panel and tree_panel */
 /* Point to a proper data structure.  You should check with the functions */
@@ -1848,14 +1848,12 @@ init_sigchld (void)
 static void
 print_mc_usage (poptContext ctx, FILE *stream)
 {
-    int leftColWidth;
-
     poptSetOtherOptionHelp (ctx,
 			    _("[flags] [this_dir] [other_panel_dir]\n"));
 
     /* print help for options */
-    leftColWidth = poptPrintHelp (ctx, stream, 0);
-    fprintf (stream, "  %-*s   %s\n", leftColWidth, _("+number"),
+    poptPrintHelp (ctx, stream, 0);
+    fprintf (stream, "  %-*s   %s\n", 0, _("+number"),
 	     _("Set initial line number for the internal editor"));
     fputs (_
 	   ("\n"
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin