Experimentally enabled FreeBSD system adapter for Debian kfreebsd

ZeroSevenSix
Thomas Schmitt 13 years ago
parent 2b8e8c2521
commit 00ed59f34e
  1. 4
      acinclude.m4
  2. 2
      cdrskin/cdrskin_timestamp.h
  3. 9
      libburn/os.h
  4. 6
      libburn/sg.c

@ -16,6 +16,10 @@ AC_DEFUN([TARGET_SHIZZLE],
LIBBURN_ARCH_LIBS=-lcam
LIBBURNIA_PKGCONFDIR=$(echo "$libdir" | sed 's/\/lib$/\/libdata/')/pkgconfig
;;
kfreebsd*-gnu)
ARCH=freebsd
LIBBURN_ARCH_LIBS=-lcam
;;
*)
ARCH=
LIBBURN_ARCH_LIBS=

@ -1 +1 @@
#define Cdrskin_timestamP "2009.12.29.115854"
#define Cdrskin_timestamP "2009.12.29.132537"

@ -29,6 +29,14 @@
#include "os-freebsd.h"
#else
#ifdef __FreeBSD_kernel__
/* ----------------------- FreeBSD with CAM under Debian ------------------- */
#include "os-freebsd.h"
#else
#ifdef __linux
@ -45,6 +53,7 @@
#endif /* ! __linux */
#endif /* ! __FreeBSD__kernel__ */
#endif /* ! __FreeBSD__ */
#endif /* ! Libburn_use_libcdiO */

@ -14,6 +14,11 @@
#include "sg-freebsd.c"
#else
#ifdef __FreeBSD_kernel__
#include "sg-freebsd.c"
#else
#ifdef __linux
@ -42,6 +47,7 @@ static int intentional_compiler_warning(void)
#include "sg-dummy.c"
#endif /* ! __linux */
#endif /* ! __FreeBSD_kernel__ */
#endif /* ! __FreeBSD__ */
#endif /* ! Libburn_use_libcdiO */

Loading…
Cancel
Save