From b5ecc0e771b0628efe6ced0dd630b10bd0194b48 Mon Sep 17 00:00:00 2001 From: espie Date: Tue, 30 Dec 2003 00:46:27 +0000 Subject: [PATCH] Incorrect use of token pasting. --- comms/flipit/patches/patch-conf_c | 12 ++++++++++++ comms/flipit/patches/patch-conf_h | 11 +++++++++++ 2 files changed, 23 insertions(+) create mode 100644 comms/flipit/patches/patch-conf_c create mode 100644 comms/flipit/patches/patch-conf_h diff --git a/comms/flipit/patches/patch-conf_c b/comms/flipit/patches/patch-conf_c new file mode 100644 index 00000000000..eae01c6ff13 --- /dev/null +++ b/comms/flipit/patches/patch-conf_c @@ -0,0 +1,12 @@ +$OpenBSD: patch-conf_c,v 1.1 2003/12/30 00:46:27 espie Exp $ +--- conf.c.orig 2003-12-30 01:39:44.000000000 +0100 ++++ conf.c 2003-12-30 01:39:51.000000000 +0100 +@@ -31,7 +31,7 @@ + #include + #include + +-#define SYSCONFFILE SYSCONFDIR ## "/flipit.conf" ++#define SYSCONFFILE SYSCONFDIR "/flipit.conf" + + static char* dev_tty = 0; + diff --git a/comms/flipit/patches/patch-conf_h b/comms/flipit/patches/patch-conf_h new file mode 100644 index 00000000000..034e4382ff0 --- /dev/null +++ b/comms/flipit/patches/patch-conf_h @@ -0,0 +1,11 @@ +--- conf.h.orig 2003-04-24 03:32:53.000000000 +0200 ++++ conf.h 2003-12-30 01:39:13.000000000 +0100 +@@ -30,7 +30,7 @@ int conf_parse(void); + const char* conf_dev_tty(void); + void conf_set_dev_tty(const char*); + +-#define SYSCONFFILE SYSCONFDIR ## "/flipit.conf" ++#define SYSCONFFILE SYSCONFDIR "/flipit.conf" + + #endif /* CONF_H */ +