summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-07-30 09:25:01 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-07-30 09:25:01 +0000
commit880fd5033ae73c9aec908b33cde9199c3eb625c9 (patch)
treed73c59992d8846097522193f9ffcdf3b2f86618a /dev-util/indent
parentx86 (diff)
downloadgentoo-2-880fd5033ae73c9aec908b33cde9199c3eb625c9.tar.gz
gentoo-2-880fd5033ae73c9aec908b33cde9199c3eb625c9.tar.bz2
gentoo-2-880fd5033ae73c9aec908b33cde9199c3eb625c9.zip
Added patch to replace malloc.h with stdlib.h for Gentoo/FreeBSD compatibility.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'dev-util/indent')
-rw-r--r--dev-util/indent/ChangeLog6
-rw-r--r--dev-util/indent/files/2.2.9-malloc.patch10
-rw-r--r--dev-util/indent/indent-2.2.9-r2.ebuild4
3 files changed, 18 insertions, 2 deletions
diff --git a/dev-util/indent/ChangeLog b/dev-util/indent/ChangeLog
index 231d0c482dd3..6353eeaa0bc1 100644
--- a/dev-util/indent/ChangeLog
+++ b/dev-util/indent/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-util/indent
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/indent/ChangeLog,v 1.21 2005/01/04 03:21:26 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/indent/ChangeLog,v 1.22 2005/07/30 09:25:01 flameeyes Exp $
+
+ 30 Jul 2005; Diego Pettenò <flameeyes@gentoo.org>
+ +files/2.2.9-malloc.patch, indent-2.2.9-r2.ebuild:
+ Added patch to replace malloc.h with stdlib.h for Gentoo/FreeBSD compatibility.
*indent-2.2.9-r2 (03 Jan 2005)
diff --git a/dev-util/indent/files/2.2.9-malloc.patch b/dev-util/indent/files/2.2.9-malloc.patch
new file mode 100644
index 000000000000..6dfcee76dc4c
--- /dev/null
+++ b/dev-util/indent/files/2.2.9-malloc.patch
@@ -0,0 +1,10 @@
+diff -ur indent-2.2.9/man/texinfo2man.c indent-2.2.9-freebsd/man/texinfo2man.c
+--- indent-2.2.9/man/texinfo2man.c 2002-01-17 20:28:51.000000000 +0100
++++ indent-2.2.9-freebsd/man/texinfo2man.c 2005-07-30 11:13:26.616498832 +0200
+@@ -1,5 +1,5 @@
+ #include <stdio.h>
+-#include <malloc.h>
++#include <stdlib.h>
+ #include <string.h>
+ #include <ctype.h>
+
diff --git a/dev-util/indent/indent-2.2.9-r2.ebuild b/dev-util/indent/indent-2.2.9-r2.ebuild
index 0aadf40da9f2..7f9c2c09eaf8 100644
--- a/dev-util/indent/indent-2.2.9-r2.ebuild
+++ b/dev-util/indent/indent-2.2.9-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/indent/indent-2.2.9-r2.ebuild,v 1.3 2005/01/27 03:44:59 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/indent/indent-2.2.9-r2.ebuild,v 1.4 2005/07/30 09:25:01 flameeyes Exp $
inherit eutils
@@ -19,6 +19,8 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PV}-deb-gentoo.patch
+ epatch "${FILESDIR}"/${PV}-malloc.patch
+
# Update timestamp so it isn't regenerated #76610
touch -r man/Makefile.am man/texinfo2man.c
}