diff --git a/app-misc/nnn/nnn-5.0.recipe b/app-misc/nnn/nnn-5.0.recipe index b12aa92bf..4742b8969 100644 --- a/app-misc/nnn/nnn-5.0.recipe +++ b/app-misc/nnn/nnn-5.0.recipe @@ -16,7 +16,7 @@ COPYRIGHT="2014-2016 Lazaros Koromilas 2014-2016 Dimitris Papastamos 2016-2024 Arun Prakash Jana" LICENSE="BSD (2-clause)" -REVISION="2" +REVISION="3" SOURCE_URI="https://github.com/jarun/nnn/archive/v$portVersion.tar.gz" CHECKSUM_SHA256="31e8fd85f3dd7ab2bf0525c3c0926269a1e6d35a5343a6714315642370d8605a" PATCHES="nnn-$portVersion.patchset" @@ -60,9 +60,9 @@ PATCH() BUILD() { - CFLAGS="-I/boot/system/develop/headers/bsd -D_DEFAULT_SOURCE" \ + CFLAGS="-I/boot/system/develop/headers/gnu -I/boot/system/develop/headers/bsd -D_GNU_SOURCE -D_DEFAULT_SOURCE" \ LDFLAGS="-lgnu -lbsd" \ - make -f misc/haiku/Makefile O_NOX11=1 $jobArgs + make -f misc/haiku/Makefile $jobArgs } INSTALL()