Hello community,

here is the log from the commit of package libFS for openSUSE:Factory checked 
in at 2013-11-26 06:11:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libFS (Old)
 and      /work/SRC/openSUSE:Factory/.libFS.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libFS"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libFS/libFS.changes      2013-06-05 
11:53:49.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libFS.new/libFS.changes 2013-11-26 
06:11:55.000000000 +0100
@@ -1,0 +2,5 @@
+Sun Nov  3 13:52:13 UTC 2013 - [email protected]
+
+- Added U_fix_build_with_xtrans_1.3.patch
+
+-------------------------------------------------------------------

New:
----
  U_fix_build_with_xtrans_1.3.patch

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

Other differences:
------------------
++++++ libFS.spec ++++++
--- /var/tmp/diff_new_pack.piShvU/_old  2013-11-26 06:11:55.000000000 +0100
+++ /var/tmp/diff_new_pack.piShvU/_new  2013-11-26 06:11:55.000000000 +0100
@@ -29,6 +29,7 @@
 #Git-Web:      http://cgit.freedesktop.org/xorg/lib/libFS/
 Source:         
http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.bz2
 Source2:        baselibs.conf
+Patch0:         U_fix_build_with_xtrans_1.3.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 #git#BuildRequires:    autoconf >= 2.60, automake, libtool
@@ -64,6 +65,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure --docdir=%_docdir/%name --disable-static

++++++ U_fix_build_with_xtrans_1.3.patch ++++++
>From 19ca53de0aae67b1f23085c832b445576c6a0b25 Mon Sep 17 00:00:00 2001
From: Adam Jackson <[email protected]>
Date: Fri, 01 Nov 2013 15:14:58 +0000
Subject: Fix build with xtrans 1.3

->Readv was in fact being used, oops.  Just call straight down to
readv() instead.

Reviewed-by: Peter Harris <[email protected]>
Signed-off-by: Adam Jackson <[email protected]>
---
diff --git a/src/FSlibInt.c b/src/FSlibInt.c
index edc66ba..0fabc96 100644
--- a/src/FSlibInt.c
+++ b/src/FSlibInt.c
@@ -58,6 +58,7 @@ in this Software without prior written authorization from The 
Open Group.
 #endif
 #include <stdio.h>
 #include "FSlibint.h"
+#include <X11/Xtrans/Xtransint.h>
 #include <X11/Xos.h>
 
 static void _EatData32 ( FSServer *svr, unsigned long n );
@@ -360,7 +361,7 @@ _FSReadPad(
     size += iov[1].iov_len;
 
     ESET(0);
-    while ((bytes_read = _FSTransReadv(svr->trans_conn, iov, 2)) != size) {
+    while ((bytes_read = readv(svr->trans_conn->fd, iov, 2)) != size) {
 
        if (bytes_read > 0) {
            size -= bytes_read;
--
cgit v0.9.0.2-2-gbebe 
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to