summaryrefslogtreecommitdiff
path: root/user/libtheora/use-libtool-correctly.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/libtheora/use-libtool-correctly.patch')
-rw-r--r--user/libtheora/use-libtool-correctly.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/libtheora/use-libtool-correctly.patch b/user/libtheora/use-libtool-correctly.patch
new file mode 100644
index 000000000..5b08c2873
--- /dev/null
+++ b/user/libtheora/use-libtool-correctly.patch
@@ -0,0 +1,35 @@
+diff '--color=auto' -Nurd libtheora-1.1.1/configure.ac libtheora-1.1.1.new/configure.ac
+--- libtheora-1.1.1/configure.ac 2009-10-01 11:00:33.000000000 -0700
++++ libtheora-1.1.1.new/configure.ac 2025-06-29 06:45:28.051563120 -0700
+@@ -57,8 +57,8 @@
+ CFLAGS="$cflags_save"
+
+ AM_PROG_CC_C_O
+-AC_LIBTOOL_WIN32_DLL
+-AM_PROG_LIBTOOL
++
++LT_INIT
+
+ dnl Add parameters for aclocal
+ AC_SUBST(ACLOCAL_AMFLAGS, "-I m4")
+@@ -205,8 +205,6 @@
+ AM_CONDITIONAL([CPU_x86_32], [test x$cpu_x86_32 = xyes])
+
+ # Test whenever ld supports -version-script
+-AC_PROG_LD
+-AC_PROG_LD_GNU
+ AC_MSG_CHECKING([how to control symbol export])
+
+ THDEC_VERSION_ARG=""
+diff '--color=auto' -Nurd libtheora-1.1.1/lib/Makefile.am libtheora-1.1.1.new/lib/Makefile.am
+--- libtheora-1.1.1/lib/Makefile.am 2009-09-25 08:20:06.000000000 -0700
++++ libtheora-1.1.1.new/lib/Makefile.am 2025-06-29 07:07:11.315622461 -0700
+@@ -152,7 +152,7 @@
+ Version_script-enc theoraenc.exp
+ libtheoraenc_la_LDFLAGS = \
+ -version-info @THENC_LIB_CURRENT@:@THENC_LIB_REVISION@:@THENC_LIB_AGE@ \
+- @THEORAENC_LDFLAGS@ $(OGG_LIBS)
++ libtheoradec.la $(OGG_LIBS)
+
+ libtheora_la_SOURCES = \
+ $(decoder_sources) \