Hello community,

here is the log from the commit of package libosmo-abis for openSUSE:Factory 
checked in at 2015-04-07 09:29:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libosmo-abis (Old)
 and      /work/SRC/openSUSE:Factory/.libosmo-abis.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libosmo-abis"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libosmo-abis/libosmo-abis.changes        
2015-03-09 10:08:32.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libosmo-abis.new/libosmo-abis.changes   
2015-04-07 09:29:29.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Apr  2 12:29:23 UTC 2015 - [email protected]
+
+- Add 0001-build-resolve-compiler-warnings.patch
+
+-------------------------------------------------------------------

New:
----
  0001-build-resolve-compiler-warnings.patch

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

Other differences:
------------------
++++++ libosmo-abis.spec ++++++
--- /var/tmp/diff_new_pack.2n9O8t/_old  2015-04-07 09:29:29.000000000 +0200
+++ /var/tmp/diff_new_pack.2n9O8t/_new  2015-04-07 09:29:29.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libosmo-abis
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX 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 @@
 #Snapshot:     0.3.1
 Source:         %name-%version.tar.xz
 Patch1:         osmo-talloc.diff
+Patch2:         0001-build-resolve-compiler-warnings.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf
 BuildRequires:  automake >= 1.6
@@ -98,7 +99,7 @@
 
 %prep
 %setup -qn %name
-%patch -P 1 -p1
+%patch -P 1 -P 2 -p1
 
 %build
 echo "%version" >.tarball-version

++++++ 0001-build-resolve-compiler-warnings.patch ++++++
>From 025e2dd7129483300efe8dd02f8e1198c92aaad5 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <[email protected]>
Date: Thu, 2 Apr 2015 14:25:43 +0200
Subject: [PATCH] build: resolve compiler warnings

gcc:
trau/osmo_ortp.c: In function 'osmo_rtp_socket_create':
trau/osmo_ortp.c:329:8: warning: passing argument 4 of
"rtp_session_signal_connect" makes pointer from integer without
a cast [enabled by default]
        (unsigned long) rs);
In file included from /usr/include/ortp/ortp.h:68:0,
                 from trau/osmo_ortp.c:35:
/usr/include/ortp/rtpsession.h:417:17: note: expected "void *"
but argument is of type "long unsigned int"
 ORTP_PUBLIC int rtp_session_signal_connect(RtpSession *session,
 const char *signal_name, RtpCallback cb, void *user_data);

rpmlint:
E: libosmo-abis 64bit-portability-issue trau/osmo_ortp.c:329, 332, 335, 338
---
 src/trau/osmo_ortp.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/trau/osmo_ortp.c b/src/trau/osmo_ortp.c
index fedc977..55fce87 100644
--- a/src/trau/osmo_ortp.c
+++ b/src/trau/osmo_ortp.c
@@ -326,16 +326,16 @@ struct osmo_rtp_socket *osmo_rtp_socket_create(void 
*talloc_ctx, unsigned int fl
 
        rtp_session_signal_connect(rs->sess, "ssrc_changed",
                                   (RtpCallback) ortp_sig_cb_ssrc,
-                                  (unsigned long) rs);
+                                  rs);
        rtp_session_signal_connect(rs->sess, "payload_type_changed",
                                   (RtpCallback) ortp_sig_cb_pt,
-                                  (unsigned long) rs);
+                                  rs);
        rtp_session_signal_connect(rs->sess, "network_error",
                                   (RtpCallback) ortp_sig_cb_net,
-                                  (unsigned long) rs);
+                                  rs);
        rtp_session_signal_connect(rs->sess, "timestamp_jump",
                                   (RtpCallback) ortp_sig_cb_ts,
-                                  (unsigned long) rs);
+                                  rs);
 
        /* initialize according to the RFC */
        rtp_session_set_seq_number(rs->sess, random());
-- 
2.1.4


Reply via email to