Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libpt2 for openSUSE:Factory checked 
in at 2022-04-10 00:42:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libpt2 (Old)
 and      /work/SRC/openSUSE:Factory/.libpt2.new.1900 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libpt2"

Sun Apr 10 00:42:17 2022 rev:45 rq:968043 version:2.18.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/libpt2/libpt2.changes    2021-06-14 
23:11:36.760807616 +0200
+++ /work/SRC/openSUSE:Factory/.libpt2.new.1900/libpt2.changes  2022-04-10 
00:42:26.160759072 +0200
@@ -1,0 +2,13 @@
+Sat Apr  2 09:47:09 UTC 2022 - Jan Engelhardt <jeng...@inai.de>
+
+- Update to upstream release 2.18.8
+  * No changelog was provided
+- Drop libpt2-bison-3.0.patch, libpt2-gcc5-fixes.patch,
+  libpt2-2.10.11-gcc6.patch, libpt2-openssl11.patch,
+  reproducible.patch (obsolete),
+  ptlib-2.10.11-signed_int_overflow.patch (merged),
+  libpt2-c11-fixes.patch,
+  libpt2-avoid-C-11-deprecation-warning-when-using-g-7.patch .
+- Add libpt2-move.patch .
+
+-------------------------------------------------------------------

Old:
----
  libpt2-2.10.11-gcc6.patch
  libpt2-avoid-C-11-deprecation-warning-when-using-g-7.patch
  libpt2-bison-3.0.patch
  libpt2-c11-fixes.patch
  libpt2-gcc5-fixes.patch
  libpt2-openssl11.patch
  ptlib-2.10.11-signed_int_overflow.patch
  ptlib-2.10.11.tar.xz
  reproducible.patch

New:
----
  libpt2-move.patch
  ptlib-2.18.8.tar.bz2

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

Other differences:
------------------
++++++ libpt2.spec ++++++
--- /var/tmp/diff_new_pack.CIFpON/_old  2022-04-10 00:42:27.572743371 +0200
+++ /var/tmp/diff_new_pack.CIFpON/_new  2022-04-10 00:42:27.576743327 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libpt2
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,39 +23,25 @@
 
 Name:           libpt2
 %define _name   ptlib
-Version:        2.10.11
+Version:        2.18.8
 Release:        0
 # FIXME: when upgrading, check if the dc plugin builds with the current 
version of libdc1394. - Last check: 2.10.9 / 3.12.2012
-%define _version 2_10_11
+%define _version 2_18_8
 Summary:        Portable Windows Library from Equivalence Pty. Ltd. version 2
 License:        MPL-1.0
-Group:          System/Libraries
-Url:            http://www.opalvoip.org/
-# https://sourceforge.net/projects/opalvoip
-Source:         
http://download.gnome.org/sources/ptlib/2.10/%{_name}-%{version}.tar.xz
+Group:          Development/Libraries/C and C++
+#Git-Clone:     https://git.code.sf.net/p/opalvoip/ptlib
+URL:            https://sf.net/projects/opalvoip/
+Source:         https://downloads.sf.net/opalvoip/%{_name}-%{version}.tar.bz2
 # PATCH-MISSING-TAG libpt2-fix-avc-plugin.patch je...@suse.com -- Fix build 
for avc-plugin. 
 Patch1:         libpt2-fix-avc-plugin.patch 
 # PATCH-FIX-UPSTREAM libpt2-aarch64.patch sch...@suse.de -- Add support for 
aarch64
 Patch2:         libpt2-aarch64.patch
 Patch3:         libpt2-ppc64le.patch
-# PATCH-FIX-UPSTREAM libpt2-bison-3.0.patch sf#259 dims...@opensuse.org -- Fix 
build with bison 3.0
-Patch4:         libpt2-bison-3.0.patch
-# PATCH-FIX-OPENSUSE libpt2-gcc5-fixes.patch dmuel...@suse.com -- Fix build 
against GCC 5
-Patch5:         libpt2-gcc5-fixes.patch
-# PATCH-FIX-OPENSUSE libpt2-2.10.11-gcc6.patch dims...@opensuse.org -- Fix 
build against GCC 6
-Patch6:         libpt2-2.10.11-gcc6.patch
 # PATCH-FIX-UPSTREAM missing-decls.patch -- Fix missing declarations
 Patch7:         missing-decls.patch
