diff options
Diffstat (limited to 'sysutils/k3b/files/patch-src-device-k3bdevice.cpp')
-rw-r--r-- | sysutils/k3b/files/patch-src-device-k3bdevice.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/sysutils/k3b/files/patch-src-device-k3bdevice.cpp b/sysutils/k3b/files/patch-src-device-k3bdevice.cpp new file mode 100644 index 00000000000..c3e8d0ce63d --- /dev/null +++ b/sysutils/k3b/files/patch-src-device-k3bdevice.cpp @@ -0,0 +1,26 @@ +--- src/device/k3bdevice.cpp.orig Thu Feb 12 11:21:15 2004 ++++ src/device/k3bdevice.cpp Fri Feb 13 21:03:38 2004 +@@ -56,6 +56,12 @@ + + #endif // Q_OS_LINUX + ++#ifdef __FreeBSD__ ++#define __BYTE_ORDER BYTE_ORDER ++#define __BIG_ENDIAN BIG_ENDIAN ++#define CD_FRAMESIZE_RAW 2352 ++#endif ++ + + #ifdef HAVE_RESMGR + extern "C" { +@@ -152,8 +158,10 @@ + + d->supportedProfiles = 0; + ++#ifndef __FreeBSD__ + if(open() < 0) + return false; ++#endif + + + // |