diff options
Diffstat (limited to 'editors')
-rw-r--r-- | editors/notecase/distinfo | 7 | ||||
-rw-r--r-- | editors/notecase/patches/patch-aa | 4 | ||||
-rw-r--r-- | editors/notecase/patches/patch-ab | 4 | ||||
-rw-r--r-- | editors/notecase/patches/patch-src_lib_EnumDirectory.cpp | 22 |
4 files changed, 30 insertions, 7 deletions
diff --git a/editors/notecase/distinfo b/editors/notecase/distinfo index 83e37b60234..47d9eb898da 100644 --- a/editors/notecase/distinfo +++ b/editors/notecase/distinfo @@ -1,12 +1,13 @@ -$NetBSD: distinfo,v 1.6 2010/02/09 18:28:01 joerg Exp $ +$NetBSD: distinfo,v 1.7 2011/12/08 20:41:47 marino Exp $ SHA1 (notecase-1.8.8_src.tar.gz) = 9657fc83ed4c1820f713b4106c113acaabf6a3b3 RMD160 (notecase-1.8.8_src.tar.gz) = ae98102173e85530c22bbd9d92df23bea9b67886 Size (notecase-1.8.8_src.tar.gz) = 891728 bytes -SHA1 (patch-aa) = c7f1734e0741fdd5c1280012391a425291bd7300 -SHA1 (patch-ab) = 360a714e1642102ee113c881d97ad787f37e7630 +SHA1 (patch-aa) = 8bc5b50c7b2372894989e82516569fd5703ce9f8 +SHA1 (patch-ab) = 95ee573e4707f28234f4f738394ae76b8f49bcbb SHA1 (patch-ad) = 24fb948fa9017203e95a0bd37cd1c5afcbc21935 SHA1 (patch-ae) = 355b89d234a95697c5344bbfe24d347e9cd630f7 SHA1 (patch-af) = eab3d1dfa00cb2eed49b4a08ad780d295b9a9dda SHA1 (patch-ag) = 376e7c934beb5b666503b92e970695ece879d4cc SHA1 (patch-ah) = cb8cca8e9980f13a6e3c4b1731fa1ae17136dd09 +SHA1 (patch-src_lib_EnumDirectory.cpp) = d0f192e97444f2decafdd67a830a061a14765a02 diff --git a/editors/notecase/patches/patch-aa b/editors/notecase/patches/patch-aa index c2006e6d79a..5d2991d444c 100644 --- a/editors/notecase/patches/patch-aa +++ b/editors/notecase/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.1.1.1 2007/11/22 20:50:09 drochner Exp $ +$NetBSD: patch-aa,v 1.2 2011/12/08 20:41:47 marino Exp $ --- src/callbacks.cpp.orig 2007-11-12 15:41:56.000000000 +0100 +++ src/callbacks.cpp @@ -7,7 +7,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2007/11/22 20:50:09 drochner Exp $ #include "ExecuteFile.h" -#if defined (__FreeBSD__) || defined (__APPLE__) -+#if defined (__FreeBSD__) || defined (__APPLE__) || defined (__NetBSD__) ++#if defined (__FreeBSD__) || defined (__APPLE__) || defined (__NetBSD__) || defined (__DragonFly__) #include <libgen.h> //basename #endif diff --git a/editors/notecase/patches/patch-ab b/editors/notecase/patches/patch-ab index 5cce47f3487..4918859c4e7 100644 --- a/editors/notecase/patches/patch-ab +++ b/editors/notecase/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.1.1.1 2007/11/22 20:50:09 drochner Exp $ +$NetBSD: patch-ab,v 1.2 2011/12/08 20:41:47 marino Exp $ --- src/main.cpp.orig 2007-11-12 15:40:07.000000000 +0100 +++ src/main.cpp @@ -7,7 +7,7 @@ $NetBSD: patch-ab,v 1.1.1.1 2007/11/22 20:50:09 drochner Exp $ #endif -#if defined (__FreeBSD__) || defined (__APPLE__) -+#if defined (__FreeBSD__) || defined (__APPLE__) || defined (__NetBSD__) ++#if defined (__FreeBSD__) || defined (__APPLE__) || defined (__NetBSD__) || defined (__DragonFly__) #include <libgen.h> //basename #endif diff --git a/editors/notecase/patches/patch-src_lib_EnumDirectory.cpp b/editors/notecase/patches/patch-src_lib_EnumDirectory.cpp new file mode 100644 index 00000000000..7822cff5609 --- /dev/null +++ b/editors/notecase/patches/patch-src_lib_EnumDirectory.cpp @@ -0,0 +1,22 @@ +$NetBSD: patch-src_lib_EnumDirectory.cpp,v 1.1 2011/12/08 20:41:47 marino Exp $ + +--- src/lib/EnumDirectory.cpp.orig 2011-12-08 16:39:12.229180000 +0000 ++++ src/lib/EnumDirectory.cpp +@@ -113,10 +113,16 @@ int EnumDirectory(const char *szPath, FN + int EnumDirectory(const char *szPath, FN_ENUMDIR func, void *userdata, int nFilter) + { + struct dirent *resp; +- char buf[sizeof(struct dirent)+MAXNAMLEN]; //dirent struct buffer + ++#if defined(__DragonFly__) ++ char buf[sizeof(struct dirent)+256]; ++ char tmp[256]; ++ char dir[256]; ++#else ++ char buf[sizeof(struct dirent)+MAXNAMLEN]; //dirent struct buffer + char tmp[MAXNAMLEN]; //buffer for full path of found file + char dir[MAXNAMLEN]; //buffer for dir name of found file ++#endif + struct stat statbuf; + int r; + |