Hello community,

here is the log from the commit of package libtorrent-rasterbar for 
openSUSE:Factory checked in at 2016-04-28 16:56:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libtorrent-rasterbar (Old)
 and      /work/SRC/openSUSE:Factory/.libtorrent-rasterbar.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libtorrent-rasterbar"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/libtorrent-rasterbar/libtorrent-rasterbar.changes    
    2016-03-04 19:30:35.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.libtorrent-rasterbar.new/libtorrent-rasterbar.changes
   2016-04-28 17:00:03.000000000 +0200
@@ -1,0 +2,20 @@
+Fri Apr 15 16:26:36 UTC 2016 - r...@fthiessen.de
+
+- Added fix-sse-only-on-x86.patch to fix build on
+  non x86 architectures.
+
+-------------------------------------------------------------------
+Thu Apr 14 21:18:50 UTC 2016 - r...@fthiessen.de
+
+- Update to 1.1.0:
+  * fix duplicate ACK issue in uTP
+  * experimental support for BEP 38, "mutable torrents"
+  * replaced lazy_bdecode with a new bdecoder that's a lot more efficient
+  * General speed improvements.
+  * support SSL over uTP connections
+  * Removed built-in GeoIP support (this functionality is orthogonal to 
libtorrent)
+  * General better multithreading support.
+  * Added support for hashing pieces in multiple threads
+  * Fix division by zero in super-seeding logic
+
+-------------------------------------------------------------------

Old:
----
  libtorrent-rasterbar-1.0.9.tar.gz

New:
----
  fix-sse-only-on-x86.patch
  libtorrent-rasterbar-1.1.0.tar.gz

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

Other differences:
------------------
++++++ libtorrent-rasterbar.spec ++++++
--- /var/tmp/diff_new_pack.hPeP3l/_old  2016-04-28 17:00:05.000000000 +0200
+++ /var/tmp/diff_new_pack.hPeP3l/_new  2016-04-28 17:00:05.000000000 +0200
@@ -17,23 +17,33 @@
 
 
 %define _name   libtorrent
-%define sover   8
-%define _version 1_0_9
+%define sover   9
+%define _version 1_1
 %bcond_with examples
 Name:           libtorrent-rasterbar
-Version:        1.0.9
+Version:        1.1.0
 Release:        0
 Summary:        Libtorrent is a C++ implementation of the BitTorrent protocol
 License:        BSD-3-Clause
 Group:          Development/Libraries/C and C++
 Url:            http://rasterbar.com/products/libtorrent
 Source:         
https://github.com/arvidn/%{_name}/releases/download/%{_name}-%{_version}/%{name}-%{version}.tar.gz
+%ifnarch x86_64 amd64 %{ix86}
+Patch0:         fix-sse-only-on-x86.patch
+BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  libtool
+%endif
 BuildRequires:  boost-devel >= 1.36
 BuildRequires:  gcc-c++
 BuildRequires:  pkg-config
 BuildRequires:  python-devel
 BuildRequires:  pkgconfig(geoip)
 BuildRequires:  pkgconfig(openssl)
+# For quadmath.h we need gcc-fortran on openSUSE < Factory (<= 42.1)
+%if 0%{?suse_version} <=1320
+BuildRequires:  gcc-fortran
+%endif
 
 %description
 libtorrent-rasterbar is a C++ library that aims to be a good
@@ -112,6 +122,11 @@
 %prep
 %setup -q
 
+%ifnarch x86_64 amd64 %{ix86}
+%patch0 -p1
+autoreconf -vi
+%endif
+
 %build
 export CFLAGS="%{optflags} -fno-strict-aliasing"
 export CXXFLAGS="$CFLAGS"

++++++ fix-sse-only-on-x86.patch ++++++
diff --git a/configure.ac b/configure.ac
index efa1943..945d2bc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -159,10 +159,20 @@ AC_CHECK_FUNCS([clock_gettime], [],
       [AC_MSG_WARN([clock_gettime function not found.])])])]
 )
 
+case "$host" in
+        i?86-* | k?-* | athlon-* | pentium*-)
+                ARCH_SPECIFIC_CFLAGS="-msse4.2"
+                ;;
+        x86_64-*)
+                ARCH_SPECIFIC_CFLAGS="-msse4.2"
+                ;;
+        *)
+                AC_MSG_NOTICE([No architecture specific optimization])
+                ;;
+esac
 
 dnl Pass some build options to .pc file
-COMPILETIME_OPTIONS=""
-
+COMPILETIME_OPTIONS="$ARCH_SPECIFIC_CFLAGS "
 
 ###############################################################################
 # Setting configure options
@@ -536,8 +546,6 @@ AM_CONDITIONAL([WITH_OPENSSL], [test 
"x$ARG_ENABLE_ENCRYPTION" = "xyes" -o "x$AR
 AC_DEFINE([BOOST_ASIO_HASH_MAP_BUCKETS],[1021],[Define to fix a wrong behavior 
in boost 1.39.])
 COMPILETIME_OPTIONS="$COMPILETIME_OPTIONS -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 "
 
-COMPILETIME_OPTIONS="$COMPILETIME_OPTIONS -msse4.2 "
-
 AC_DEFINE([BOOST_EXCEPTION_DISABLE],[1],[Define to disable the boost.exception 
features.])
 COMPILETIME_OPTIONS="$COMPILETIME_OPTIONS -DBOOST_EXCEPTION_DISABLE "
 
++++++ libtorrent-rasterbar-1.0.9.tar.gz -> libtorrent-rasterbar-1.1.0.tar.gz 
++++++
++++ 250353 lines of diff (skipped)


Reply via email to