summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/heme/distinfo3
-rw-r--r--editors/heme/patches/patch-ab14
2 files changed, 16 insertions, 1 deletions
diff --git a/editors/heme/distinfo b/editors/heme/distinfo
index f9517499a00..6b5ddeea5d8 100644
--- a/editors/heme/distinfo
+++ b/editors/heme/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/10/01 05:57:30 minskim Exp $
+$NetBSD: distinfo,v 1.2 2005/12/09 14:45:05 joerg Exp $
SHA1 (heme-0.4.tar.gz) = ae7727f9861e0ac36eeac7ddccb62739468f1251
RMD160 (heme-0.4.tar.gz) = 478f527f8e4968968d0d055fddc1cdb98b632a8e
Size (heme-0.4.tar.gz) = 21370 bytes
SHA1 (patch-aa) = d64d01c8f3505b75dfa54f2291b63055b5a17e91
+SHA1 (patch-ab) = cd3de9143f9a1bdb384525041d9b719c755525aa
diff --git a/editors/heme/patches/patch-ab b/editors/heme/patches/patch-ab
new file mode 100644
index 00000000000..7ce036bef01
--- /dev/null
+++ b/editors/heme/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1 2005/12/09 14:45:05 joerg Exp $
+
+--- heme.c.orig 2005-12-09 14:34:15.000000000 +0000
++++ heme.c
+@@ -1332,6 +1332,9 @@ static void init_blocksize()
+ off_len = PAGESIZE;
+ # elif defined(_PAGESIZE)
+ off_len = _PAGESIZE;
++# elif defined(__DragonFly__)
++ if((off_len = sysconf(_SC_PAGESIZE)) <= 1)
++ off_len = 4096;
+ # else
+ if((off_len = sysconf(_SC_PAGESIZE)) <= 1 &&
+ (off_len = sysconf(_SC_PAGE_SIZE)) <= 1)