Opened 11 years ago

Last modified 11 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: Analyzed by developer:


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/ libdvdread/
--- libdvdread.orig/ 2009-01-08 17:57:10.000000000 -0500
+++ libdvdread/ 2009-04-24 01:50:56.000000000 -0400
@@ -145,6 +145,9 @@


LDFLAGS="-no-undefined $LDFLAGS"

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


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

Change History (1)

comment:1 Changed 11 years ago by stebbins@…

  • op_sys changed from Linux to Darwin
Note: See TracTickets for help on using tickets.