From 44eedc5c44416a97b3f5ca03d596ec3c9fb29380 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 9 Oct 2004 02:49:33 +0000 Subject: facelift step number two --- package/ltp-testsuite/ltp-testsuite.patch | 49 +++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 package/ltp-testsuite/ltp-testsuite.patch (limited to 'package/ltp-testsuite/ltp-testsuite.patch') diff --git a/package/ltp-testsuite/ltp-testsuite.patch b/package/ltp-testsuite/ltp-testsuite.patch new file mode 100644 index 000000000..baad6d6f5 --- /dev/null +++ b/package/ltp-testsuite/ltp-testsuite.patch @@ -0,0 +1,49 @@ +diff -urN ltp-full-20040506.orig/testcases/kernel/syscalls/fmtmsg/Makefile ltp-full-20040506/testcases/kernel/syscalls/fmtmsg/Makefile +--- ltp-full-20040506.orig/testcases/kernel/syscalls/fmtmsg/Makefile 2003-03-04 09:15:27.000000000 -0700 ++++ ltp-full-20040506/testcases/kernel/syscalls/fmtmsg/Makefile 2004-05-12 14:03:56.000000000 -0600 +@@ -24,7 +24,7 @@ + LOADLIBES+= -L../../../../lib -lltp + + SRCS=$(wildcard *.c) +-TARGETS=$(patsubst %.c,%,$(SRCS)) ++TARGETS=#$(patsubst %.c,%,$(SRCS)) + + all: $(TARGETS) + +diff -urN ltp-full-20040506.orig/testcases/kernel/syscalls/profil/Makefile ltp-full-20040506/testcases/kernel/syscalls/profil/Makefile +--- ltp-full-20040506.orig/testcases/kernel/syscalls/profil/Makefile 2003-03-04 09:16:26.000000000 -0700 ++++ ltp-full-20040506/testcases/kernel/syscalls/profil/Makefile 2004-05-12 14:03:56.000000000 -0600 +@@ -23,7 +23,7 @@ + LOADLIBES+= -L../../../../lib -lltp + + SRCS=$(wildcard *.c) +-TARGETS=$(patsubst %.c,%,$(SRCS)) ++TARGETS=#$(patsubst %.c,%,$(SRCS)) + + all: $(TARGETS) + +diff -urN ltp-full-20040506.orig/testcases/kernel/syscalls/swapon/swapon02.c ltp-full-20040506/testcases/kernel/syscalls/swapon/swapon02.c +--- ltp-full-20040506.orig/testcases/kernel/syscalls/swapon/swapon02.c 2004-04-23 12:13:20.000000000 -0600 ++++ ltp-full-20040506/testcases/kernel/syscalls/swapon/swapon02.c 2004-05-12 23:02:50.000000000 -0600 +@@ -85,9 +85,7 @@ + #include + #include + #include +-#ifdef OLDER_DISTRO_RELEASE +-#include +-#endif ++#define MAX_SWAPFILES 32 + #include + #include + #include +@@ -96,10 +94,6 @@ + #include "test.h" + #include "usctest.h" + +-#ifndef OLDER_DISTRO_RELEASE +-#define MAX_SWAPFILES 32 +-#endif +- + static void setup(); + static void cleanup(); + static int setup01(); -- cgit v1.2.3