pkgsrc/net/dc_gui2/patches/patch-af
rillig b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00

18 lines
452 B
Text

$NetBSD: patch-af,v 1.3 2005/12/05 20:50:45 rillig Exp $
--- src/init_fnc.c.orig Wed Jul 9 18:20:53 2003
+++ src/init_fnc.c
@@ -35,7 +35,13 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
+#ifdef __linux__
#include <linux/sem.h> /* for the value of SEMVMX */
+#else
+#ifndef SEMVMX
+#define SEMVMX 32767 /* semaphore maximum value */
+#endif
+#endif
#include <dirent.h>
#include <string.h>
#include <errno.h>