summaryrefslogtreecommitdiff
path: root/multimedia/kdemultimedia4/files/patch-kioslave_audiocd_plugins_lame-encoderlame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/kdemultimedia4/files/patch-kioslave_audiocd_plugins_lame-encoderlame.cpp')
-rw-r--r--multimedia/kdemultimedia4/files/patch-kioslave_audiocd_plugins_lame-encoderlame.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/multimedia/kdemultimedia4/files/patch-kioslave_audiocd_plugins_lame-encoderlame.cpp b/multimedia/kdemultimedia4/files/patch-kioslave_audiocd_plugins_lame-encoderlame.cpp
new file mode 100644
index 000000000000..3d11f3160e7e
--- /dev/null
+++ b/multimedia/kdemultimedia4/files/patch-kioslave_audiocd_plugins_lame-encoderlame.cpp
@@ -0,0 +1,20 @@
+--- kioslave/audiocd/plugins/lame/encoderlame.cpp.orig 2007-10-25 14:58:32.000000000 +0200
++++ kioslave/audiocd/plugins/lame/encoderlame.cpp 2007-10-25 14:58:42.000000000 +0200
+@@ -17,7 +17,7 @@
+ */
+
+ #include <config.h>
+-#include <endian.h>
++#include <sys/endian.h>
+ #include "encoderlame.h"
+ #include "encoderlameconfig.h"
+ #include "audiocd_lame_encoder.h"
+@@ -221,7 +221,7 @@
+ // -x bitswap
+ // -r raw/pcm
+ // -s 44.1 (because it is raw you have to specify this)
+-#if __BYTE_ORDER == __LITTLE_ENDIAN
++#if BYTE_ORDER == LITTLE_ENDIAN
+ *(d->currentEncodeProcess) << "lame" << "--verbose" << "-x" << "-r" << "-s" << "44.1";
+ #else
+ *(d->currentEncodeProcess) << "lame" << "--verbose" << "-r" << "-s" << "44.1";