public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Kevin Kofler <Kevin@tigcc.ticalc.org>
To: git-commits@fedoraproject.org
Subject: [rpms/xine-lib] epel9-next: - fix system libdvdnav support to also link libdvdread
Date: Mon, 20 Jul 2026 20:01:11 GMT	[thread overview]
Message-ID: <178457767157.1.6306363609746688070.rpms-xine-lib-838da37aa8bf@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/xine-lib
Branch : epel9-next
Commit : 838da37aa8bf874de45943593a8eb547fdd0a779
Author : Kevin Kofler <Kevin@tigcc.ticalc.org>
Date   : 2011-11-20T05:51:21+01:00
Stats  : +16/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/xine-lib/c/838da37aa8bf874de45943593a8eb547fdd0a779?branch=epel9-next

Log:
- fix system libdvdnav support to also link libdvdread

---
diff --git a/xine-lib-1.1.20-link-libdvdread.patch b/xine-lib-1.1.20-link-libdvdread.patch
new file mode 100644
index 0000000..c714aad
--- /dev/null
+++ b/xine-lib-1.1.20-link-libdvdread.patch
@@ -0,0 +1,11 @@
+diff -ur xine-lib-1.1.20/configure.ac xine-lib-1.1.20-link-libdvdread/configure.ac
+--- xine-lib-1.1.20/configure.ac	2011-11-13 02:36:20.000000000 +0100
++++ xine-lib-1.1.20-link-libdvdread/configure.ac	2011-11-20 05:46:16.000000000 +0100
+@@ -1773,6 +1773,7 @@
+   AM_PATH_DVDNAV(0.1.9,
+ 	  AC_DEFINE(HAVE_DVDNAV,1,[Define this if you have a suitable version of libdvdnav]),
+ 	  [AC_MSG_RESULT([*** no usable version of libdvdnav found, using internal copy ***])])
++  AC_CHECK_LIB(dvdread, navRead_DSI, DVDNAV_LIBS="$DVDNAV_LIBS -ldvdread",)
+ else
+   AC_MSG_RESULT([Use included DVDNAV support])
+ fi

diff --git a/xine-lib.spec b/xine-lib.spec
index 1eaa0ef..38b18a9 100644
--- a/xine-lib.spec
+++ b/xine-lib.spec
@@ -43,6 +43,9 @@ Patch1:         xine-lib-1.1.4-optflags.patch
 Patch8:         xine-lib-1.1.17-avsync_hack.patch
 # http://bugzilla.redhat.com/477226
 Patch9:         xine-lib-1.1.16.2-multilib.patch
+# fix system libdvdnav support to also link libdvdread
+# otherwise, we get unresolved symbols in the spudec plugin
+Patch10:        xine-lib-1.1.20-link-libdvdread.patch
 
 Provides:         xine-lib(plugin-abi) = %{plugin_abi}
 %{?_isa:Provides: xine-lib(plugin-abi)%{?_isa} = %{plugin_abi}}
@@ -143,6 +146,7 @@ rm -f configure ltmain.sh libtool m4/libtool.m4 m4/ltoptions.m4 m4/ltversion.m4
 %patch1 -p1 -b .optflags
 %patch8 -p1 -b .avsync_hack
 %patch9 -p1 -b .multilib
+%patch10 -p1 -b .link-libdvdread
 
 ./autogen.sh noconfig
 
@@ -382,6 +386,7 @@ rm -rf $RPM_BUILD_ROOT
 - drop unused deepbind patch
 - drop xvmclib_header patch, fixed upstream
 - use the system libdvdnav (and libdvdread) instead of the bundled one
+- fix system libdvdnav support to also link libdvdread
 - plugin ABI is now 1.30
 
 * Fri Jul 15 2011 Kevin Kofler <Kevin@tigcc.ticalc.org> 1.1.19-7

                 reply	other threads:[~2026-07-20 20:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178457767157.1.6306363609746688070.rpms-xine-lib-838da37aa8bf@fedoraproject.org \
    --to=kevin@tigcc.ticalc.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox