summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Januszewski <spock@gentoo.org>2006-02-19 14:55:59 +0000
committerMichael Januszewski <spock@gentoo.org>2006-02-19 14:55:59 +0000
commit44f7038bc80f0462141f82781672f4bb97cfc9d4 (patch)
treee3627f4d88aa8a07fcc9a27fd623d5d5ea66dfa0 /net-im/ekg/files
parentProject migrated to gna.org. Updated HOMEPAGE and SRC_URI. Removed old releas... (diff)
downloadgentoo-2-44f7038bc80f0462141f82781672f4bb97cfc9d4.tar.gz
gentoo-2-44f7038bc80f0462141f82781672f4bb97cfc9d4.tar.bz2
gentoo-2-44f7038bc80f0462141f82781672f4bb97cfc9d4.zip
Added a patch to allow compiling ekg on DragonFly. Updated metadata.
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'net-im/ekg/files')
-rw-r--r--net-im/ekg/files/ekg-1.6-dragonfly.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/net-im/ekg/files/ekg-1.6-dragonfly.patch b/net-im/ekg/files/ekg-1.6-dragonfly.patch
new file mode 100644
index 000000000000..125ab74ede58
--- /dev/null
+++ b/net-im/ekg/files/ekg-1.6-dragonfly.patch
@@ -0,0 +1,42 @@
+diff -ur ./ekg-1.6.orig/contrib/ioctld-client.c ekg-1.6/contrib/ioctld-client.c
+--- ./ekg-1.6.orig/contrib/ioctld-client.c 2005-02-27 20:35:58 +0000
++++ ekg-1.6/contrib/ioctld-client.c 2006-02-18 09:02:56 +0000
+@@ -26,7 +26,7 @@
+ #include <arpa/inet.h>
+ #include <sys/socket.h>
+ #include <netdb.h>
+-#ifdef __FreeBSD__
++#if defined (__FreeBSD__) || defined (__DragonFly__)
+ # include <sys/kbio.h>
+ #endif
+ #ifdef sun /* Solaris */
+@@ -147,7 +147,7 @@
+ if (tone[s])
+ fprintf(stderr, " %d/%d", tone[s], delay[s]);
+
+-#ifdef __FreeBSD__
++#if defined (__FreeBSD__) || defined (__DragonFly__)
+ ioctl(fd, KIOCSOUND, 0);
+ #endif
+
+diff -ur ./ekg-1.6.orig/src/ioctld.c ekg-1.6/src/ioctld.c
+--- ./ekg-1.6.orig/src/ioctld.c 2005-02-27 20:36:02 +0000
++++ ekg-1.6/src/ioctld.c 2006-02-18 09:03:46 +0000
+@@ -26,7 +26,7 @@
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+ #include <sys/socket.h>
+-#ifdef __FreeBSD__
++#if defined (__FreeBSD__) || defined (__DragonFly__)
+ # include <sys/kbio.h>
+ #endif
+ #ifdef sun /* Solaris */
+@@ -124,7 +124,7 @@
+
+ for (s = 0; tone[s] >= 0 && s < IOCTLD_MAX_ITEMS; s++) {
+
+-#ifdef __FreeBSD__
++#if defined (__FreeBSD__) || defined (__DragonFly__)
+ ioctl(fd, KIOCSOUND, 0);
+ #endif
+