Import of pkgsrc-2015Q1

This commit is contained in:
2016-01-21 23:40:00 +01:00
committed by sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870539 additions and 795424 deletions
+16
View File
@@ -0,0 +1,16 @@
$NetBSD: patch-src_event.c,v 1.1 2015/02/02 11:30:37 jperkin Exp $
SunOS NAME_MAX compatibility.
--- src/event.c.orig 2014-08-30 12:29:09.000000000 +0000
+++ src/event.c
@@ -279,6 +279,9 @@ void DispatchEvent(XEvent * event)
}
#ifdef HAVE_INOTIFY
+#ifndef NAME_MAX
+#define NAME_MAX FILENAME_MAX
+#endif
/*
*----------------------------------------------------------------------
* handle_inotify_events-