openbsd-ports/devel/libdvdread/patches/patch-dvdread_dvd_reader_c
drahn 64de6e7665 Change libdvdread for USE_LIBTOOL=Yes, build better for ELF systems.
and do not prepend leading '_' for ELF systems.
ok espie@
2001-10-14 23:14:27 +00:00

13 lines
466 B
Plaintext

$OpenBSD: patch-dvdread_dvd_reader_c,v 1.1 2001/10/14 23:14:27 drahn Exp $
--- dvdread/dvd_reader.c.orig Tue Oct 9 15:07:40 2001
+++ dvdread/dvd_reader.c Sun Oct 14 15:58:29 2001
@@ -116,7 +116,7 @@ static void setupCSS( void )
fprintf( stderr, "libdvdread: Can't open libdvdcss: %s.\n",
dlerror() );
} else {
-#if defined(__OpenBSD__)
+#if defined(__OpenBSD__) && !defined (__ELF__)
#define U_S "_"
#else
#define U_S