From 14045376ee6897f20f6bb9815f246172da748e50 Mon Sep 17 00:00:00 2001
From: petterreinholdtsen <pere@hungry.com>
Date: Tue, 14 Apr 2020 23:55:10 +0200
Subject: [PATCH] Made sure libtheoraenc do not need libtheoradec.

Added info.c to libtheoraenc source and dropped library dependency on libtheoradec.

Addresses issue reported in https://bugs.debian.org/923940 about some symbols being unresolved.
---
 lib/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Makefile.am b/lib/Makefile.am
index dd5f2fa5..a41d8484 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -139,6 +139,7 @@ encoder_sources = \
 	dequant.c \
 	fragment.c \
 	idct.c \
+	info.c \
 	internal.c \
 	state.c \
 	quant.c \
@@ -260,7 +261,6 @@ libtheoraenc_la_LDFLAGS = \
   -version-info @THENC_LIB_CURRENT@:@THENC_LIB_REVISION@:@THENC_LIB_AGE@ \
   @THEORAENC_LDFLAGS@ $(OGG_LIBS) \
   -no-undefined
-libtheoraenc_la_LIBADD = libtheoradec.la
 
 libtheora_la_SOURCES = \
 	$(decoder_sources) \
-- 
GitLab