Package: dvbstreamer
Followup-For: Bug #1066608
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu noble ubuntu-patch
Control: tags -1 patch

Please find attached a patch for this issue which has been uploaded to
Ubuntu.  In addition to the missing declaration of UTF8_nextchar(), this
fixes a typo which would cause one of the plugins to build, but have
unresolvable symbol references.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru dvbstreamer-2.1.0/debian/patches/no-implicit-declarations.patch 
dvbstreamer-2.1.0/debian/patches/no-implicit-declarations.patch
--- dvbstreamer-2.1.0/debian/patches/no-implicit-declarations.patch     
1969-12-31 16:00:00.000000000 -0800
+++ dvbstreamer-2.1.0/debian/patches/no-implicit-declarations.patch     
2024-04-09 17:01:35.000000000 -0700
@@ -0,0 +1,38 @@
+Description: fix missing declaration of UTF8_nextchar() and typo
+Author: Steve Langasek <steve.langa...@canonical.com>
+Bug-Debian: https://bugs.debian.org/1066608
+Last-Update: 2024-04-09
+Forwarded: no
+
+Index: dvbstreamer-2.1.0/src/standard/dvb/sdtprocessor.c
+===================================================================
+--- dvbstreamer-2.1.0.orig/src/standard/dvb/sdtprocessor.c
++++ dvbstreamer-2.1.0/src/standard/dvb/sdtprocessor.c
+@@ -46,6 +46,7 @@
+ #include "sdtprocessor.h"
+ #include "dvbtext.h"
+ #include "standard/dvb.h"
++#include "utf8.h"
+ 
+ 
/*******************************************************************************
+ * Defines                                                                     
 *
+Index: dvbstreamer-2.1.0/src/plugins/cam.c
+===================================================================
+--- dvbstreamer-2.1.0.orig/src/plugins/cam.c
++++ dvbstreamer-2.1.0/src/plugins/cam.c
+@@ -97,7 +97,7 @@
+     
+     if (pmt->i_program_number == service->id)
+     {
+-        needs_decrypting = PMTDoesNeedDecypting(pmt);
++        needs_decrypting = PMTDoesNeedDecrypting(pmt);
+         
+         if (currentPMT)
+         {
+@@ -197,4 +197,4 @@
+     }
+ 
+     return false;
+-}
+\ No newline at end of file
++}
diff -Nru dvbstreamer-2.1.0/debian/patches/series 
dvbstreamer-2.1.0/debian/patches/series
--- dvbstreamer-2.1.0/debian/patches/series     2021-10-16 01:37:38.000000000 
-0700
+++ dvbstreamer-2.1.0/debian/patches/series     2024-04-09 17:00:23.000000000 
-0700
@@ -16,3 +16,4 @@
 
 ## does not apply, needs some care
 #svn_819.diff
+no-implicit-declarations.patch

Reply via email to