diff options
author | kwm <kwm@FreeBSD.org> | 2008-08-09 18:06:42 +0800 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2008-08-09 18:06:42 +0800 |
commit | a0885f406b628e67ea36fa50fb43bf9a3d8b8694 (patch) | |
tree | ea144e1776285548f6f7fac3badea632a4a46e58 /www | |
parent | 2e960f18bae213b94c23a595a02413d9d8e609dc (diff) | |
download | freebsd-ports-gnome-a0885f406b628e67ea36fa50fb43bf9a3d8b8694.tar.gz freebsd-ports-gnome-a0885f406b628e67ea36fa50fb43bf9a3d8b8694.tar.zst freebsd-ports-gnome-a0885f406b628e67ea36fa50fb43bf9a3d8b8694.zip |
Add patch I forgot.
Reported by: QA tindy
Diffstat (limited to 'www')
-rw-r--r-- | www/libepc/files/patch-tests_framework.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/www/libepc/files/patch-tests_framework.c b/www/libepc/files/patch-tests_framework.c new file mode 100644 index 000000000000..e1eb61677441 --- /dev/null +++ b/www/libepc/files/patch-tests_framework.c @@ -0,0 +1,22 @@ +--- tests/framework.c.orig 2008-08-05 02:14:30.000000000 +0200 ++++ tests/framework.c 2008-08-05 02:26:57.000000000 +0200 +@@ -24,6 +24,7 @@ + #include <avahi-client/client.h> + #include <avahi-common/error.h> + ++#include <sys/socket.h> + #include <net/if.h> + #include <sys/ioctl.h> + +@@ -194,7 +195,11 @@ epc_test_list_ifaces (void) + goto out; + } + ++#ifdef __FreeBSD__ ++ ifaces[j].ifidx = req->ifr_index; ++#else + ifaces[j].ifidx = req->ifr_ifindex; ++#endif + ifaces[j].mask = epc_test_result; + + g_print ("%s: name=%s, ifidx=%u, \n", |