aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/ftrace/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/ftrace/files/patch-ab')
-rw-r--r--sysutils/ftrace/files/patch-ab19
1 files changed, 12 insertions, 7 deletions
diff --git a/sysutils/ftrace/files/patch-ab b/sysutils/ftrace/files/patch-ab
index 39ce06b0fba..bc7ca2b3e1f 100644
--- a/sysutils/ftrace/files/patch-ab
+++ b/sysutils/ftrace/files/patch-ab
@@ -1,8 +1,13 @@
---- ftrace.orig Sat Jan 6 14:11:37 2001
-+++ ftrace Sat Jan 6 14:11:24 2001
-@@ -1,4 +1,4 @@
--#!/bin/bash
-+#!/bin/sh
+--- ftrace.c.orig Wed Jan 10 17:38:16 2001
++++ ftrace.c Wed Jan 10 17:36:28 2001
+@@ -10,9 +10,10 @@
+ #include <errno.h>
+ #include <unistd.h>
+ #include <string.h>
++#include <sys/types.h>
- if [ "$1" = "-i" ]; then
- export FTRACEIGNOREME=1
+ #ifdef LINUX_GLIBC
+-typedef __off64_t off64_t;
++typedef off_t off64_t;
+ #define _GNU_SOURCE
+ #endif /* LINUX_GLIBC */