Control: tags -1 patch

On Tue, 19 Jan 2016 17:48:35 -0800 Martin Michlmayr <t...@hpe.com> wrote:
> Package: sndobj
> Version: 2.6.6.1-5
> Severity: important
> User: debian-...@lists.debian.org
> Usertags: ftbfs-gcc-6 gcc-6-narrowing
> 
> This package fails to build with GCC 6.  GCC 6 has not been released
> yet, but it's expected that GCC 6 will become the default compiler for
> stretch.

Attached is a patch to fix the error. The package now builds on my amd64
system.

Philip Chung
Description: Change GUID definition to prevent FTBFS with GCC 6
Author: Philip Chung <philipchung1...@yahoo.com>
Bug-Debian: https://bugs.debian.org/811743
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
 src/SndWaveX.h |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

--- SndObj-2.6.6.orig/src/SndWaveX.h
+++ SndObj-2.6.6/src/SndWaveX.h
@@ -66,10 +66,10 @@
 #ifndef WIN
 struct GUID 
 { 
-  int			Data1; 
-  short			Data2; 
-  short			Data3; 
-  unsigned char	Data4[8]; 
+  unsigned int   Data1;
+  unsigned short Data2;
+  unsigned short Data3;
+  unsigned char  Data4[8];
 };
 #endif
 

Reply via email to