rpms/libnemesi/devel libnemesi-ppc64.patch, NONE, 1.1 libnemesi.spec, 1.5, 1.6

Dominik Mierzejewski (rathann) fedora-extras-commits at redhat.com
Thu Feb 21 19:28:05 UTC 2008


Author: rathann

Update of /cvs/pkgs/rpms/libnemesi/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8733

Modified Files:
	libnemesi.spec 
Added Files:
	libnemesi-ppc64.patch 
Log Message:
- work around linking problem on ppc64 (bug #433845)


libnemesi-ppc64.patch:

--- NEW FILE libnemesi-ppc64.patch ---
diff -up libnemesi-0.6.4-rc2/rtsp/rtsp.c.ppc64 libnemesi-0.6.4-rc2/rtsp/rtsp.c
--- libnemesi-0.6.4-rc2/rtsp/rtsp.c.ppc64	2007-12-26 13:47:01.000000000 +0100
+++ libnemesi-0.6.4-rc2/rtsp/rtsp.c	2008-02-21 20:19:19.000000000 +0100
@@ -256,7 +256,7 @@ RTSP_Error rtsp_wait(rtsp_ctrl * rtsp_ct
  * @param rtsp_ctl The RTSP controller for which to get the RTP sessions queue
  * @return The RTP session queue
  */
-inline rtp_session *rtsp_get_rtp_queue(rtsp_ctrl * rtsp_ctl)
+rtp_session *rtsp_get_rtp_queue(rtsp_ctrl * rtsp_ctl)
 {
     return ((rtsp_thread *) rtsp_ctl)->rtp_th->rtp_sess_head;
 }
@@ -266,7 +266,7 @@ inline rtp_session *rtsp_get_rtp_queue(r
  * @param rtsp_ctl The RTSP controller for which to get the RTP thread
  * @return The RTP thread
  */
-inline rtp_thread *rtsp_get_rtp_th(rtsp_ctrl * rtsp_ctl)
+rtp_thread *rtsp_get_rtp_th(rtsp_ctrl * rtsp_ctl)
 {
     return ((rtsp_thread *) rtsp_ctl)->rtp_th;
 }
diff -up libnemesi-0.6.4-rc2/include/rtsp.h.ppc64 libnemesi-0.6.4-rc2/include/rtsp.h
--- libnemesi-0.6.4-rc2/include/rtsp.h.ppc64	2007-12-26 13:47:01.000000000 +0100
+++ libnemesi-0.6.4-rc2/include/rtsp.h	2008-02-21 20:18:53.000000000 +0100
@@ -186,8 +186,8 @@ int rtsp_uninit(rtsp_ctrl *);
 #define rtsp_status(ctrl) ctrl->status
 void rtsp_info_print(rtsp_ctrl *);
 
-inline rtp_thread *rtsp_get_rtp_th(rtsp_ctrl * rtsp_ctl);
-inline rtp_session *rtsp_get_rtp_queue(rtsp_ctrl * rtsp_ctl);
+rtp_thread *rtsp_get_rtp_th(rtsp_ctrl * rtsp_ctl);
+rtp_session *rtsp_get_rtp_queue(rtsp_ctrl * rtsp_ctl);
 
 /**
  * @}


Index: libnemesi.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libnemesi/devel/libnemesi.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- libnemesi.spec	19 Feb 2008 20:45:09 -0000	1.5
+++ libnemesi.spec	21 Feb 2008 19:27:32 -0000	1.6
@@ -4,7 +4,7 @@
 Summary: RTSP/RTP client library
 Name: libnemesi
 Version: 0.6.4
-Release: 0.2.rc2%{?git:.%{rev}git}%{?dist}
+Release: 0.3.rc2%{?git:.%{rev}git}%{?dist}
 License: LGPLv2+
 Group: Development/Libraries
 %if %{?git:1}0
@@ -13,6 +13,7 @@
 %else
 Source: http://live.polito.it/files/downloads/netembryo/%{name}-%{version}-rc2.tar.bz2
 %endif
+Patch0: %{name}-ppc64.patch
 URL: http://live.polito.it/documentation/libnemesi
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: lksctp-tools-devel
@@ -60,6 +61,9 @@
 
 %prep
 %setup -q %{?git:-n %{name}.git} -n %{name}-%{version}-rc2
+%ifarch ppc64
+%patch0 -p1 -b .ppc64
+%endif
 
 %build
 %{?git:autoreconf -i}
@@ -105,6 +109,9 @@
 %{_bindir}/nemesi_loop_stream
 
 %changelog
+* Thu Feb 21 2008 Dominik Mierzejewski <rpm at greysector.net> 0.6.4-0.3.rc2
+- work around linking problem on ppc64 (bug #433845)
+
 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.6.4-0.2.rc2
 - Autorebuild for GCC 4.3
 




More information about the fedora-extras-commits mailing list