openbsd-ports/net/wide-dhcp/patches/patch-server_dhcps_h

23 lines
746 B
Plaintext

$OpenBSD: patch-server_dhcps_h,v 1.1 2013/05/10 09:56:45 sthen Exp $
--- server/dhcps.h.orig Sat Feb 21 05:41:56 1998
+++ server/dhcps.h Fri May 10 10:49:50 2013
@@ -37,15 +37,15 @@
* WIDE project has the rights to redistribute these changes.
*/
-#if defined(__bsdi__) || defined(__FreeBSD__)
+#if defined(__bsdi__) || defined(__FreeBSD__) || defined(__OpenBSD__)
#ifndef BINDING_DB
#define BINDING_DB "/var/db/dhcpdb.bind"
#endif
-#else /* not BSD/OS nor FreeBSD */
+#else /* not BSD/OS not FreeBSD nor OpenBSD */
#ifndef BINDING_DB
#define BINDING_DB "/etc/dhcpdb.bind"
#endif
-#endif /* __bsdi__ || __FreeBSD__ */
+#endif /* __bsdi__ || __FreeBSD__ || __OpenBSD__ */
#ifdef sony_news
#ifndef PATH_PID