Bug#693419: libltc: FTBFS on PowerPC due to misnamed member name in LTCFrame struct

2012-11-16 Thread Robin Gareus

On 11/16/2012 10:29 AM, Adam Conrad wrote:
> Package: libltc
> Version: 1.0.3-1
> Severity: serious
> Tags: patch
> User: ubuntu-de...@lists.ubuntu.com
> Usertags: origin-ubuntu raring ubuntu-patch
>  
> The attached patch should be fairly self-evident, I hope.  This
> fixes the FTBFS on PowerPC (and fixes a bug in general on all
> big-endian arches, though some may be failing for other reasons
> as well).
> 
> ... Adam

Applied upstream. Will be part of next release [ETA next week-end].

Thanks,
robin


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#693419: libltc: FTBFS on PowerPC due to misnamed member name in LTCFrame struct

2012-11-16 Thread Adam Conrad
Package: libltc
Version: 1.0.3-1
Severity: serious
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu raring ubuntu-patch


The attached patch should be fairly self-evident, I hope.  This
fixes the FTBFS on PowerPC (and fixes a bug in general on all
big-endian arches, though some may be failing for other reasons
as well).

... Adam

-- System Information:
Debian Release: wheezy/sid
  APT prefers raring-updates
  APT policy: (500, 'raring-updates'), (500, 'raring-security'), (500, 
'raring'), (500, 'quantal-updates')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.5.0-18-generic (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru libltc-1.0.3/debian/patches/big_endian_ftbfs.patch libltc-1.0.3/debian/patches/big_endian_ftbfs.patch
--- libltc-1.0.3/debian/patches/big_endian_ftbfs.patch	1969-12-31 17:00:00.0 -0700
+++ libltc-1.0.3/debian/patches/big_endian_ftbfs.patch	2012-11-16 02:06:16.0 -0700
@@ -0,0 +1,15 @@
+Description: Fix member name in big-endian version of LTCFrame
+Author: Adam Conrad 
+Forwarded: no
+
+--- libltc-1.0.3.orig/src/ltc.h
 libltc-1.0.3/src/ltc.h
+@@ -127,7 +127,7 @@ struct LTCFrame {
+ 	unsigned int frame_units:4;
+ 
+ 	unsigned int user2:4;
+-	unsigned int col_frm:1;
++	unsigned int col_frame:1;
+ 	unsigned int dfbit:1;
+ 	unsigned int frame_tens:2;
+ 
diff -Nru libltc-1.0.3/debian/patches/series libltc-1.0.3/debian/patches/series
--- libltc-1.0.3/debian/patches/series	1969-12-31 17:00:00.0 -0700
+++ libltc-1.0.3/debian/patches/series	2012-11-16 02:05:24.0 -0700
@@ -0,0 +1 @@
+big_endian_ftbfs.patch