diff options
author | joerg <joerg@pkgsrc.org> | 2012-11-16 00:46:04 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-11-16 00:46:04 +0000 |
commit | b611d73322f324cae0d5f859335abb05c5741bd4 (patch) | |
tree | fc37c0096c108aec1aada7da0b4d3bf24380cd1c /devel | |
parent | 4a4fa39e1f56cc5b6e2a1a4156be08272b011986 (diff) | |
download | pkgsrc-b611d73322f324cae0d5f859335abb05c5741bd4.tar.gz |
Don't use a conflicting definition of NAME_MAX if the system has one
already.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/omake/distinfo | 3 | ||||
-rw-r--r-- | devel/omake/patches/patch-src_libmojave-external_cutil_fam__pseudo.h | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/devel/omake/distinfo b/devel/omake/distinfo index 331a71a7514..deaef4ce682 100644 --- a/devel/omake/distinfo +++ b/devel/omake/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2010/12/17 09:40:14 wiz Exp $ +$NetBSD: distinfo,v 1.3 2012/11/16 00:46:04 joerg Exp $ SHA1 (omake-0.9.8.6-0.rc1.tar.gz) = f714fa992bf391b8bac49a488bc654128962d1cc RMD160 (omake-0.9.8.6-0.rc1.tar.gz) = b7ceebea6f4c40460625e2e9528257e200676bca @@ -27,3 +27,4 @@ SHA1 (patch-au) = efb7a298c259e645d2031fee5b016a47389621dd SHA1 (patch-av) = 10edbea63bca8788f922c9debb2ebc50655760a5 SHA1 (patch-aw) = 4999a863230373cca75a6e5cbc4203430823468d SHA1 (patch-ax) = 0a91c5d1a561b319885e848def2a3c54d52751d7 +SHA1 (patch-src_libmojave-external_cutil_fam__pseudo.h) = cffac5428d8ff93db0773e5604176df974321b2e diff --git a/devel/omake/patches/patch-src_libmojave-external_cutil_fam__pseudo.h b/devel/omake/patches/patch-src_libmojave-external_cutil_fam__pseudo.h new file mode 100644 index 00000000000..225f3f6798a --- /dev/null +++ b/devel/omake/patches/patch-src_libmojave-external_cutil_fam__pseudo.h @@ -0,0 +1,15 @@ +$NetBSD: patch-src_libmojave-external_cutil_fam__pseudo.h,v 1.1 2012/11/16 00:46:04 joerg Exp $ + +--- src/libmojave-external/cutil/fam_pseudo.h.orig 2012-11-08 22:16:13.000000000 +0000 ++++ src/libmojave-external/cutil/fam_pseudo.h +@@ -43,7 +43,10 @@ + /* + * Maximum file name length. + */ ++#include <limits.h> ++#ifndef NAME_MAX + #define NAME_MAX 1024 ++#endif + + /* + * Possible events. |