Browse Source

fix strace for FreeBSD

master
parent
commit
9b2b070de1
  1. 13
      strace/strace-4.4.patch
  2. 4
      strace/strace.spec

13
strace/strace-4.4.patch

@ -0,0 +1,13 @@
--- process.c.orig Fri Aug 3 13:51:28 2001
+++ process.c Sat Nov 24 19:40:05 2001
@@ -1771,7 +1771,9 @@
{ PT_READ_D, "PT_READ_D" },
{ PT_WRITE_I, "PT_WRITE_I" },
{ PT_WRITE_D, "PT_WRITE_D" },
- { PT_READ_U, "PT_WRITE_U" },
+#ifdef PT_READ_U
+ { PT_READ_U, "PT_READ_U" },
+#endif
{ PT_CONTINUE, "PT_CONTINUE" },
{ PT_KILL, "PT_KILL" },
{ PT_STEP, "PT_STEP" },

4
strace/strace.spec

@ -35,10 +35,11 @@ Distribution: OpenPKG [EXP]
Group: Development
License: GPL
Version: %{V_major}
Release: 20011121.0
Release: 20011124.0
# list of sources
Source0: http://prdownloads.sourceforge.net/strace/strace_%{V_major}-%{V_minor}.tar.gz
Patch0: strace-%{V_major}.patch
# build information
Prefix: %{l_prefix}
@ -60,6 +61,7 @@ AutoReqProv: no
%prep
%setup -q -n strace-%{V_major}
%patch -p0
%build
CC="%{l_cc}" \

Loading…
Cancel
Save