summaryrefslogtreecommitdiffstats
path: root/package/strace/strace-undef-CTL_PROC.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/strace/strace-undef-CTL_PROC.patch')
-rw-r--r--package/strace/strace-undef-CTL_PROC.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/strace/strace-undef-CTL_PROC.patch b/package/strace/strace-undef-CTL_PROC.patch
new file mode 100644
index 000000000..c3eccb7d6
--- /dev/null
+++ b/package/strace/strace-undef-CTL_PROC.patch
@@ -0,0 +1,12 @@
+--- strace-4.5.12/system.c.oorig 2005-06-01 21:22:06.000000000 +0200
++++ strace-4.5.12/system.c 2006-09-28 18:18:31.000000000 +0200
+@@ -1572,7 +1572,9 @@
+ { CTL_KERN, "CTL_KERN" },
+ { CTL_VM, "CTL_VM" },
+ { CTL_NET, "CTL_NET" },
++#ifdef CTL_PROC
+ { CTL_PROC, "CTL_PROC" },
++#endif
+ { CTL_FS, "CTL_FS" },
+ { CTL_DEBUG, "CTL_DEBUG" },
+ { CTL_DEV, "CTL_DEV" },