openbsd-ports/devel/bluetooth-libs/patches/patch-libbluetooth_bluetooth_c
2005-09-06 18:59:19 +00:00

15 lines
537 B
Plaintext

$OpenBSD: patch-libbluetooth_bluetooth_c,v 1.1 2005/09/06 18:59:19 grange Exp $
--- libbluetooth/bluetooth.c.orig Sat Jul 16 00:17:58 2005
+++ libbluetooth/bluetooth.c Tue Jul 26 23:36:18 2005
@@ -34,8 +34,8 @@
#include <stdlib.h>
#include <string.h>
-#define _PATH_BT_HOSTS "/etc/bluetooth/hosts"
-#define _PATH_BT_PROTOCOLS "/etc/bluetooth/protocols"
+#define _PATH_BT_HOSTS "%%SYSCONFDIR%%/bluetooth/hosts"
+#define _PATH_BT_PROTOCOLS "%%SYSCONFDIR%%/bluetooth/protocols"
#define MAXALIASES 35
static FILE *hostf = NULL;