Fix qsort issue
This commit is contained in:
2
PKGBUILD
2
PKGBUILD
@@ -39,6 +39,8 @@ validpgpkeys=('747774305F9DCC9504703CEFB73CBC7708FA8C10') # Markus Gothe <nietzs
|
||||
prepare() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
patch -Np1 -i "$srcdir/psacct-6.6.4-sprintf-buffer-overflow.patch"
|
||||
sed -i '/compare_user_entry/s/(int (\*)())/(int (*)(const void *, const void *))/' ./sa.c
|
||||
sed -i '/compare_sum_entry/s/(int (\*)())/(int (*)(const void *, const void *))/' ./sa.c
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
Reference in New Issue
Block a user