summaryrefslogtreecommitdiff
path: root/biology/babel/files/patch-convert.c
diff options
context:
space:
mode:
Diffstat (limited to 'biology/babel/files/patch-convert.c')
-rw-r--r--biology/babel/files/patch-convert.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/biology/babel/files/patch-convert.c b/biology/babel/files/patch-convert.c
new file mode 100644
index 000000000000..229da421096a
--- /dev/null
+++ b/biology/babel/files/patch-convert.c
@@ -0,0 +1,22 @@
+
+$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();