diff --git a/libzrtpcpp-0.9.0-compiler_warnings.patch b/libzrtpcpp-0.9.0-compiler_warnings.patch new file mode 100644 index 0000000..590eede --- /dev/null +++ b/libzrtpcpp-0.9.0-compiler_warnings.patch @@ -0,0 +1,11 @@ +--- src/ZrtpStateClass.cxx ++++ src/ZrtpStateClass.cxx +@@ -815,7 +815,7 @@ + DEBUGOUT((cout << "Checking for match in SecureState.\n")); + + char *msg, first, last; +- uint8_t *pkt; ++ uint8_t *pkt = NULL; + + if (event->type == ZrtpPacket) { + pkt = event->data.packet; diff --git a/libzrtpcpp.changes b/libzrtpcpp.changes index 0465679..4d253cb 100644 --- a/libzrtpcpp.changes +++ b/libzrtpcpp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 27 14:37:07 CEST 2007 - mskibbe@suse.de + +- fix compiler warnings +- fix changlog date problems + ------------------------------------------------------------------- Fri Mar 2 11:44:38 CET 2007 - mskibbe@suse.de @@ -9,6 +15,6 @@ Thu Feb 15 09:51:45 CET 2007 - mskibbe@suse.de - change package for SuSE ------------------------------------------------------------------- -Sun Oct 15 12:00:00 CET 2007 - cs@linux-administrator.com +Sun Oct 15 12:00:00 CET 2006 - cs@linux-administrator.com - initial package build for SuSE 10.1 diff --git a/libzrtpcpp.spec b/libzrtpcpp.spec index a87f11e..32f497f 100644 --- a/libzrtpcpp.spec +++ b/libzrtpcpp.spec @@ -14,11 +14,12 @@ Summary: a ccrtp extension for zrtp/Zfone support Requires: ccrtp >= 1.5.0 BuildRequires: ccrtp-devel >= 1.5.0 gcc gcc-c++ libgcc libgcrypt-devel libstdc++-devel openssl-devel pkgconfig Version: 0.9.0 -Release: 3 +Release: 6 License: GNU General Public License (GPL), GNU Library General Public License v. 2.0 and 2.1 (LGPL) Group: Development/Libraries/Other URL: http://www.gnu.org/software/commoncpp/commoncpp.html Source0: ftp://ftp.gnu.org/gnu/cccrtp/%{name}-%{version}.tar.bz2 +Patch1: %name-%version-compiler_warnings.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -34,7 +35,7 @@ Group: Development/Libraries/Other Summary: Headers and static link library for libzrtpcpp Requires: %{name} = %{version} Requires: ccrtp-devel >= 1.5.0 -Requires: libgcrypt-devel +Requires: libgcrypt-devel commoncpp2-devel openssl-devel %description devel This package provides the header files, link libraries, and @@ -44,6 +45,7 @@ documentation for building applications that use libzrtpcpp. %prep %setup +%patch1 %build %configure @@ -74,9 +76,12 @@ rm -rf %{buildroot} %postun -p /sbin/ldconfig %changelog -* Mon Oct 15 2007 - cs@linux-administrator.com -- initial package build for SuSE 10.1 +* Tue Mar 27 2007 - mskibbe@suse.de +- fix compiler warnings +- fix changlog date problems * Fri Mar 02 2007 - mskibbe@suse.de - libzrtpcpp-devel has a broken epoch and packaging bugs (#249532) * Thu Feb 15 2007 - mskibbe@suse.de - change package for SuSE +* Sun Oct 15 2006 - cs@linux-administrator.com +- initial package build for SuSE 10.1