pkgsrc/multimedia/xine-lib/patches/patch-ag
wiz 726fbfa251 Remove three patches that I think are not needed any longer.
If I'm wrong, let me know why.

Add upstream bug report URLs to nearly all remaining patches,
after filing these upstream bug reports.

Hi everyone who patched this without doing that!
2014-05-18 15:38:18 +00:00

52 lines
1.6 KiB
Text

$NetBSD: patch-ag,v 1.27 2014/05/18 15:38:18 wiz Exp $
1. chunk:
https://bugs.xine-project.org/show_bug.cgi?id=536
2. chunk:
https://bugs.xine-project.org/show_bug.cgi?id=532
3. chunk:
https://bugs.xine-project.org/show_bug.cgi?id=526
4. chunk
https://bugs.xine-project.org/show_bug.cgi?id=531
--- configure.ac.orig 2012-06-09 17:30:18.000000000 +0000
+++ configure.ac 2012-09-20 14:41:33.687892237 +0000
@@ -9,7 +9,7 @@
dnl Initialize autoconf, autoheader, and automake
AC_INIT([xine-lib], XINE_VERSION_SPEC, [xine-bugs@lists.sourceforge.net])
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE([subdir-objects])
AC_CONFIG_SRCDIR([src/xine-engine/xine.c])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_LIBOBJ_DIR([lib])
@@ -272,6 +272,10 @@
AC_CHECK_LIB([resolv], [hstrerror], [NET_LIBS="-lresolv $NET_LIBS"])
AC_SUBST(NET_LIBS)
+WINE_LIBS=""
+AC_CHECK_LIB(i386, i386_set_ldt, WINE_LIBS="-li386 $WINE_LIBS",)
+AC_SUBST(WINE_LIBS)
+
AC_CHECK_LIB([rt], [clock_getres],
[RT_LIBS="-lrt"
AC_DEFINE(HAVE_POSIX_TIMERS, 1, [Define this if you have POSIX timers.])],
@@ -361,6 +365,10 @@
esac
AC_CHECK_HEADERS([sys/dvdio.h sys/cdio.h sys/scsiio.h])
+dnl ----------------------------------------------
+dnl Check for NetBSD DTV headers
+dnl ----------------------------------------------
+AC_CHECK_HEADERS([dev/dtv/dtvio.h])
dnl ----------------
dnl checks for types
@@ -905,6 +913,7 @@
AC_FUNC_FSEEKO
+AC_LIBOBJ(dummy)
AC_REPLACE_FUNCS([asprintf basename gettimeofday setenv strcasestr strndup strpbrk strsep strtok_r timegm unsetenv memmem])
AC_LIBSOURCE([hstrerror.c])