diff options
author | joerg <joerg> | 2006-02-22 16:13:48 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-02-22 16:13:48 +0000 |
commit | e2bd2c79b543068a4bccb9b62d85b9730378c11f (patch) | |
tree | a2132375c7e35363674a538672b471d4a9035bdb /comms/xisp/patches/patch-ab | |
parent | 241c1ad320c83ca180c23dc3497f3d4274e44e35 (diff) | |
download | pkgsrc-e2bd2c79b543068a4bccb9b62d85b9730378c11f.tar.gz |
setkey and friends are in libcipher on DragonFly.
Add some conditional parts for DragonFly.
Diffstat (limited to 'comms/xisp/patches/patch-ab')
-rw-r--r-- | comms/xisp/patches/patch-ab | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/comms/xisp/patches/patch-ab b/comms/xisp/patches/patch-ab new file mode 100644 index 00000000000..84161272e80 --- /dev/null +++ b/comms/xisp/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.3 2006/02/22 16:13:48 joerg Exp $ + +--- network.c.orig 2006-02-22 16:05:33.000000000 +0000 ++++ network.c +@@ -89,7 +89,7 @@ char *IFAddr(char *IFName, int dest) + #define AddrOpen popen("/usr/ucb/netstat -nr", "r") + #define AddrScanf sscanf(routeLine, "%*s %*s %*s %*s %*s %s", IF) + #define AddrClose while (fgets(routeLine,128,infofp) != NULL); pclose(infofp) +-#elif defined(SUNOS5x) || defined(__FreeBSD__) ++#elif defined(SUNOS5x) || defined(__FreeBSD__) || defined(__DragonFly__) + #define AddrOpen popen("/usr/bin/netstat -nr", "r") + #define AddrScanf sscanf(routeLine, "%*s %*s %*s %*s %*s %s", IF) + #define AddrClose while (fgets(routeLine,128,infofp) != NULL); pclose(infofp) |