summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-11-07 22:42:24 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-11-07 22:42:24 +0000
commit0d1ae54486b7af0ee85dbb5403f64e9a4419f1b7 (patch)
tree5b62c6f3c5049232549743a93c1d3cfe8add11cb /media-video/kaffeine/files
parentVersion bump. Removed older version. (diff)
downloadgentoo-2-0d1ae54486b7af0ee85dbb5403f64e9a4419f1b7.tar.gz
gentoo-2-0d1ae54486b7af0ee85dbb5403f64e9a4419f1b7.tar.bz2
gentoo-2-0d1ae54486b7af0ee85dbb5403f64e9a4419f1b7.zip
Add patch to build on Gentoo/FreeBSD and add ~x86-fbsd keyword.
(Portage version: 2.1.2_rc1-r4)
Diffstat (limited to 'media-video/kaffeine/files')
-rw-r--r--media-video/kaffeine/files/kaffeine-0.8.2-fbsd.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/media-video/kaffeine/files/kaffeine-0.8.2-fbsd.patch b/media-video/kaffeine/files/kaffeine-0.8.2-fbsd.patch
new file mode 100644
index 000000000000..fb8b15444fa7
--- /dev/null
+++ b/media-video/kaffeine/files/kaffeine-0.8.2-fbsd.patch
@@ -0,0 +1,26 @@
+Index: kaffeine/src/input/disc/paranoia.cpp
+===================================================================
+--- kaffeine/src/input/disc/paranoia.cpp (revision 603099)
++++ kaffeine/src/input/disc/paranoia.cpp (working copy)
+@@ -16,7 +16,12 @@
+
++#include "config.h"
+ #include <unistd.h>
+ #include <math.h>
++#ifdef HAVE_ENDIAN_H
+ #include <endian.h>
++#else
++#include <sys/endian.h>
++#endif
+
+ #include <qfile.h>
+ #include <qslider.h>
+Index: kaffeine/configure.in.in
+===================================================================
+--- kaffeine/configure.in.in (revision 603099)
++++ kaffeine/configure.in.in (working copy)
+@@ -161,3 +161,4 @@
+
++AC_CHECK_HEADERS([endian.h sys/endian.h])
+ AC_CHECK_HEADER(cdda_interface.h, have_cdparanoia="yes", have_cdparanoia="no")
+