-# PATCH-FIX-UPSTREAM libpt2-openssl11.patch boo#1055477 mgo...@suse.com -- 
port to OpenSSL 1.1.
-Patch8:         libpt2-openssl11.patch
-Patch9:         reproducible.patch
 Patch10:        libpt2-gnu-make-4.3.patch
-# PATCH-FIX-UPSTREAM ptlib-2.10.11-signed_int_overflow.patch rh#1696458 
fcro...@suse.com -- fix overflow
-Patch11:       ptlib-2.10.11-signed_int_overflow.patch
-# PATCH-FIX-UPSTREAM libpt2-c11-fixes.patch fcro...@suse.com -- Fix warning in 
C++11
-Patch12:       libpt2-c11-fixes.patch
-# PATCH-FIX-UPSTREAM 
libpt2-avoid-C-11-deprecation-warning-when-using-g-7.patch fcro...@suse.com -- 
Fix build with old gcc
-Patch13:       libpt2-avoid-C-11-deprecation-warning-when-using-g-7.patch
+Patch11:        libpt2-move.patch
 BuildRequires:  SDL-devel
 BuildRequires:  alsa-devel
 BuildRequires:  bison
@@ -78,7 +64,6 @@
 BuildRequires:  openldap2-devel
 BuildRequires:  pkg-config
 BuildRequires:  pkgconfig(libpulse)
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 This is a moderately large class library that was created many years
@@ -188,18 +173,11 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
 %patch7 -p1
-%patch8 -p1
-%patch9 -p1
 %if %{pkg_vcmp make >= 4.3}
 %patch10 -p1
 %endif
 %patch11 -p1
-%patch12 -p1
-%patch13 -p1
 
 %build
 export CXXFLAGS="%optflags -fvisibility-inlines-hidden"
@@ -214,11 +192,11 @@
 %if %{build_avc}
        --enable-avc \
 %endif
-        --enable-ipv6
-make %{?_smp_mflags} V=1
+        --enable-ipv6 --enable-cpp17
+%make_build CPU="" OS="" DSYMUTIL=/bin/true
 
 %install
-%makeinstall
+%make_install CPU="" OS=""
 rm -f %{buildroot}%{_libdir}/libpt_s.a
 
 %post -n libpt%{_version} -p /sbin/ldconfig
@@ -226,55 +204,44 @@
 %postun -n libpt%{_version} -p /sbin/ldconfig
 
 %files -n libpt%{_version}
-%defattr(-,root,root)
 %doc mpl-1.0.htm History.txt
 %{_libdir}/libpt.so.2*
 # We explicitly list the plugins that are shipped by default to make sure we
 # don't lose any without noticing it
 %dir %{_libdir}/%{_name}-%{version}
-%dir %{_libdir}/%{_name}-%{version}/devices
-%dir %{_libdir}/%{_name}-%{version}/devices/sound
-%dir %{_libdir}/%{_name}-%{version}/devices/videoinput
-%{_libdir}/%{_name}-%{version}/devices/sound/alsa_pwplugin.so
-%{_libdir}/%{_name}-%{version}/devices/sound/oss_pwplugin.so
-%{_libdir}/%{_name}-%{version}/devices/videoinput/v4l2_pwplugin.so
+%dir %{_libdir}/%{_name}-%{version}/device
+%dir %{_libdir}/%{_name}-%{version}/device/sound
+%dir %{_libdir}/%{_name}-%{version}/device/videoinput
+%{_libdir}/%{_name}-%{version}/device/sound/alsa_ptplugin.so
+%{_libdir}/%{_name}-%{version}/device/sound/oss_ptplugin.so
+%{_libdir}/%{_name}-%{version}/device/videoinput/v4l2_ptplugin.so
 
 %files -n libpt-devel
