diff options
author | Wulf Krueger <philantrop@gentoo.org> | 2007-11-03 20:10:21 +0000 |
---|---|---|
committer | Wulf Krueger <philantrop@gentoo.org> | 2007-11-03 20:10:21 +0000 |
commit | 98fb1011cdb27b21d1e0b39f29ef47fd0cff5303 (patch) | |
tree | 53be66ec1ef6d9f812662f5c68c43fd7cdcf6b08 /kde-base/kdemultimedia | |
parent | Needs dtd 4.1.2 to build help files (diff) | |
download | gentoo-2-98fb1011cdb27b21d1e0b39f29ef47fd0cff5303.tar.gz gentoo-2-98fb1011cdb27b21d1e0b39f29ef47fd0cff5303.tar.bz2 gentoo-2-98fb1011cdb27b21d1e0b39f29ef47fd0cff5303.zip |
Added a patch for BSD compatibility.
(Portage version: 2.1.3.16)
Diffstat (limited to 'kde-base/kdemultimedia')
-rw-r--r-- | kde-base/kdemultimedia/ChangeLog | 7 | ||||
-rw-r--r-- | kde-base/kdemultimedia/files/kdemultimedia-kioslaves-3.5.8-freebsd.patch | 27 | ||||
-rw-r--r-- | kde-base/kdemultimedia/kdemultimedia-3.5.8.ebuild | 5 |
3 files changed, 36 insertions, 3 deletions
diff --git a/kde-base/kdemultimedia/ChangeLog b/kde-base/kdemultimedia/ChangeLog index 8e38854c72fa..645a02ece93c 100644 --- a/kde-base/kdemultimedia/ChangeLog +++ b/kde-base/kdemultimedia/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for kde-base/kdemultimedia # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdemultimedia/ChangeLog,v 1.256 2007/10/19 22:29:37 philantrop Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdemultimedia/ChangeLog,v 1.257 2007/11/03 20:10:20 philantrop Exp $ + + 03 Nov 2007; Wulf C. Krueger <philantrop@gentoo.org> + +files/kdemultimedia-kioslaves-3.5.8-freebsd.patch, + kdemultimedia-3.5.8.ebuild: + Added a patch for BSD compatibility. *kdemultimedia-3.5.8 (19 Oct 2007) diff --git a/kde-base/kdemultimedia/files/kdemultimedia-kioslaves-3.5.8-freebsd.patch b/kde-base/kdemultimedia/files/kdemultimedia-kioslaves-3.5.8-freebsd.patch new file mode 100644 index 000000000000..be8a7d927eae --- /dev/null +++ b/kde-base/kdemultimedia/files/kdemultimedia-kioslaves-3.5.8-freebsd.patch @@ -0,0 +1,27 @@ +--- kdemultimedia-kioslaves-3.5.8/kioslave/audiocd/plugins/lame/encoderlame.cpp.old 2007-10-21 10:16:12 -0600 ++++ kdemultimedia-kioslaves-3.5.8/kioslave/audiocd/plugins/lame/encoderlame.cpp 2007-10-21 09:50:00 -0600 +@@ -17,7 +17,11 @@ + */ + + #include <config.h> ++#ifdef HAVE_MACHINE_ENDIAN_H ++#include <machine/endian.h> ++#else + #include <endian.h> ++#endif + #include "encoderlame.h" + #include "encoderlameconfig.h" + #include "audiocd_lame_encoder.h" +@@ -221,6 +225,12 @@ + // -x bitswap + // -r raw/pcm + // -s 44.1 (because it is raw you have to specify this) ++#if !defined(__BYTE_ORDER) && defined(_BYTE_ORDER) ++#define __BYTE_ORDER _BYTE_ORDER ++#endif ++#if !defined(__LITTLE_ENDIAN) && defined(_LITTLE_ENDIAN) ++#define __LITTLE_ENDIAN _LITTLE_ENDIAN ++#endif + #if __BYTE_ORDER == __LITTLE_ENDIAN + *(d->currentEncodeProcess) << "lame" << "--verbose" << "-x" << "-r" << "-s" << "44.1"; + #else diff --git a/kde-base/kdemultimedia/kdemultimedia-3.5.8.ebuild b/kde-base/kdemultimedia/kdemultimedia-3.5.8.ebuild index 6fc53b19aa6f..ca142e262de2 100644 --- a/kde-base/kdemultimedia/kdemultimedia-3.5.8.ebuild +++ b/kde-base/kdemultimedia/kdemultimedia-3.5.8.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdemultimedia/kdemultimedia-3.5.8.ebuild,v 1.1 2007/10/19 22:29:37 philantrop Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdemultimedia/kdemultimedia-3.5.8.ebuild,v 1.2 2007/11/03 20:10:20 philantrop Exp $ inherit kde-dist flag-o-matic @@ -34,7 +34,8 @@ RDEPEND="${DEPEND} DEPEND="${DEPEND} dev-util/pkgconfig" -PATCHES="${FILESDIR}/kdemultimedia-3.5.5+flac-1.1.3.patch" +PATCHES="${FILESDIR}/kdemultimedia-3.5.5+flac-1.1.3.patch + ${FILESDIR}/kdemultimedia-kioslaves-3.5.8-freebsd.patch" pkg_setup() { kde_pkg_setup |