- add fcntl.h

This commit is contained in:
kzak 2005-09-01 14:52:45 +00:00
parent 9aa3e90f7a
commit e70de0ef40
2 changed files with 16 additions and 1 deletions

10
lockdev-1.0.1-fcntl.patch Normal file
View File

@ -0,0 +1,10 @@
--- lockdev-1.0.1/src/baudboy.h.kzak 2005-09-01 15:32:30.000000000 +0200
+++ lockdev-1.0.1/src/baudboy.h 2005-09-01 15:32:49.000000000 +0200
@@ -27,6 +27,7 @@
#include <sys/types.h>
#include <errno.h>
#include <unistd.h>
+#include <fcntl.h>
#ifdef __cplusplus
extern "C" {

View File

@ -1,7 +1,7 @@
Summary: A library for locking devices.
Name: lockdev
Version: 1.0.1
Release: 7
Release: 8
License: LGPL
Group: System Environment/Libraries
Source: http://ftp.debian.org/debian/pool/main/l/lockdev/%{name}_%{version}.orig.tar.gz
@ -12,6 +12,7 @@ Patch3: lockdev-1.0.0-cli.patch
Patch4: lockdev-1.0.1-checkname.patch
Patch5: lockdev-1.0.1-pidexists.patch
Patch6: lockdev-1.0.1-subdir.patch
Patch7: lockdev-1.0.1-fcntl.patch
Prereq: shadow-utils, filesystem >= 2.1.4-1
BuildRoot: %{_tmppath}/%{name}-root
@ -38,6 +39,7 @@ package contains the development headers and a static library.
%patch4 -p1 -b .checkname
%patch5 -p1 -b .pidexists
%patch6 -p1 -b .subdir
%patch7 -p1 -b .fcntl
%build
make "CFLAGS=${RPM_OPT_FLAGS} -fPIC"
@ -77,6 +79,9 @@ rm -fr $RPM_BUILD_ROOT
%{_includedir}/*
%changelog
* Thu Sep 1 2005 Karel Zak <kzak@redhat.com> 1.0.1-8
- fix #163276 - baudboy.h should include fcntl.h
* Sat Mar 5 2005 Karel Zak <kzak@redhat.com> 1.0.1-6
- rebuilt