mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
netsniff-ng: new package
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
From 505dde6ac50689ec2ba50a1f0087eb8a9ff1f419 Mon Sep 17 00:00:00 2001
|
||||
From: Toni Uhlig <matzeton@googlemail.com>
|
||||
Date: Mon, 18 May 2020 20:12:17 +0200
|
||||
Subject: [PATCH] fix ncurses check during configure
|
||||
|
||||
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
|
||||
---
|
||||
configure | 5 +----
|
||||
1 file changed, 1 insertion(+), 4 deletions(-)
|
||||
|
||||
diff --git a/configure b/configure
|
||||
index ceda000..f843d64 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -434,11 +434,8 @@ int main(void)
|
||||
EOF
|
||||
|
||||
$CC $CFLAGS $LDFLAGS \
|
||||
- $($PKG_CONFIG --cflags ncurses 2>> config.log) \
|
||||
-o $TMPDIR/ncursestest $TMPDIR/ncursestest.c \
|
||||
- $($PKG_CONFIG --libs ncurses 2>> config.log \
|
||||
- || echo '-lncurses' ) \
|
||||
- >> config.log 2>&1
|
||||
+ -lncurses 2>> config.log
|
||||
if [ ! -x $TMPDIR/ncursestest ] ; then
|
||||
echo "[NO]"
|
||||
MISSING_DEFS=1
|
||||
--
|
||||
2.20.1
|
||||
|
||||
Reference in New Issue
Block a user