summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorasau <asau@pkgsrc.org>2014-01-16 18:09:46 +0000
committerasau <asau@pkgsrc.org>2014-01-16 18:09:46 +0000
commitb58a7ed7db8621f778dbc098ce1a0f380776123e (patch)
tree492d97dd0888cdd3114d90ef0aa0ebef89d355b9 /math
parent1b08bd1e2e024677556f5641c822603f0dc01f5a (diff)
downloadpkgsrc-b58a7ed7db8621f778dbc098ce1a0f380776123e.tar.gz
malloc.h raises error on FreeBSD intentionally, use stdlib.h instead.
Diffstat (limited to 'math')
-rw-r--r--math/ordCalc/distinfo3
-rw-r--r--math/ordCalc/patches/patch-src_parse.y13
2 files changed, 15 insertions, 1 deletions
diff --git a/math/ordCalc/distinfo b/math/ordCalc/distinfo
index 39bca7702d9..4192320919f 100644
--- a/math/ordCalc/distinfo
+++ b/math/ordCalc/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2013/07/19 12:53:09 joerg Exp $
+$NetBSD: distinfo,v 1.8 2014/01/16 18:09:46 asau Exp $
SHA1 (ordCalc_0.2.tar.bz2) = 6b3e1e5b714cc50d1e2c48b8f06b8dd41fbde134
RMD160 (ordCalc_0.2.tar.bz2) = caf9c89a2a54fe3e5414cb7f1e1a4e1d4aad0397
@@ -13,3 +13,4 @@ SHA1 (patch-src_mn.cpp) = da8ff526d95f171566d0cd8061a1439975342554
SHA1 (patch-src_ordBase.h) = ad3c896fbbea6b40ef6f734c1f212dff49856d9a
SHA1 (patch-src_ordinal.h) = e1dde6caf141c82b7f740ce18280be6507bacd9e
SHA1 (patch-src_parse.cpp) = 1e7602a33edd62f4d5a119c2e35062499c07d70e
+SHA1 (patch-src_parse.y) = 1339048b37f2bc5e5dfc45256578a1991c53e247
diff --git a/math/ordCalc/patches/patch-src_parse.y b/math/ordCalc/patches/patch-src_parse.y
new file mode 100644
index 00000000000..f1c27ee6484
--- /dev/null
+++ b/math/ordCalc/patches/patch-src_parse.y
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_parse.y,v 1.1 2014/01/16 18:09:46 asau Exp $
+
+malloc.h raises error on FreeBSD intentionally.
+
+--- src/parse.y.orig 2010-01-17 04:47:28.000000000 +0000
++++ src/parse.y
+@@ -1,5 +1,5 @@
+ %{
+-#include <malloc.h>
++#include <stdlib.h>
+ #include <iostream>
+ #include <stdlib.h>
+ #include "ordinal.h"