summaryrefslogtreecommitdiff
path: root/mbone/sdr/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'mbone/sdr/patches/patch-ah')
-rw-r--r--mbone/sdr/patches/patch-ah17
1 files changed, 2 insertions, 15 deletions
diff --git a/mbone/sdr/patches/patch-ah b/mbone/sdr/patches/patch-ah
index 25dee1bdcc2..80f6db56b23 100644
--- a/mbone/sdr/patches/patch-ah
+++ b/mbone/sdr/patches/patch-ah
@@ -1,6 +1,5 @@
-$NetBSD: patch-ah,v 1.4 1999/01/01 07:58:29 garbled Exp $
---- src/polluted.c.orig Thu Dec 31 23:09:13 1998
-+++ src/polluted.c Thu Dec 31 23:11:35 1998
+--- sdr/src/polluted.c.orig Sat Oct 2 20:39:08 1999
++++ sdr/src/polluted.c Sat Oct 2 20:45:03 1999
@@ -1,3 +1,6 @@
+#ifdef HAVE_SYS_INTTYPES_H
+#include <inttypes.h>
@@ -8,15 +7,3 @@ $NetBSD: patch-ah,v 1.4 1999/01/01 07:58:29 garbled Exp $
#include "sdr.h"
#include "prototypes.h"
#include "prototypes_crypt.h"
-@@ -200,7 +203,11 @@
- #ifdef NEVER
- encrypt_announcement(adstr, &encdata, &(addata->length), key);
- #else
-+#ifdef HAVE_SYS_INTTYPES_H
-+ encrypt_announcement(adstr, &encdata, (intptr_t)addata->length, key);
-+#else
- encrypt_announcement(adstr, &encdata, (int *)addata->length, key);
-+#endif
- #endif
- addata->data=malloc(addata->length);
- memcpy(addata->data, encdata, addata->length);