Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/hwinfo/files: hwinfo-16.0-parallel-fixes.patch
Date: Mon, 01 Feb 2010 06:59:04
Message-Id: E1NbqFO-0003ag-7T@stork.gentoo.org
1 robbat2 10/02/01 06:58:58
2
3 Added: hwinfo-16.0-parallel-fixes.patch
4 Log:
5 Version bump per bug #266745. Avoid kernel header issues per bug #236449. I know the last part of the build is forced non-parallel. It is not trivially fixable. Tell repoman to get lost.
6 (Portage version: 2.2_rc61/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 sys-apps/hwinfo/files/hwinfo-16.0-parallel-fixes.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hwinfo/files/hwinfo-16.0-parallel-fixes.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hwinfo/files/hwinfo-16.0-parallel-fixes.patch?rev=1.1&content-type=text/plain
13
14 Index: hwinfo-16.0-parallel-fixes.patch
15 ===================================================================
16 diff -Nuar hwinfo-16.0.orig/src/ids/Makefile hwinfo-16.0/src/ids/Makefile
17 --- hwinfo-16.0.orig/src/ids/Makefile 2009-05-12 03:10:34.000000000 -0700
18 +++ hwinfo-16.0/src/ids/Makefile 2009-07-03 13:55:42.522438453 -0700
19 @@ -55,8 +55,11 @@
20
21 hd_ids.c: hd_ids.h hd_ids_tiny.h
22
23 -hd_ids.h hd.ids: check_hd $(IDFILES)
24 +hd_ids.h hd.ids: build_ids
25 +
26 +build_ids: check_hd $(IDFILES)
27 ./check_hd --check --sort --cfile hd_ids.h $(IDFILES)
28 + touch build_ids
29
30 hd_ids_tiny.h: check_hd hd.ids
31 ./check_hd --mini --cfile hd_ids_tiny.h --log=hd_tiny.log --out=hd_tiny.ids hd.ids
32 diff -Nuar hwinfo-16.0.orig/src/isdn/cdb/Makefile hwinfo-16.0/src/isdn/cdb/Makefile
33 --- hwinfo-16.0.orig/src/isdn/cdb/Makefile 2009-05-12 03:10:34.000000000 -0700
34 +++ hwinfo-16.0/src/isdn/cdb/Makefile 2009-07-03 14:13:54.336372459 -0700
35 @@ -12,8 +12,9 @@
36 fi
37
38 isdn_cdb.h: isdn_cdb ISDN.CDB.txt
39 - rm -f isdn_cdb.h
40 - ./isdn_cdb ISDN.CDB.txt isdn_cdb.h
41 + rm -f $@
42 + ./isdn_cdb ISDN.CDB.txt $@.tmp
43 + mv $@.tmp $@
44
45 lex.yy.c: isdn_cdb.lex
46 lex isdn_cdb.lex
47 @@ -29,5 +30,8 @@
48 mk_isdnhwdb.o: mk_isdnhwdb.c cdb_read.h lex.yy.c
49
50 ISDN.CDB.hwdb: mk_isdnhwdb ISDN.CDB.txt
51 - rm -f ISDN.CDB.hwdb
52 - ./mk_isdnhwdb ISDN.CDB.txt ISDN.CDB.hwdb
53 + rm -f $@
54 + ./mk_isdnhwdb ISDN.CDB.txt $@.tmp
55 + mv $@.tmp $@
56 +
57 +OBJS += isdn_cdb.h ISDN.CDB.hwdb