pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/sdbm Add ``#include <stdio.h>'' to sdbm.c; o...
details: https://anonhg.NetBSD.org/pkgsrc/rev/23afbdf92b9c
branches: trunk
changeset: 474370:23afbdf92b9c
user: minskim <minskim%pkgsrc.org@localhost>
date: Wed Apr 28 00:20:22 2004 +0000
description:
Add ``#include <stdio.h>'' to sdbm.c; otherwise this package doesn't
build on Linux because SEEK_SET is undeclared.
diffstat:
databases/sdbm/distinfo | 4 ++--
databases/sdbm/patches/patch-aa | 13 ++++++++-----
2 files changed, 10 insertions(+), 7 deletions(-)
diffs (50 lines):
diff -r 3ba616147028 -r 23afbdf92b9c databases/sdbm/distinfo
--- a/databases/sdbm/distinfo Wed Apr 28 00:18:15 2004 +0000
+++ b/databases/sdbm/distinfo Wed Apr 28 00:20:22 2004 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.2 2001/04/18 16:11:05 agc Exp $
+$NetBSD: distinfo,v 1.3 2004/04/28 00:20:22 minskim Exp $
SHA1 (sdbm.tar.Z) = ebeb769b308a00853b0119f32dda781829e1d712
Size (sdbm.tar.Z) = 63557 bytes
-SHA1 (patch-aa) = 91a4a5e39764dbfc892427a3c5fc32264cfc5da1
+SHA1 (patch-aa) = b5434430d01134c2ba580a609b6a9c3f7be86e50
SHA1 (patch-ab) = 76594d681bc8733e75703123312bd8c82afed333
SHA1 (patch-ac) = 9b1265bceada93f6a4cb4c4ed2b01e4a6b75c96c
SHA1 (patch-ad) = bfc801d5b42902fd75d66d3b775d2a52d7c93921
diff -r 3ba616147028 -r 23afbdf92b9c databases/sdbm/patches/patch-aa
--- a/databases/sdbm/patches/patch-aa Wed Apr 28 00:18:15 2004 +0000
+++ b/databases/sdbm/patches/patch-aa Wed Apr 28 00:20:22 2004 +0000
@@ -1,16 +1,19 @@
-$NetBSD: patch-aa,v 1.3 2000/09/26 03:47:10 hubertf Exp $
+$NetBSD: patch-aa,v 1.4 2004/04/28 00:20:22 minskim Exp $
---- sdbm.c.orig Mon Sep 25 23:17:30 2000
+--- sdbm.c.orig 2004-04-27 19:10:43.000000000 -0500
+++ sdbm.c
-@@ -25,6 +25,7 @@
+@@ -25,6 +25,10 @@ static char rcsid[] = "$Id: sdbm.c,v 1.1
#endif
#include <errno.h>
#include <string.h>
+#include <stdlib.h>
++
++/* To define SEEK_SET on Linux */
++#include <stdio.h>
#ifdef __STDC__
#include <stddef.h>
-@@ -35,17 +36,6 @@
+@@ -35,17 +39,6 @@ static char rcsid[] = "$Id: sdbm.c,v 1.1
#endif
/*
@@ -28,7 +31,7 @@
* forward
*/
static int getdbit proto((DBM *, long));
-@@ -95,7 +85,7 @@
+@@ -95,7 +88,7 @@ register int mode;
*/
n = strlen(file) * 2 + strlen(DIRFEXT) + strlen(PAGFEXT) + 2;
Home |
Main Index |
Thread Index |
Old Index