Hello community,

here is the log from the commit of package mISDNuser for openSUSE:Factory 
checked in at 2013-06-25 09:29:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mISDNuser (Old)
 and      /work/SRC/openSUSE:Factory/.mISDNuser.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mISDNuser"

Changes:
--------
--- /work/SRC/openSUSE:Factory/mISDNuser/mISDNuser.changes      2012-12-05 
13:59:59.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.mISDNuser.new/mISDNuser.changes 2013-06-25 
14:42:54.000000000 +0200
@@ -1,0 +2,5 @@
+Mon Jun 24 10:02:27 UTC 2013 - [email protected]
+
+- Add 0001-Fix-compile-error-with-newer-gcc-and-a-reaL-BUG.patch
+
+-------------------------------------------------------------------

New:
----
  0001-Fix-compile-error-with-newer-gcc-and-a-reaL-BUG.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mISDNuser.spec ++++++
--- /var/tmp/diff_new_pack.haoFj4/_old  2013-06-25 14:42:54.000000000 +0200
+++ /var/tmp/diff_new_pack.haoFj4/_new  2013-06-25 14:42:54.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package mISDNuser
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -28,6 +28,7 @@
 #Changelog:    http://misdn.org/index.php/MISDN_Release_Notes
 # There seem to be no tarballs. Generated one from git.
 Source:         %name-%version.tar.xz
+Patch1:         0001-Fix-compile-error-with-newer-gcc-and-a-reaL-BUG.patch
 BuildRequires:  autoconf >= 2.63
 BuildRequires:  automake
 BuildRequires:  libtool >= 2
@@ -55,6 +56,7 @@
 
 %prep
 %setup -qn %name
+%patch -P 1 -p1
 
 %build
 if [ ! -e configure ]; then

++++++ 0001-Fix-compile-error-with-newer-gcc-and-a-reaL-BUG.patch ++++++
>From ec4ac2763f737dc9100f9f4f9e91f4d7064a77b2 Mon Sep 17 00:00:00 2001
From: Karsten Keil <[email protected]>
Date: Mon, 20 May 2013 15:16:19 +0200
Subject: [PATCH] Fix compile error with newer gcc (and a reaL BUG)

layer3/q931.c: In function 'mi_encode_hlc':
layer3/q931.c:360:3: error: statement with no effect [-Werror=unused-value]
   ie[1] | 0x80;
   ^
Thanks to Tobias Powalowski pointing to this issue
.
---
 lib/layer3/q931.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/layer3/q931.c b/lib/layer3/q931.c
index 705caf3..75716fe 100644
--- a/lib/layer3/q931.c
+++ b/lib/layer3/q931.c
@@ -357,7 +357,7 @@ mi_encode_hlc(struct l3_msg *l3m, int hlc, int ehlc)
        ie[1] = hlc & 0x7f;
        
        if (ehlc < 0)
-               ie[1] | 0x80;
+               ie[1] |= 0x80;
        else {
                l = 3;
                ie[2] = 0x80 | (ehlc & 0x7f);
-- 
1.8.2

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to