Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libuev for openSUSE:Factory checked 
in at 2021-09-20 23:33:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libuev (Old)
 and      /work/SRC/openSUSE:Factory/.libuev.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libuev"

Mon Sep 20 23:33:05 2021 rev:8 rq:920161 version:2.3.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/libuev/libuev.changes    2021-02-15 
23:21:39.759876352 +0100
+++ /work/SRC/openSUSE:Factory/.libuev.new.1899/libuev.changes  2021-09-20 
23:34:42.747289157 +0200
@@ -1,0 +2,6 @@
+Sun Sep 19 08:44:57 UTC 2021 - Christophe Giboudeaux <[email protected]>
+
+- Add glibc >= 2.33 build fix:
+  * 0001-Fix-25-glibc-2.33-requires-_FILE_OFFSET_BITS-64-with.patch
+
+-------------------------------------------------------------------

New:
----
  0001-Fix-25-glibc-2.33-requires-_FILE_OFFSET_BITS-64-with.patch

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

Other differences:
------------------
++++++ libuev.spec ++++++
--- /var/tmp/diff_new_pack.9a2cm2/_old  2021-09-20 23:34:43.091289582 +0200
+++ /var/tmp/diff_new_pack.9a2cm2/_new  2021-09-20 23:34:43.091289582 +0200
@@ -26,6 +26,12 @@
 Group:          Development/Languages/C and C++
 URL:            https://github.com/troglobit/libuev/
 Source:         
https://github.com/troglobit/libuev/releases/download/v%{version}/%{name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM
+Patch0:         0001-Fix-25-glibc-2.33-requires-_FILE_OFFSET_BITS-64-with.patch
+BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  libtool
+BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
 
 %description
@@ -57,9 +63,10 @@
 Development and header files for libuEv.
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
+autoreconf -fiv
 %configure \
   --disable-static
 %make_build
@@ -67,7 +74,7 @@
 %install
 %make_install
 find %{buildroot} -type f -name "*.la" -delete -print
-rm -rf %{buildroot}/%{_datadir}/doc
+rm -r %{buildroot}%{_datadir}/doc
 
 %post   -n libuev%{sover} -p /sbin/ldconfig
 %postun -n libuev%{sover} -p /sbin/ldconfig

++++++ 0001-Fix-25-glibc-2.33-requires-_FILE_OFFSET_BITS-64-with.patch ++++++
>From b089ff6c95db5f3742511c1037c3885263df0329 Mon Sep 17 00:00:00 2001
From: Joachim Wiberg <[email protected]>
Date: Sun, 1 Aug 2021 22:37:01 +0200
Subject: [PATCH] Fix #25: glibc >= 2.33 requires _FILE_OFFSET_BITS=64 with
 _TIME_BITS=64

Signed-off-by: Joachim Wiberg <[email protected]>
---
 src/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 8e67e5a..eac1156 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,6 +1,6 @@
 lib_LTLIBRARIES     = libuev.la
 libuev_la_SOURCES   = uev.c uev.h private.h io.c timer.c signal.c cron.c 
event.c
-libuev_la_CPPFLAGS  = -D_GNU_SOURCE -D_TIME_BITS=64
+libuev_la_CPPFLAGS  = -D_GNU_SOURCE -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64
 libuev_la_CFLAGS    = -W -Wall -Wextra -std=gnu11
 libuev_la_LDFLAGS   = $(AM_LDFLAGS) -version-info 4:0:2
 
-- 
2.33.0

Reply via email to