From 03811749df342323225a78758026820e6ec75261 Mon Sep 17 00:00:00 2001 From: minskim Date: Sat, 19 Aug 2006 11:56:21 +0000 Subject: Do not define a symbol in a header file. This fixes "multiple definitions" errors on Darwin. --- textproc/hre/distinfo | 3 ++- textproc/hre/patches/patch-ab | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 textproc/hre/patches/patch-ab (limited to 'textproc/hre') diff --git a/textproc/hre/distinfo b/textproc/hre/distinfo index 81cda34215e..0f27252e821 100644 --- a/textproc/hre/distinfo +++ b/textproc/hre/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.5 2006/01/02 11:20:57 joerg Exp $ +$NetBSD: distinfo,v 1.6 2006/08/19 11:56:21 minskim Exp $ SHA1 (hre-0.9.8a.tar.gz) = 9082ec1553052483340ec15648204738ecab1e41 RMD160 (hre-0.9.8a.tar.gz) = ea5bb3ce17e07eb85c596502d3ecdb1e62c06fc0 Size (hre-0.9.8a.tar.gz) = 369257 bytes SHA1 (patch-aa) = ad42f93bea365cedb78265a728281e1d759141f8 +SHA1 (patch-ab) = 4e2116d8ac686f5f0764e959779e571d71fc5b1f diff --git a/textproc/hre/patches/patch-ab b/textproc/hre/patches/patch-ab new file mode 100644 index 00000000000..3eb84b8bc86 --- /dev/null +++ b/textproc/hre/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 2006/08/19 11:56:21 minskim Exp $ + +--- src/lexical.h.orig 2004-08-04 14:28:08.000000000 -0700 ++++ src/lexical.h +@@ -32,7 +32,7 @@ enum + { + #include "lexical.def" + MAX_SYM_T +- } lexical; ++ }; + #undef DEF_LEXICAL + + #endif -- cgit v1.2.3