From 4973489859e97f0e1ac886c82bbff868e77082a2 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Wed, 4 Nov 1998 17:54:17 +0000 Subject: [PATCH] Fixes to make MC compile with popt-1.2 --- src/ChangeLog | 6 ++++++ src/Makefile.in | 4 ++-- src/findme.h | 10 ++++++++++ 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 src/findme.h diff --git a/src/ChangeLog b/src/ChangeLog index 526a0bc57..73c5fcb2b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +Wed Nov 4 17:51:43 1998 Pavel Roskin + + * src/findme.h: added from popt-1.2 by RedHat + + * src/Makefile.in: appropriate changes to use new popt + Sun Nov 1 20:59:05 1998 Pavel Machek * file.c (erase_file): translated goto into while loop (it is both diff --git a/src/Makefile.in b/src/Makefile.in index 8dc3b5a40..2082b2d3f 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -24,7 +24,7 @@ SRCS = dir.c util.c main.c screen.c dialog.c key.c keyxdef.c menu.c\ hotlist.c achown.c layout.c fsusage.c mountlist.c regex.c \ complete.c slint.c command.c cmd.c panelize.c learn.c \ listmode.c utilunix.c background.c rxvt.c \ - text.c + text.c popt.c findme.c HDRS = color.h file.h mouse.h user.h dialog.h find.h main.h \ util.h dir.h global.h menu.h panel.h win.h mem.h \ @@ -34,7 +34,7 @@ HDRS = color.h file.h mouse.h user.h dialog.h find.h main.h \ hotlist.h layout.h fsusage.h mountlist.h regex.h complete.h \ myslang.h command.h cmd.h tty.h fs.h panelize.h achown.h \ learn.h listmode.h features.inc background.h \ - x.h textconf.h i18n.h + x.h textconf.h i18n.h findme.h OBJS = dir.o util.o screen.o dialog.o key.o keyxdef.o menu.o\ file.o win.o color.o help.o find.o profile.o user.o view.o \ diff --git a/src/findme.h b/src/findme.h new file mode 100644 index 000000000..fdd01d520 --- /dev/null +++ b/src/findme.h @@ -0,0 +1,10 @@ +/* (C) 1998 Red Hat Software, Inc. -- Licensing details are in the COPYING + file accompanying popt source distributions, available from + ftp://ftp.redhat.com/pub/code/popt */ + +#ifndef H_FINDME +#define H_FINDME + +char * findProgramPath(char * argv0); + +#endif