X-Git-Url: http://gitweb/?a=blobdiff_plain;f=libcap%2FPkgfile;h=2b96e59e5dfc21081dffe4af14efaee21cfa582c;hb=1a1d5e188aca3017d7f4eb5b2ad23a883ed6bbd8;hp=8a1037f18d13631815fe1d1fa8e6981793e0f966;hpb=8e9c85b1362b5f2417687158c9abb1983ee1aa3c;p=crossrootfs.git diff --git a/libcap/Pkgfile b/libcap/Pkgfile index 8a1037f..2b96e59 100644 --- a/libcap/Pkgfile +++ b/libcap/Pkgfile @@ -5,13 +5,15 @@ # Depends on: attr name=libcap -version=2.24 +version=2.25 release=2 -source=(https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$name-$version.tar.xz) +source=(https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$name-$version.tar.xz + $name-$version-gperf.patch) build () { - cd libcap-$version + cd $name-$version + patch -p1 -i $SRC/$name-$version-gperf.patch sed -i "/^CFLAGS/s/-O2/$CFLAGS/" Make.Rules make CC="$CC" BUILD_CC="gcc" BUILD_CFLAGS="-O2 -pipe" PAM_CAP=no