Hello community,

here is the log from the commit of package xrootd for openSUSE:Factory checked 
in at 2018-07-06 10:40:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xrootd (Old)
 and      /work/SRC/openSUSE:Factory/.xrootd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xrootd"

Fri Jul  6 10:40:01 2018 rev:18 rq:620013 version:3.3.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/xrootd/xrootd.changes    2018-03-08 
11:00:16.259325094 +0100
+++ /work/SRC/openSUSE:Factory/.xrootd.new/xrootd.changes       2018-07-06 
10:40:58.451327655 +0200
@@ -1,0 +2,5 @@
+Sun Jul  1 08:16:43 UTC 2018 - b...@vdm-design.de
+
+- Add patch xrootd-gcc8-fix.patch to fix build with gcc8
+
+-------------------------------------------------------------------

New:
----
  xrootd-gcc8-fix.patch

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

Other differences:
------------------
++++++ xrootd.spec ++++++
--- /var/tmp/diff_new_pack.R2HcXI/_old  2018-07-06 10:40:59.011326989 +0200
+++ /var/tmp/diff_new_pack.R2HcXI/_new  2018-07-06 10:40:59.011326989 +0200
@@ -25,7 +25,7 @@
 Version:        3.3.6
 Release:        0
 Summary:        An eXtended Root Daemon (xrootd)
-License:        LGPL-3.0+
+License:        LGPL-3.0-or-later
 Group:          System/Daemons
 Url:            http://xrootd.org/
 Source0:        http://xrootd.org/download/v%{version}/xrootd-%{version}.tar.gz
@@ -35,6 +35,8 @@
 Source4:        frm_purged
 # PATCH-FIX-OPENSUSE xrootd-gcc6-fix.patch bnc#985167 -- fixes build with 
gcc6, patch included in upstream version 4.3.0
 Patch0:         xrootd-gcc6-fix.patch
+# FATCH-FIX-OPENSUSE xrootd-gcc8-fix.patch -- fixes build with gcc8
+Patch1:         xrootd-gcc8-fix.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  cmake >= 2.8
 BuildRequires:  fdupes
@@ -58,6 +60,7 @@
 %prep
 %setup -q -n %{name}-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 mkdir build

++++++ xrootd-gcc8-fix.patch ++++++
diff -Nurd xrootd-3.3.6.orig/src/XrdCl/XrdClXRootDTransport.cc 
xrootd-3.3.6/src/XrdCl/XrdClXRootDTransport.cc
--- xrootd-3.3.6.orig/src/XrdCl/XrdClXRootDTransport.cc 2014-01-16 
15:09:57.000000000 +0100
+++ xrootd-3.3.6/src/XrdCl/XrdClXRootDTransport.cc      2018-07-01 
09:55:05.028126043 +0200
@@ -1058,15 +1058,15 @@
     if( hsData->url->GetUserName().length() )
     {
       ::strncpy( (char*)loginReq->username,
-                 hsData->url->GetUserName().c_str(), 8 );
+                 hsData->url->GetUserName().c_str(), 7 );
     }
     else
     {
       char *name = new char[1024];
       if( !XrdOucUtils::UserName( geteuid(), name, 1024 ) )
-        ::strncpy( (char*)loginReq->username, name, 8 );
+        ::strncpy( (char*)loginReq->username, name, 7 );
       else
-        ::strncpy( (char*)loginReq->username, "????", 8 );
+        ::strncpy( (char*)loginReq->username, "????", 7 );
       delete [] name;
     }
 

Reply via email to