pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/gtexinfo/patches Unneeded after update to 4.7.
details: https://anonhg.NetBSD.org/pkgsrc/rev/47428822617f
branches: trunk
changeset: 477560:47428822617f
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun Jul 04 23:41:00 2004 +0000
description:
Unneeded after update to 4.7.
diffstat:
devel/gtexinfo/patches/patch-ai | 48 -----------------------------------------
1 files changed, 0 insertions(+), 48 deletions(-)
diffs (52 lines):
diff -r 38be755eca39 -r 47428822617f devel/gtexinfo/patches/patch-ai
--- a/devel/gtexinfo/patches/patch-ai Sun Jul 04 23:40:13 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-$NetBSD: patch-ai,v 1.1 2002/08/10 23:22:02 rh Exp $
-
---- lib/xmalloc.c.orig Tue Jun 20 06:06:31 1995
-+++ lib/xmalloc.c
-@@ -27,10 +27,11 @@
-
- #if !defined (ALREADY_HAVE_XMALLOC)
- #include <stdio.h>
-+#include <stdlib.h>
- #include <sys/types.h>
-
- extern void *malloc (), *realloc ();
--static void memory_error_and_abort ();
-+static void memory_error_and_abort (const char *);
-
- /* **************************************************************** */
- /* */
-@@ -42,8 +43,7 @@
- to hold BYTES number of bytes. If the memory cannot be allocated,
- print an error message and abort. */
- void *
--xmalloc (bytes)
-- int bytes;
-+xmalloc (unsigned bytes)
- {
- void *temp = malloc (bytes);
-
-@@ -53,9 +53,7 @@
- }
-
- void *
--xrealloc (pointer, bytes)
-- void *pointer;
-- int bytes;
-+xrealloc (void *pointer, unsigned bytes)
- {
- void *temp;
-
-@@ -71,8 +69,7 @@
- }
-
- static void
--memory_error_and_abort (fname)
-- char *fname;
-+memory_error_and_abort (const char *fname)
- {
- fprintf (stderr, "%s: Out of virtual memory!\n", fname);
- abort ();
Home |
Main Index |
Thread Index |
Old Index