-%defattr(0644,root,root,0755)
-%doc ReadMe.txt ReadMe_QOS.txt
+%doc ReadMe.txt
 %{_datadir}/ptlib/
-%attr(0755, root, root) %{_datadir}/ptlib/make/ptlib-config
-%{_includedir}/ptbuildopts.h
-%{_includedir}/ptlib.h
-%{_includedir}/ptlib/
-%{_includedir}/ptclib/
-%{_bindir}/ptlib-config
+%{_includedir}/pt*
 %{_libdir}/libpt.so
 %{_libdir}/pkgconfig/ptlib.pc
 
 %if %{build_avc}
 
 %files -n libpt%{_version}-plugins-avc
-%defattr(-,root,root)
-%{_libdir}/%{_name}-%{version}/devices/videoinput/avc_pwplugin.so
+%{_libdir}/%{_name}-%{version}/device/videoinput/avc_ptplugin.so
 %endif
 
 %if %{build_dc}
 
 %files -n libpt%{_version}-plugins-dc
-%defattr(-,root,root)
-%{_libdir}/%{_name}-%{version}/devices/videoinput/dc_pwplugin.so
+%{_libdir}/%{_name}-%{version}/device/videoinput/dc_ptplugin.so
 %endif
 
 %if %{build_v4l}
 
 %files -n libpt%{_version}-plugins-v4l
-%defattr(-,root,root)
-%{_libdir}/%{_name}-%{version}/devices/videoinput/v4l_pwplugin.so
+%{_libdir}/%{_name}-%{version}/device/videoinput/v4l_ptplugin.so
 %endif
 
 %files -n libpt%{_version}-plugins-pulse
-%defattr(-,root,root)
-%{_libdir}/%{_name}-%{version}/devices/sound/pulse_pwplugin.so
+%{_libdir}/%{_name}-%{version}/device/sound/pulse_ptplugin.so
 
 %changelog

++++++ libpt2-aarch64.patch ++++++
--- /var/tmp/diff_new_pack.CIFpON/_old  2022-04-10 00:42:27.600743060 +0200
+++ /var/tmp/diff_new_pack.CIFpON/_new  2022-04-10 00:42:27.604743015 +0200
@@ -1,10 +1,15 @@
-Index: ptlib-2.10.10/configure
+---
+ configure    |    6 ++++++
+ configure.ac |    6 ++++++
+ 2 files changed, 12 insertions(+)
+
+Index: ptlib-2.18.8/configure
 ===================================================================
---- ptlib-2.10.10.orig/configure
-+++ ptlib-2.10.10/configure
-@@ -4670,6 +4670,12 @@ rm -f core conftest.err conftest.$ac_obj
-       MACHTYPE=s390
-       ;;
+--- ptlib-2.18.8.orig/configure
++++ ptlib-2.18.8/configure
+@@ -7041,6 +7041,12 @@ fi
+       LIBS="-lwinmm -lwsock32 -lws2_32 -lsnmpapi -lmpr -lcomdlg32 -lgdi32 
-lavicap32 -liphlpapi -lole32 -lquartz $LIBS"
+    ;;
  
 +   aarch64)
 +      MACHTYPE=aarch64
@@ -13,15 +18,15 @@
 +      ;;
 +
     * )
-       MACHTYPE=$target_cpu
-       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"CPU $target_cpu not 
recognized - proceed with caution!\"" >&5
-Index: ptlib-2.10.10/configure.ac
+       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Operating system 
$target_os not recognized - proceed with caution!" >&5
+ printf "%s\n" "$as_me: WARNING: Operating system $target_os not recognized - 
proceed with caution!" >&2;}
+Index: ptlib-2.18.8/configure.ac
 ===================================================================
---- ptlib-2.10.10.orig/configure.ac
-+++ ptlib-2.10.10/configure.ac
-@@ -345,6 +345,12 @@ case "$target_cpu" in
-       MACHTYPE=s390
-       ;;
+--- ptlib-2.18.8.orig/configure.ac
++++ ptlib-2.18.8/configure.ac
+@@ -172,6 +172,12 @@ case "$target_os" in
+       OS_TAG="P_MINGW"
+    ;;
  
 +   aarch64)
 +      MACHTYPE=aarch64
