Hello community,

here is the log from the commit of package libpt2 for openSUSE:Factory checked 
in at 2012-03-29 14:01:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libpt2 (Old)
 and      /work/SRC/openSUSE:Factory/.libpt2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libpt2", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libpt2/libpt2.changes    2011-09-23 
02:09:17.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libpt2.new/libpt2.changes       2012-03-29 
14:01:13.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Mar 15 21:01:15 UTC 2012 - [email protected]
+
+- Add libpt2-gcc47.patch: Fix build with gcc 4.7.
+
+-------------------------------------------------------------------

New:
----
  libpt2-gcc47.patch

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

Other differences:
------------------
++++++ libpt2.spec ++++++
--- /var/tmp/diff_new_pack.SxJXFW/_old  2012-03-29 14:01:15.000000000 +0200
+++ /var/tmp/diff_new_pack.SxJXFW/_new  2012-03-29 14:01:15.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libpt2
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -24,19 +24,21 @@
 Name:           libpt2
 %define _name   ptlib
 Version:        2.6.7
-Release:        9
+Release:        0
 # FIXME: when upgrading, check if the dc plugin builds with the current 
version of libdc1394
 %define _version 2_6_7
-License:        MPL-1.0
 Summary:        Portable Windows Library from Equivalence Pty. Ltd. version 2
-Url:            http://www.opalvoip.org/
+License:        MPL-1.0
 Group:          System/Libraries
+Url:            http://www.opalvoip.org/
 # https://sourceforge.net/projects/opalvoip
 Source:         %{_name}-%{version}.tar.bz2
 # PATCH-FIX-UPSTREAM %{_name}-pkg_config.patch sf#3041093 
[email protected] -- Put extra libraries in Libs.private and remove 
unneeded cflags
 Patch0:         %{_name}-pkg_config.patch
 # PATCH-FIX-UPSTREAM %{_name}-missing_links.patch sf#3082616 
[email protected] -- Link plugins against main library
 Patch1:         %{name}-2.6.7-missing_links.patch
+# PATCH-FIX-UPSTREAM libpt2-gcc47.patch sf#3505516 [email protected] -- Fix 
build with gcc 4.7
+Patch2:         libpt2-gcc47.patch
 BuildRequires:  SDL-devel
 BuildRequires:  bison
 BuildRequires:  esound-devel
@@ -65,8 +67,6 @@
 
 %package -n libpt%{_version}
 
-
-License:        MPL-1.0
 Summary:        Portable Windows Library from Equivalence Pty. Ltd. version 2
 Group:          System/Libraries
 # This used to be a subpackage
@@ -89,7 +89,6 @@
 Windows and the X Window System.
 
 %package -n libpt-devel
-License:        MPL-1.0
 Summary:        Development files for %{name} (includes headers and scripts)
 Group:          Development/Libraries/C and C++
 Requires:       libpt%{_version} = %{version}
@@ -104,8 +103,6 @@
 
 %package -n libpt%{_version}-plugins-esd
 
-
-License:        MPL-1.0
 Summary:        ESD plugin for %{name}
 Group:          System/Libraries
 Requires:       libpt%{_version} = %{version}
@@ -120,8 +117,6 @@
 
 %package -n libpt%{_version}-plugins-avc
 
-
-License:        MPL-1.0
 Summary:        AVC plugin for %{name}
 Group:          System/Libraries
 Requires:       libpt%{_version} = %{version}
@@ -139,8 +134,6 @@
 
 %package -n libpt%{_version}-plugins-dc
 
-
-License:        MPL-1.0
 Summary:        DC plugin for %{name}
 Group:          System/Libraries
 Requires:       libpt%{_version} = %{version}
@@ -158,8 +151,6 @@
 
 %package -n libpt%{_version}-plugins-v4l
 
-
-License:        MPL-1.0
 Summary:        V4L support for %{name}
 Group:          System/Libraries
 Requires:       libpt%{_version} = %{version}
@@ -174,6 +165,7 @@
 %setup -q -n %{_name}-%{version}
 %patch0
 %patch1
+%patch2 -p1
 
 %build
 %configure \

++++++ libpt2-gcc47.patch ++++++
Index: ptlib-2.6.7/include/ptlib/array.h
===================================================================
--- ptlib-2.6.7.orig/include/ptlib/array.h
+++ ptlib-2.6.7/include/ptlib/array.h
@@ -523,7 +523,7 @@ template <class T> class PScalarArray :
       T t;
       stream >> t;
       if (!stream.fail())
-        SetAt(index, t);
+        this->SetAt(index, t);
     }
 };
 
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to