SOURCES (AC-branch): poldek-ignorecaps.patch (NEW) ignore cpuinfo(...

arekm arekm at pld-linux.org
Fri Jun 15 00:43:53 CEST 2007


Author: arekm                        Date: Thu Jun 14 22:43:53 2007 GMT
Module: SOURCES                       Tag: AC-branch
---- Log message:
ignore cpuinfo() and uname() caps

---- Files affected:
SOURCES:
   poldek-ignorecaps.patch (NONE -> 1.1.2.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/poldek-ignorecaps.patch
diff -u /dev/null SOURCES/poldek-ignorecaps.patch:1.1.2.1
--- /dev/null	Fri Jun 15 00:43:53 2007
+++ SOURCES/poldek-ignorecaps.patch	Fri Jun 15 00:43:48 2007
@@ -0,0 +1,13 @@
+diff -urN poldek-0.20.org/pkgset-req.c poldek-0.20/pkgset-req.c
+--- poldek-0.20.org/pkgset-req.c	2005-10-20 19:27:27.000000000 +0200
++++ poldek-0.20/pkgset-req.c	2007-06-15 00:42:42.499942887 +0200
+@@ -332,6 +332,9 @@
+          n_assert(0);
+     */ 
+     
++    if (strncmp("cpuinfo(", capreq_name(req), sizeof("cpuinfo(")-1) == 0 || strncmp("uname(", capreq_name(req), sizeof("uname(")-1) == 0)
++	matched = 1;
++
+     if (capreq_is_rpmlib(req)) {
+         if (matched) {
+             int i;
================================================================


More information about the pld-cvs-commit mailing list