pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/flex Also add malloc.c as required by configure.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a13959b8d4e7
branches:  trunk
changeset: 542553:a13959b8d4e7
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Wed May 21 12:54:32 2008 +0000

description:
Also add malloc.c as required by configure.
Reported in SF.net bug # 1899047

diffstat:

 devel/flex/distinfo         |   3 ++-
 devel/flex/patches/patch-ac |  31 +++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+), 1 deletions(-)

diffs (48 lines):

diff -r 384984c4ae84 -r a13959b8d4e7 devel/flex/distinfo
--- a/devel/flex/distinfo       Wed May 21 12:30:16 2008 +0000
+++ b/devel/flex/distinfo       Wed May 21 12:54:32 2008 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.10 2008/03/08 00:08:42 tnn Exp $
+$NetBSD: distinfo,v 1.11 2008/05/21 12:54:32 tnn Exp $
 
 SHA1 (flex-2.5.35.tar.gz) = 333c876a8e24ae5a17d9573459fc501b7721930b
 RMD160 (flex-2.5.35.tar.gz) = 648645f4751ec5029f510730577f5c3e291b7a5e
 Size (flex-2.5.35.tar.gz) = 1456620 bytes
 SHA1 (patch-aa) = 938335a9071be62f534bad8e785003318816fd38
 SHA1 (patch-ab) = 84e8f679973ffa298391bfe20215f5c6878ed65e
+SHA1 (patch-ac) = 27ac026f8a180b49523933c5d70db0237e8dc095
diff -r 384984c4ae84 -r a13959b8d4e7 devel/flex/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/flex/patches/patch-ac       Wed May 21 12:54:32 2008 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-ac,v 1.3 2008/05/21 12:54:32 tnn Exp $
+
+--- /dev/null  2008-04-01 06:44:07.000000000 +0200
++++ malloc.c
+@@ -0,0 +1,26 @@
++/* rpl_malloc.c -- a replacement for malloc that don't accept 0 size
++   Copyright (C) 2001 Free Software Foundation, Inc.
++
++   This program is free software; you can redistribute it and/or modify
++   it under the terms of the GNU General Public License as published by
++   the Free Software Foundation; either version 3, or (at your option)
++   any later version.
++
++   This program is distributed in the hope that it will be useful,
++   but WITHOUT ANY WARRANTY; without even the implied warranty of
++   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
++   GNU General Public License for more details.
++
++   You should have received a copy of the GNU General Public License
++   along with this program; if not, write to the Free Software Foundation,
++   Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */
++
++#include <stdlib.h>
++
++void *
++rpl_malloc(size_t size)
++{
++      if (!size)
++              size++;
++      return malloc(size);
++}



Home | Main Index | Thread Index | Old Index