Incorrect use of token pasting.
This commit is contained in:
parent
6f567b3344
commit
b5ecc0e771
12
comms/flipit/patches/patch-conf_c
Normal file
12
comms/flipit/patches/patch-conf_c
Normal file
@ -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 <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
-#define SYSCONFFILE SYSCONFDIR ## "/flipit.conf"
|
||||
+#define SYSCONFFILE SYSCONFDIR "/flipit.conf"
|
||||
|
||||
static char* dev_tty = 0;
|
||||
|
11
comms/flipit/patches/patch-conf_h
Normal file
11
comms/flipit/patches/patch-conf_h
Normal file
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user