Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-libs/ss/files: ss-1.40.3-check.patch
Date: Sun, 09 Dec 2007 23:01:05
Message-Id: E1J1V8t-0007zf-2O@stork.gentoo.org
1 vapier 07/12/09 23:00:59
2
3 Added: ss-1.40.3-check.patch
4 Log:
5 Fix test building/running #201762 by Andrej Kacian.
6 (Portage version: 2.1.4_rc4)
7
8 Revision Changes Path
9 1.1 sys-libs/ss/files/ss-1.40.3-check.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/ss/files/ss-1.40.3-check.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/ss/files/ss-1.40.3-check.patch?rev=1.1&content-type=text/plain
13
14 Index: ss-1.40.3-check.patch
15 ===================================================================
16 --- lib/ss/Makefile.in
17 +++ lib/ss/Makefile.in
18 @@ -5,6 +5,7 @@
19 srcdir = @srcdir@
20 top_srcdir = @top_srcdir@
21 VPATH = @srcdir@
22 +builddir = @builddir@
23 top_builddir = ../..
24 my_dir = lib/ss
25 INSTALL = @INSTALL@
26 @@ -163,14 +163,14 @@
27 $(DESTDIR)$(man1dir)/mk_cmds.1
28 $(RM) -rf $(DESTDIR)$(includedir)/ss $(DESTDIR)$(datadir)/ss
29
30 -test_ss: test_ss.o test_cmd.o $(LIBEXT2FS) $(LIBSS) $(LIBCOM_ERR)
31 +test_ss: test_ss.o test_cmd.o $(LIBSS) $(LIBCOM_ERR)
32 @echo " LD $@"
33 @$(CC) -o $@ test_ss.o test_cmd.o $(ALL_CFLAGS) \
34 $(LIBSS) $(LIBCOM_ERR)
35
36 check:: all test_ss
37 @echo " RUN TEST test_ss"
38 - @(test_ss -f $(srcdir)/test_script >& test_out; exit 0)
39 + @($(builddir)/test_ss -f $(srcdir)/test_script >& test_out; exit 0)
40 @if ! diff test_out $(srcdir)/test_script_expected > test.diff; then \
41 echo "Regression test for ss library failed!"; exit 1 ; fi
42
43
44
45
46 --
47 gentoo-commits@g.o mailing list