Opened 15 years ago

Last modified 15 years ago

#1452 new defect

libdvdread: builds incorrectly on os x (darwin)

Reported by: stebbins@… Owned by: reimar
Priority: normal Component: core
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

dvd_reader.c uses the define DARWIN to enable darwin specific code, but it is never defined anywhere. The following patch fixes it.

diff -Naur libdvdread.orig/configure.ac libdvdread/configure.ac
--- libdvdread.orig/configure.ac 2009-01-08 17:57:10.000000000 -0500
+++ libdvdread/configure.ac 2009-04-24 01:50:56.000000000 -0400
@@ -145,6 +145,9 @@

*cygwin*)

LDFLAGS="-no-undefined $LDFLAGS"
;;

+ *darwin*)
+ AC_DEFINE(DARWIN, 1, Have a Mac OS X system)
+ ;;

*os2*)

LDFLAGS="-no-undefined -Zbin-files $LDFLAGS"
;;

Change History (1)

comment:1 by stebbins@…, 15 years ago

op_sys: LinuxDarwin
Note: See TracTickets for help on using tickets.