summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2003-09-28 13:58:54 +0000
committerMax Khon <fjoe@FreeBSD.org>2003-09-28 13:58:54 +0000
commita1ef5ade8911ee3dac407e7d8ef41fabcc5b5281 (patch)
tree50332fbde69c3361758236253b915cc4c52be24d
parent- Fixed man page installation on perl 5.6.1 (diff)
Do not use internal fidoconfig parser.
Notes
Notes: svn path=/head/; revision=89684
-rw-r--r--news/husky-msged/files/patch-Makefile20
-rw-r--r--news/husky-msged/files/patch-fconf.c15
2 files changed, 12 insertions, 23 deletions
diff --git a/news/husky-msged/files/patch-Makefile b/news/husky-msged/files/patch-Makefile
index 3e27c2702ca1..e4d2e7b9d20e 100644
--- a/news/husky-msged/files/patch-Makefile
+++ b/news/husky-msged/files/patch-Makefile
@@ -1,16 +1,20 @@
---- Makefile.orig Mon Nov 26 19:13:21 2001
-+++ Makefile Wed Jan 29 00:50:23 2003
-@@ -19,10 +19,11 @@
+--- ./Makefile.orig Mon Nov 26 19:13:21 2001
++++ ./Makefile Sun Sep 28 20:51:18 2003
+@@ -19,7 +19,7 @@
MSGEDCFG=\"$(CFGDIR)/msged.cfg\"
endif
-CDEFS=-D$(OSTYPE) -DUSE_MSGAPI -DUNAME=\"$(UNAME)\" \
-+CDEFS=-D$(OSTYPE) -DUSE_MSGAPI -DUSE_CURSES -DUNAME=\"$(UNAME)\" \
++CDEFS=-D$(OSTYPE) -DUSE_MSGAPI -DUSE_CURSES -DUSE_FIDOCONFIG -DUNAME=\"$(UNAME)\" \
$(ADDCDEFS) -DREADMAPSDAT=\"$(CFGDIR)/readmaps.dat\" \
-DWRITMAPSDAT=\"$(CFGDIR)/writmaps.dat\" \
-- -DDEFAULT_CONFIG_FILE=$(MSGEDCFG)
-+ -DDEFAULT_CONFIG_FILE=$(MSGEDCFG) \
-+ -DFIDOCONFIG_FILE=\"$(CFGDIR)/config\"
-
+ -DDEFAULT_CONFIG_FILE=$(MSGEDCFG)
+@@ -27,7 +27,7 @@
ifeq ($(SHORTNAME), 1)
LIBS= -L$(LIBDIR) -lsmapi
+ else
+- LIBS= -L$(LIBDIR) -lsmapi
++ LIBS= -L$(LIBDIR) -lsmapi -lfidoconfig
+ endif
+
+ TARGET= msged$(EXE)
diff --git a/news/husky-msged/files/patch-fconf.c b/news/husky-msged/files/patch-fconf.c
deleted file mode 100644
index b9d8b45e4601..000000000000
--- a/news/husky-msged/files/patch-fconf.c
+++ /dev/null
@@ -1,15 +0,0 @@
---- fconf.c.orig Mon Jan 6 00:37:00 2003
-+++ fconf.c Mon Jan 6 00:39:10 2003
-@@ -317,8 +317,12 @@
-
- if (filename == NULL)
- {
-+#if defined(FIDOCONFIG_FILE)
-+ filename = FIDOCONFIG_FILE;
-+#else
- printf ("\r\nError: You must set the FIDOCONFIG environment variable!\n");
- return;
-+#endif
- }
-
- fc_default_address_set = 0;