libtheora: Fix symbol not found

This commit is contained in:
Dylan Araps 2021-08-27 09:26:31 +03:00
parent 601ebc4a2f
commit d1fbf10d66
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
5 changed files with 20 additions and 4 deletions

View File

@ -1,6 +1,7 @@
#!/bin/sh -e
patch -p0 < libtheora-1.1.1-libpng16.patch
patch -p1 < libtheora-1.1.1-libpng16.patch
patch -p1 < fix-theoraenc.patch
./configure \
--prefix=/usr

View File

@ -1,2 +1,3 @@
40952956c47811928d1e7922cda3bc1f427eb75680c3c37249c91e949054916b
e4c9a8dc798c596ed32a2a720020ae27a0e72f5add1a47cb8fadebe0e7180d7e
a435a75416af642f567e0c90818d59ee186f652d3cde5db619de11b827b612e1
cc0d9d38c06a7f72db354d38e86237e6a9a05616c0a57ada6cf489ac26ae3ffa

View File

@ -0,0 +1,13 @@
diff --git a/lib/Makefile.in b/lib/Makefile.in
index f26ccdc..666f79d 100644
--- a/lib/Makefile.in
+++ b/lib/Makefile.in
@@ -310,7 +310,7 @@ libtheoraenc_la_SOURCES = \
libtheoraenc_la_LDFLAGS = \
-version-info @THENC_LIB_CURRENT@:@THENC_LIB_REVISION@:@THENC_LIB_AGE@ \
- @THEORAENC_LDFLAGS@ $(OGG_LIBS)
+ -ltheoradec @THEORAENC_LDFLAGS@ $(OGG_LIBS)
libtheora_la_SOURCES = \

View File

@ -1,8 +1,8 @@
http://bugs.gentoo.org/465450
http://trac.xiph.org/ticket/1947
--- examples/png2theora.c
+++ examples/png2theora.c
--- a/examples/png2theora.c
+++ b/examples/png2theora.c
@@ -462,9 +462,9 @@
png_set_strip_alpha(png_ptr);

View File

@ -1,2 +1,3 @@
https://downloads.xiph.org/releases/theora/libtheora-VERSION.tar.gz
patches/libtheora-1.1.1-libpng16.patch
patches/fix-theoraenc.patch