parted: fix calloc test
authorKoen Kooi <koen@openembedded.org>
Fri, 5 Dec 2008 16:20:38 +0000 (17:20 +0100)
committerKoen Kooi <koen@openembedded.org>
Fri, 5 Dec 2008 16:20:38 +0000 (17:20 +0100)
packages/parted/parted_1.8.8.bb

index 2d177d3..d1b5cbe 100644 (file)
@@ -4,12 +4,14 @@ LICENSE = "GPLv3"
 SECTION = "console/tools"
 DEPENDS = "readline e2fsprogs-libs"
 
+PR = "r1"
+
 SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.gz \
            file://syscalls.h \
            file://syscalls.patch;patch=1 \
 "
            
-EXTRA_OECONF = "--disable-Werror"
+EXTRA_OECONF = "--disable-Werror ac_cv_func_calloc_0_nonnull=yes"
 
 inherit autotools pkgconfig