parent
0cb413922d
commit
d7c725d0d2
12
gdbm-1.8.3-filestruct.patch
Normal file
12
gdbm-1.8.3-filestruct.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -up gdbm-1.8.3/gdbm.proto.filestruct gdbm-1.8.3/gdbm.proto
|
||||||
|
--- gdbm-1.8.3/gdbm.proto.filestruct 2011-01-13 09:54:03.004907454 +0100
|
||||||
|
+++ gdbm-1.8.3/gdbm.proto 2011-01-13 09:54:24.881714834 +0100
|
||||||
|
@@ -60,7 +60,7 @@ typedef struct {
|
||||||
|
|
||||||
|
|
||||||
|
/* The file information header. This is good enough for most applications. */
|
||||||
|
-typedef struct {int dummy[10];} *GDBM_FILE;
|
||||||
|
+typedef struct __GDBM_FILE_STRUC {int dummy[10];} *GDBM_FILE;
|
||||||
|
|
||||||
|
/* Determine if the C(++) compiler requires complete function prototype */
|
||||||
|
#ifndef __P
|
@ -1,7 +1,7 @@
|
|||||||
Summary: A GNU set of database routines which use extensible hashing
|
Summary: A GNU set of database routines which use extensible hashing
|
||||||
Name: gdbm
|
Name: gdbm
|
||||||
Version: 1.8.3
|
Version: 1.8.3
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
Source: http://ftp.gnu.org/gnu/gdbm/gdbm-%{version}.tar.gz
|
Source: http://ftp.gnu.org/gnu/gdbm/gdbm-%{version}.tar.gz
|
||||||
# Prevent gdbm from storing uninitialized memory content
|
# Prevent gdbm from storing uninitialized memory content
|
||||||
# to database files.
|
# to database files.
|
||||||
@ -23,6 +23,9 @@ Patch2: gdbm-1.8.3-shortread.patch
|
|||||||
# ndbm did not use to lock files, see dbm_clearerr(3p))
|
# ndbm did not use to lock files, see dbm_clearerr(3p))
|
||||||
# * locks are degrading performance a lot on NFS shares
|
# * locks are degrading performance a lot on NFS shares
|
||||||
Patch3: gdbm-1.8.3-ndbmlock.patch
|
Patch3: gdbm-1.8.3-ndbmlock.patch
|
||||||
|
# Prevent compilation of c++ files that use gdbm from warnings.
|
||||||
|
# g++ compilator complained about the use of anonymous class
|
||||||
|
Patch4: gdbm-1.8.3-filestruct.patch
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://www.gnu.org/software/gdbm/
|
URL: http://www.gnu.org/software/gdbm/
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -60,6 +63,7 @@ gdbm database library. You'll also need to install the gdbm package.
|
|||||||
%patch1 -p1 -b .fhs
|
%patch1 -p1 -b .fhs
|
||||||
%patch2 -p1 -b .shortread
|
%patch2 -p1 -b .shortread
|
||||||
%patch3 -p1 -b .ndbmlock
|
%patch3 -p1 -b .ndbmlock
|
||||||
|
%patch4 -p1 -b .filestruct
|
||||||
|
|
||||||
libtoolize --force --copy
|
libtoolize --force --copy
|
||||||
aclocal
|
aclocal
|
||||||
@ -114,6 +118,9 @@ fi
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 13 2011 Jan Horak <hhorak@redhat.com> - 1.8.3-8
|
||||||
|
- Added filestruct patch (#668178)
|
||||||
|
|
||||||
* Mon Jan 03 2011 Karel Klic <kklic@redhat.com> - 1.8.3-7
|
* Mon Jan 03 2011 Karel Klic <kklic@redhat.com> - 1.8.3-7
|
||||||
- Removed BuildRoot tag
|
- Removed BuildRoot tag
|
||||||
- Removed %%clean section
|
- Removed %%clean section
|
||||||
|
Loading…
Reference in New Issue
Block a user