@@ -30,6 +35,6 @@
 +      ;;
 +
     * )
-       MACHTYPE=$target_cpu
-       AC_MSG_WARN("CPU $target_cpu not recognized - proceed with caution!")
+       OS_TAG="P_TARGET_OS"
+ esac
 

++++++ libpt2-fix-avc-plugin.patch ++++++
--- /var/tmp/diff_new_pack.CIFpON/_old  2022-04-10 00:42:27.612742926 +0200
+++ /var/tmp/diff_new_pack.CIFpON/_new  2022-04-10 00:42:27.616742882 +0200
@@ -5,83 +5,54 @@
 
 Signed-off-by: Jeff Mahoney <je...@suse.com>
 ---
- plugins/vidinput_avc/vidinput_avc.cxx |   20 +++++++++++++-------
- plugins/vidinput_avc/vidinput_avc.h   |    7 ++++++-
- 2 files changed, 19 insertions(+), 8 deletions(-)
+ plugins/vidinput_avc/vidinput_avc.cxx |   15 ++++++++++++++-
+ 1 file changed, 14 insertions(+), 1 deletion(-)
 
---- a/plugins/vidinput_avc/vidinput_avc.cxx
-+++ b/plugins/vidinput_avc/vidinput_avc.cxx
-@@ -163,7 +163,8 @@ PBoolean PVideoInputDevice_1394AVC::Star
-   if (!IsOpen()) return PFalse;
-   if (IsCapturing()) return PTrue;
-   
--  if (raw1394_set_iso_handler(handle, 63, &RawISOHandler)!= NULL) {
-+  if (raw1394_iso_recv_init(handle, &RAWISOHandler, 2048, RAW_BUFFER_SIZE, 63,
-+                          RAW1394_DMA_BUFFERFILL, -1)) {
-     PTRACE (3, "Cannot set_iso_handler");
-     return PFalse;
+Index: ptlib-2.18.8/plugins/vidinput_avc/vidinput_avc.cxx
+===================================================================
+--- ptlib-2.18.8.orig/plugins/vidinput_avc/vidinput_avc.cxx
++++ ptlib-2.18.8/plugins/vidinput_avc/vidinput_avc.cxx
+@@ -135,6 +135,12 @@ PBoolean PVideoInputDevice_1394AVC::Open
+     return false;
    }
-@@ -371,14 +372,15 @@ PBoolean PVideoInputDevice_1394AVC::GetF
-   BYTE * capture_buffer_end = capture_buffer;
    
-   // this starts the bytes' rain
--  if (raw1394_start_iso_rcv(handle, 63) < 0) {
-+  if (raw1394_iso_recv_start(handle, -1, 0, 0) < 0) {
-     PTRACE(3, "Cannot receive data on channel 63");
-     return PFalse;
-   }
-   // calling the raw1394 event manager, to get a frame:
-   while(!frame_complete) {
-     raw1394_loop_iterate(handle);
--    if (*(uint32_t *)raw_buffer >= 492) {
-+    uint32_t *lenp = (uint32_t *)raw_buffer;
-+    if (*lenp >= 492) {
-       if (!found_first_frame) {
-         if (raw_buffer[16] == 0x1f && raw_buffer[17] == 0x07)
-           found_first_frame = PTrue;
-@@ -415,7 +417,7 @@ PBoolean PVideoInputDevice_1394AVC::GetF
-     }
-   }
-   // stops the bytes from coming at us!
--  raw1394_stop_iso_rcv(handle, 63);
-+  raw1394_iso_stop(handle);
++  auto &frameWidth = m_frameWidth;
++  auto &frameHeight = m_frameHeight;
++  auto &colourFormat = m_colourFormat;
++  auto &channelNumber = m_channelNumber;
++  auto &videoFormat = m_videoFormat;
++  auto &deviceName = m_deviceName;
+   frameWidth = CIFWidth;
+   frameHeight = CIFHeight;
+   colourFormat = "RGB24";
+@@ -401,6 +407,9 @@ bool PVideoInputDevice_1394AVC::Internal
+   dv_decode_full_frame(dv, capture_buffer, color_space, pixels, pitches);
    
-   dv_decoder_t *dv;
-   dv = dv_decoder_new(PTrue, PFalse, PFalse);
-@@ -500,12 +502,16 @@ PBoolean PVideoInputDevice_1394AVC::SetF
- }
+   // FIXME: this is a manual resize ; the original author wondered about it
++  auto &frameWidth = m_frameWidth;
++  auto &frameHeight = m_frameHeight;
++  auto &converter = m_converter;
+   float xRatio = dv->width / (float)frameWidth;
+   float yRatio = dv->height/ (float)frameHeight;
+   for(uint y = 0; y < frameHeight; y++)
+@@ -437,7 +446,7 @@ PBoolean PVideoInputDevice_1394AVC::Test
  
- 
--int RawISOHandler (raw1394handle_t handle, int channel, size_t length, 
u_int32_t * data)
-+enum raw1394_iso_disposition
-+RAWISOHandler(raw1394handle_t handle, unsigned char *data, unsigned int 
length,
-+            unsigned char channel, unsigned char tag, unsigned char sy,
-+            unsigned int cycle, unsigned int dropped)
+ PBoolean PVideoInputDevice_1394AVC::SetColourFormat(const PString & newFormat)
  {
-   if (length < RAW_BUFFER_SIZE) {
--    *(u_int32_t *) raw_buffer = length;
-+    uint32_t *lenp = (uint32_t *)raw_buffer;
-+    *lenp = length;
-     memcpy (raw_buffer + 4, data, length);
-   }
--  return 0;
-+  return RAW1394_ISO_OK;
+-  return newFormat == colourFormat;
++  return newFormat == m_colourFormat;
  }
- // End Of File ///////////////////////////////////////////////////////////////
---- a/plugins/vidinput_avc/vidinput_avc.h
-+++ b/plugins/vidinput_avc/vidinput_avc.h
-@@ -224,7 +224,12 @@ class PVideoInputDevice_1394AVC : public
-     PBoolean SetupHandle();
- };
- 
--int RawISOHandler (raw1394handle_t handle, int channel, size_t length, 
u_int32_t * data);
-+extern "C" {
-+enum raw1394_iso_disposition
-+RAWISOHandler(raw1394handle_t handle, unsigned char *data, unsigned int lenth,
-+            unsigned char channel, unsigned char tag, unsigned char sy,
-+            unsigned int cycle, unsigned int dropped);
-+};
  
- #endif
+ PBoolean PVideoInputDevice_1394AVC::SetFrameSize(unsigned width, unsigned 
height)
+@@ -445,6 +454,10 @@ PBoolean PVideoInputDevice_1394AVC::SetF
+   if ( ! ( (width == CIFWidth && height == CIFHeight) ) )
+     return false;
  
++  auto &frameWidth = m_frameWidth;
++  auto &frameHeight = m_frameHeight;
++  auto &colourFormat = m_colourFormat;
++  auto &nativeVerticalFlip = m_nativeVerticalFlip;
+   frameWidth = width;
+   frameHeight = height;
+   colourFormat = "RGB24";
 

++++++ libpt2-gnu-make-4.3.patch ++++++
--- /var/tmp/diff_new_pack.CIFpON/_old  2022-04-10 00:42:27.624742793 +0200
+++ /var/tmp/diff_new_pack.CIFpON/_new  2022-04-10 00:42:27.628742749 +0200
@@ -1,10 +1,14 @@
-Index: ptlib-2.10.11/make/common.mak
+---
+ make/post.mak |   10 +++++-----
+ 1 file changed, 5 insertions(+), 5 deletions(-)
+
+Index: ptlib-2.18.8/make/post.mak
 ===================================================================
---- ptlib-2.10.11.orig/make/common.mak
-+++ ptlib-2.10.11/make/common.mak
-@@ -370,20 +370,20 @@ ifdef VERSION_FILE
- # If not specified, find the various version components in the VERSION_FILE
+--- ptlib-2.18.8.orig/make/post.mak
++++ ptlib-2.18.8/make/post.mak
+@@ -458,27 +458,27 @@ ifdef VERSION_FILE
  
+   # If not specified, find the various version components in the VERSION_FILE
    ifndef MAJOR_VERSION
 -    MAJOR_VERSION:=$(strip $(subst \#define,, $(subst 
$(MAJOR_VERSION_DEFINE),,\
 +    MAJOR_VERSION:=$(strip $(subst #define,, $(subst 
$(MAJOR_VERSION_DEFINE),,\
@@ -15,16 +19,24 @@
 +    MINOR_VERSION:=$(strip $(subst #define,, $(subst 
$(MINOR_VERSION_DEFINE),,\
                     $(shell grep "define *$(MINOR_VERSION_DEFINE)" 
$(VERSION_FILE)))))
    endif
+   ifndef CODE_STATUS
+     # For historical reasons there is ab it of confusion between CODE_STATUS 
and BUILD_TYPE
+-    CODE_STATUS:=$(strip $(subst \#define,,$(subst BUILD_TYPE,,\
++    CODE_STATUS:=$(strip $(subst #define,,$(subst BUILD_TYPE,,\
+                  $(shell grep "define *BUILD_TYPE" $(VERSION_FILE)))))
+   endif
    ifndef BUILD_TYPE
--    BUILD_TYPE:=$(strip $(subst \#define,,$(subst BUILD_TYPE,,\
-+    BUILD_TYPE:=$(strip $(subst #define,,$(subst BUILD_TYPE,,\
-                 $(subst AlphaCode,alpha,$(subst BetaCode,beta,$(subst 
ReleaseCode,.,\
-                 $(shell grep "define *BUILD_TYPE" $(VERSION_FILE))))))))
-   endif
-   ifndef BUILD_NUMBER
--    BUILD_NUMBER:=$(strip $(subst \#define,,$(subst $(BUILD_NUMBER_DEFINE),,\
-+    BUILD_NUMBER:=$(strip $(subst #define,,$(subst $(BUILD_NUMBER_DEFINE),,\
-                   $(shell grep "define *$(BUILD_NUMBER_DEFINE)" 
$(VERSION_FILE)))))
+     BUILD_TYPE:=$(subst AlphaCode,alpha,$(subst BetaCode,beta,$(subst 
ReleaseCode,.,$(CODE_STATUS))))
+   endif
+   ifndef PATCH_VERSION
+-    PATCH_VERSION:=$(strip $(subst \#define,,$(subst 
$(PATCH_VERSION_DEFINE),,\
++    PATCH_VERSION:=$(strip $(subst #define,,$(subst $(PATCH_VERSION_DEFINE),,\
+                    $(shell grep "define *$(PATCH_VERSION_DEFINE)" 
$(VERSION_FILE)))))
+   endif
+   ifndef OEM_VERSION
+-    OEM_VERSION:=$(strip $(subst \#define,,$(subst $(OEM_VERSION_DEFINE),,\
++    OEM_VERSION:=$(strip $(subst #define,,$(subst $(OEM_VERSION_DEFINE),,\
+                   $(shell grep "define *$(OEM_VERSION_DEFINE)" 
$(VERSION_FILE)))))
    endif
  
 

++++++ libpt2-move.patch ++++++
From: Jan Engelhardt <jeng...@inai.de>
Date: 2022-04-02 13:01:22.046234056 +0200

Add missing functions in the 'else' part of a if..endif block
differentiating between C++ version.

opal makes use of this by way of ptlib's threadpool.h's PSafeWorkArg2.

---
 include/ptlib/object.h |    2 ++
 1 file changed, 2 insertions(+)

Index: ptlib-2.18.8/include/ptlib/object.h
===================================================================
--- ptlib-2.18.8.orig/include/ptlib/object.h
+++ ptlib-2.18.8/include/ptlib/object.h
@@ -109,6 +109,8 @@ using namespace std; // Not a good pract
     public:
       PAutoPtr() = default;
       explicit PAutoPtr(T * p) : std::unique_ptr<T>(p) { }
+      PAutoPtr(PAutoPtr &other) : std::unique_ptr<T>(std::move(other)) {}
+      PAutoPtr(PAutoPtr &&other) : std::unique_ptr<T>(std::move(other)) {}
       void transfer(PAutoPtr & other) { 
std::unique_ptr<T>::operator=(std::move(other)); }
   };
 #endif

++++++ libpt2-ppc64le.patch ++++++
--- /var/tmp/diff_new_pack.CIFpON/_old  2022-04-10 00:42:27.648742526 +0200
+++ /var/tmp/diff_new_pack.CIFpON/_new  2022-04-10 00:42:27.648742526 +0200
@@ -1,6 +1,13 @@
---- a/configure
-+++ b/configure
-@@ -4676,6 +4676,12 @@
+---
+ configure    |    6 ++++++
+ configure.ac |    6 ++++++
+ 2 files changed, 12 insertions(+)
+
+Index: ptlib-2.18.8/configure
+===================================================================
+--- ptlib-2.18.8.orig/configure
++++ ptlib-2.18.8/configure
+@@ -7047,6 +7047,12 @@ fi
          LIB64=1
        ;;
  
@@ -11,11 +18,13 @@
 +      ;;
 +
     * )
-       MACHTYPE=$target_cpu
-       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"CPU $target_cpu not 
recognized - proceed with caution!\"" >&5
---- a/configure.ac
-+++ b/configure.ac
-@@ -351,6 +351,12 @@
+       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Operating system 
$target_os not recognized - proceed with caution!" >&5
+ printf "%s\n" "$as_me: WARNING: Operating system $target_os not recognized - 
proceed with caution!" >&2;}
+Index: ptlib-2.18.8/configure.ac
+===================================================================
+--- ptlib-2.18.8.orig/configure.ac
++++ ptlib-2.18.8/configure.ac
+@@ -178,6 +178,12 @@ case "$target_os" in
          LIB64=1
        ;;
  
@@ -26,6 +35,6 @@
 +      ;;
 +
     * )
-       MACHTYPE=$target_cpu
-       AC_MSG_WARN("CPU $target_cpu not recognized - proceed with caution!")
+       OS_TAG="P_TARGET_OS"
+ esac
 

++++++ missing-decls.patch ++++++
--- /var/tmp/diff_new_pack.CIFpON/_old  2022-04-10 00:42:27.660742392 +0200
+++ /var/tmp/diff_new_pack.CIFpON/_new  2022-04-10 00:42:27.664742348 +0200
@@ -1,13 +1,17 @@
-Index: ptlib-2.10.11/src/ptlib/unix/channel.cxx
+---
+ src/ptlib/unix/channel.cxx |    1 +
+ 1 file changed, 1 insertion(+)
+
+Index: ptlib-2.18.8/src/ptlib/unix/channel.cxx
 ===================================================================
---- ptlib-2.10.11.orig/src/ptlib/unix/channel.cxx
-+++ ptlib-2.10.11/src/ptlib/unix/channel.cxx
-@@ -36,6 +36,7 @@
+--- ptlib-2.18.8.orig/src/ptlib/unix/channel.cxx
++++ ptlib-2.18.8/src/ptlib/unix/channel.cxx
+@@ -32,6 +32,7 @@
  
  #include <ptlib.h>
  #include <sys/ioctl.h>
 +#include <sys/uio.h>
  
- 
- #include "../common/pchannel.cxx"
+ #if defined(P_SOLARIS)
+   #include <sys/filio.h>
 

++++++ ptlib-2.10.11.tar.xz -> ptlib-2.18.8.tar.bz2 ++++++
++++ 1089880 lines of diff (skipped)

Reply via email to