Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-br,v 1.1 2008/08/31 06:36:49 scottr Exp $
--- toolbox/toolbox-cmd.c.orig 2008-08-08 02:01:57.000000000 -0500
+++ toolbox/toolbox-cmd.c
@@ -43,7 +43,10 @@ typedef void (*ToolboxHelpFunc)(char *pr
* Local Data
*/
-const typedef struct CmdTable {
+#if !defined(__NetBSD__) || __NetBSD_Version__ >= 400000000 // Work around gcc? const-const issue
+const
+#endif
+typedef struct CmdTable {
const char *command; /* The name of the command. */
ToolboxCmdFunc func; /* The function to execute. */
Bool requireRoot; /* Indicates whether root is required. */