/[gentoo-alt]/trunk/overlay/net-im/ekg/files/epkg-1.6-dragonfly.patch
Gentoo

Contents of /trunk/overlay/net-im/ekg/files/epkg-1.6-dragonfly.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1060 - (show annotations) (download)
Sat Feb 18 12:28:58 2006 UTC (8 years, 7 months ago) by flameeyes
File size: 1223 byte(s)
Add ekg with patch for DragonFly, bug #123250. Thanks to Robert Sebastian Gerus.
1 diff -ur ./ekg-1.6.orig/contrib/ioctld-client.c ekg-1.6/contrib/ioctld-client.c
2 --- ./ekg-1.6.orig/contrib/ioctld-client.c 2005-02-27 20:35:58 +0000
3 +++ ekg-1.6/contrib/ioctld-client.c 2006-02-18 09:02:56 +0000
4 @@ -26,7 +26,7 @@
5 #include <arpa/inet.h>
6 #include <sys/socket.h>
7 #include <netdb.h>
8 -#ifdef __FreeBSD__
9 +#if defined (__FreeBSD__) || defined (__DragonFly__)
10 # include <sys/kbio.h>
11 #endif
12 #ifdef sun /* Solaris */
13 @@ -147,7 +147,7 @@
14 if (tone[s])
15 fprintf(stderr, " %d/%d", tone[s], delay[s]);
16
17 -#ifdef __FreeBSD__
18 +#if defined (__FreeBSD__) || defined (__DragonFly__)
19 ioctl(fd, KIOCSOUND, 0);
20 #endif
21
22 diff -ur ./ekg-1.6.orig/src/ioctld.c ekg-1.6/src/ioctld.c
23 --- ./ekg-1.6.orig/src/ioctld.c 2005-02-27 20:36:02 +0000
24 +++ ekg-1.6/src/ioctld.c 2006-02-18 09:03:46 +0000
25 @@ -26,7 +26,7 @@
26 #include <netinet/in.h>
27 #include <arpa/inet.h>
28 #include <sys/socket.h>
29 -#ifdef __FreeBSD__
30 +#if defined (__FreeBSD__) || defined (__DragonFly__)
31 # include <sys/kbio.h>
32 #endif
33 #ifdef sun /* Solaris */
34 @@ -124,7 +124,7 @@
35
36 for (s = 0; tone[s] >= 0 && s < IOCTLD_MAX_ITEMS; s++) {
37
38 -#ifdef __FreeBSD__
39 +#if defined (__FreeBSD__) || defined (__DragonFly__)
40 ioctl(fd, KIOCSOUND, 0);
41 #endif
42

  ViewVC Help
Powered by ViewVC 1.1.20