+++ /dev/null
---- bglibs-1.010/unix/selfpipe.c.orig 2003-11-17 21:16:37.000000000 +0100
-+++ bglibs-1.010/unix/selfpipe.c 2003-11-18 19:55:42.436533008 +0100
-@@ -69,9 +69,10 @@
- {
- int buf;
- int fd = selfpipe_init();
-+/* let it be kernel business which descriptors pipe returns (it failed on 2.6)
- puti("FD[0]", fds[0]);
- puti("FD[1]", fds[1]);
-- puti("Returned FD", fd);
-+ puti("Returned FD", fd); */
- puti("read before SIGCHLD", read(fd, &buf, sizeof buf));
- puti("errno is EAGAIN", errno == EAGAIN);
- kill(0, SIGCHLD);
-@@ -87,9 +88,6 @@
- }
- #endif
- #ifdef SELFTEST_EXP
--FD[0]: 3
--FD[1]: 4
--Returned FD: 3
- read before SIGCHLD: -1
- errno is EAGAIN: 1
- read after SIGCHLD: 1
Summary: Bruce Guenter's Libraries Collection
Summary(pl): Zestaw bibliotek Bruce'a Guentera
Name: bglibs
-Version: 1.010
+Version: 1.011
Release: 1
License: GPL
Group: Development/Libraries
Source0: http://untroubled.org/bglibs/%{name}-%{version}.tar.gz
-# Source0-md5: 2502cb6ee9099cda13e282fe17eb7584
-Patch0: %{name}-pipe.patch
+# Source0-md5: a5272bc7e30c5323e35b4361206309ea
URL: http://untroubled.org/bglibs/
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%prep
%setup -q
-%patch -p1
%build
echo '%{__cc} %{rpmcflags} -Wall' > conf-cc