summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2011-11-23 19:23:52 +0000
committermarino <marino@pkgsrc.org>2011-11-23 19:23:52 +0000
commiteecad9ece0a665aa4b9d46ca2d1451d99a326b2b (patch)
treebd60ddce5b74de301bb118bfaa8f67b4d63882b8 /cad
parentc7ae8986306d6d562e9093264ef280b5148628af (diff)
downloadpkgsrc-eecad9ece0a665aa4b9d46ca2d1451d99a326b2b.tar.gz
cad/freehdl: Fix DragonFly breakage
Conditionally add <strings.h> for DragonFly. No PKGREVISION bump required.
Diffstat (limited to 'cad')
-rw-r--r--cad/freehdl/distinfo3
-rw-r--r--cad/freehdl/patches/patch-aa14
2 files changed, 16 insertions, 1 deletions
diff --git a/cad/freehdl/distinfo b/cad/freehdl/distinfo
index 55e22656b3f..a3553ccdb5d 100644
--- a/cad/freehdl/distinfo
+++ b/cad/freehdl/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2010/01/22 17:14:33 drochner Exp $
+$NetBSD: distinfo,v 1.2 2011/11/23 19:23:52 marino Exp $
SHA1 (freehdl-0.0.7.tar.gz) = eca7ad3ac58e56b72842e83a0a702c05b8f86aa4
RMD160 (freehdl-0.0.7.tar.gz) = d00e14d6b1cd97154b221717124c6e20b0d4f776
Size (freehdl-0.0.7.tar.gz) = 1394351 bytes
+SHA1 (patch-aa) = ca30d91823503c3c9d2d8dbc205776eb14aab537
diff --git a/cad/freehdl/patches/patch-aa b/cad/freehdl/patches/patch-aa
new file mode 100644
index 00000000000..73ee7813ca7
--- /dev/null
+++ b/cad/freehdl/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1 2011/11/23 19:23:52 marino Exp $
+
+--- kernel/fhdl_stream.cc.orig 2006-01-12 08:05:01.000000000 +0000
++++ kernel/fhdl_stream.cc
+@@ -6,6 +6,9 @@
+ #include <assert.h>
+ #include <freehdl/kernel-error.hh>
+ #include <freehdl/kernel-fhdl-stream.hh>
++#if defined (__DragonFly__)
++#include <string.h>
++#endif
+
+
+ // Error stream to output error messages generated by the kernel,