1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/biology/babel/files/patch-convert.c
Christian Weisgerber 9aee951f75 * Replace pkg-message about setting BABEL_DIR with a wrapper script
that does.
* Remove misleading full path name from usage message.
* Improve fgets() usage.
* Add converters category.
* Improve pkg-comment and pkg-descr.
2001-12-02 13:09:47 +00:00

23 lines
370 B
C

$FreeBSD$
--- convert.c.orig Sun Nov 18 16:44:25 2001
+++ convert.c Sun Nov 18 16:44:54 2001
@@ -28,6 +28,7 @@
static warning wstr;
static char *program_name;
+extern char *__progname;
int use_title = FALSE;
#ifdef MSDOS
@@ -47,7 +48,7 @@
#endif
babel_init();
- program_name = argv[0];
+ program_name = __progname;
if (argc == 1)
{
usage();