]> git.pld-linux.org Git - packages/rpm.git/blob - rpm-cpuinfo.patch
- forced -fPIE/-pie needs gcc 3.4
[packages/rpm.git] / rpm-cpuinfo.patch
1 --- rpm/lib/depends.c   2007-02-13 20:39:00.386623000 +0100
2 +++ rpm/lib/depends.c   2007-02-19 19:48:40.490623000 +0100
3 @@ -507,6 +507,10 @@
4         goto unsatisfied;
5      }
6  
7 +    /* Ignore cpuinfo() and uname() deps */
8 +    if (!strncmp(Name, "cpuinfo(", sizeof("cpuinfo(")-1) || !strncmp(Name, "uname(", sizeof("uname(")-1))
9 +           goto exit;
10 +
11      /* Search added packages for the dependency. */
12      if (rpmalSatisfiesDepend(ts->addedPackages, dep, NULL) != NULL) {
13         /*
This page took 0.024718 seconds and 3 git commands to generate.