openbsd-ports/net/wide-dhcp/patches/patch-client_dhcpc.h
avsm a0882217cf commit this three-month old patch that was posted to ports@ with no
response.  Does anyone out there use this port at all?  It was broken,
this unbreaks it by FAKEing it, but there's noone using it to test
it out....
2001-01-09 20:49:33 +00:00

28 lines
757 B
C

*** client/dhcpc.h.orig Thu Nov 13 23:21:26 1997
--- client/dhcpc.h Mon Aug 17 16:54:33 1998
***************
*** 47,57 ****
#endif
#endif /*sony_news*/
! #if defined(__bsdi__) || defined(__FreeBSD__)
#ifndef PATH_CACHE_PREFIX
#define PATH_CACHE_PREFIX "/var/db/dhcpc_cache"
#endif
! #else /* not BSD/OS nor FreeBSD */
#ifndef PATH_CACHE_PREFIX
#define PATH_CACHE_PREFIX "/etc/dhcpc_cache"
#endif
--- 47,57 ----
#endif
#endif /*sony_news*/
! #if defined(__bsdi__) || defined(__FreeBSD__) || defined(__OpenBSD__)
#ifndef PATH_CACHE_PREFIX
#define PATH_CACHE_PREFIX "/var/db/dhcpc_cache"
#endif
! #else /* not BSD/OS not FreeBSD nor OpenBSD */
#ifndef PATH_CACHE_PREFIX
#define PATH_CACHE_PREFIX "/etc/dhcpc_cache"
#endif