zvbi/06_sizeof-FTBFS.patch
Martin Pluskal a44fd73525 - Use patches from debian:
* 00_fix-configure.in.patch
  * 01_Makefile.am.patch
  * 03_fails-to-write.patch
  * 05_MAXPATHLEN.patch
  * 06_sizeof-FTBFS.patch
  * 07_fix-spelling-in-binaries.patch
  * 08_fix-manpage.patch
  * 09_fix-FTBFS-GCC6.patch
- Drop zvbi-automake-1.13.patch

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/zvbi?expand=0&rev=19
2017-12-06 08:48:56 +00:00

18 lines
645 B
Diff

Description: Fix and FTBFS on ia64, s390x, alpha, and ppc64.
Author: Jackson Doak <noskcaj@ubuntu.com>
Bug-Debian: http://bugs.debian.org/726186
Last-Update: 2013-10-15
Index: zvbi-0.2.35/test/test-packet-830.cc
===================================================================
--- zvbi-0.2.35.orig/test/test-packet-830.cc
+++ zvbi-0.2.35/test/test-packet-830.cc
@@ -115,7 +115,7 @@ assert_decode_teletext_8301_cni (unsigne
unsigned int cni2;
memcpy (buffer2, buffer, sizeof (buffer2));
- memset_rand (cni, sizeof (cni));
+ memset_rand (cni, sizeof(*cni));
cni2 = *cni;
assert (TRUE == vbi_decode_teletext_8301_cni (cni, buffer));