019aff8e20
Add proper deps. Add destdir support. And, finally, make it build properly. (82 (small) patches later...)
20 lines
538 B
Text
20 lines
538 B
Text
$NetBSD: patch-bu,v 1.1 2008/08/31 06:52:29 dholland Exp $
|
|
|
|
--- server/es.c~ 1997-08-26 17:21:49.000000000 -0400
|
|
+++ server/es.c 2008-08-31 01:29:20.000000000 -0400
|
|
@@ -38,13 +38,13 @@ es_mark
|
|
DB buffer_t *bp
|
|
DE
|
|
{
|
|
- register int i;
|
|
+ register intptr_t i;
|
|
register chunk_t *chp;
|
|
|
|
chp = buf_chunk(bp);
|
|
|
|
if (chp->type == P_EVENT) { /* can be called repeatedly on same chunk */
|
|
- i = (int)chp->dptr;
|
|
+ i = (intptr_t)chp->dptr;
|
|
chp->dptr = (void *)(i + 1);
|
|
}
|
|
else if (chp->type == P_NONE) {
|