Skip to content
Snippets Groups Projects
Commit 72273f67 authored by Patrycja Rosa's avatar Patrycja Rosa :cat: Committed by alice
Browse files

community/sngrep: upgrade to 1.7.0

parent 8dbf71a0
No related branches found
No related tags found
1 merge request!45949community/sngrep: upgrade to 1.7.0
Pipeline #159879 skipped
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=sngrep
pkgver=1.6.0
pkgrel=1
pkgver=1.7.0
pkgrel=0
pkgdesc="display SIP call message flows from a terminal"
url="https://github.com/irontec/sngrep"
arch="all !ppc64le"
......@@ -13,7 +13,6 @@ makedepends="autoconf automake ncurses-dev libpcap-dev
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/irontec/sngrep/archive/v$pkgver.tar.gz
disable-failing-test.patch
implicit-decl.patch
"
prepare() {
......@@ -43,7 +42,6 @@ package() {
}
sha512sums="
bca3192e1aacf4152f566925fd075dfd957cbe87017c8258303c8689f1221ea082f337866db45cb5ada0629f7cc4b66ce73b74a911d230c63d10fefa19aaebe3 sngrep-1.6.0.tar.gz
ecf31d61643ecc9ba1a9fe7759ae8c2c65fcbf6886ed263def2993dd6900eb9aeaddce8ebbde71e1ec57fbdc11a388de05f7c13f4587714e3b3e33689cf591b0 sngrep-1.7.0.tar.gz
7fc1e65fb0fbb81118b7484fefc6501bfc0c87314f3d6dc7c974dc41b8fae38ba0f48d66d4234e3f9d81a63facc42ea8c15fb0f6120f86dc3b4c9b09d1b9539a disable-failing-test.patch
07629b508e364688d35c655e149af5e41fb89c096fd3b7a8c337a3b69b62792fb7180634fd56de09f3a90b0ce2b2e331da0bef0738c609169d5f6e6f928ba0c3 implicit-decl.patch
"
From ecdcc6e06ef2ea3e2aa39ddaf498731874155317 Mon Sep 17 00:00:00 2001
From: psykose <alice@ayaya.dev>
Date: Mon, 9 Jan 2023 06:58:23 +0000
Subject: [PATCH] ui: import strings.h and config.h
strings.h required for strncasecmp, fixes an implicit function
declaration
config.h needed for the actual configuration, it sets -D_GNU_SOURCE that
is needed for strsep.
---
src/curses/ui_manager.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/curses/ui_manager.c b/src/curses/ui_manager.c
index 15a89d1..2358a84 100644
--- a/src/curses/ui_manager.c
+++ b/src/curses/ui_manager.c
@@ -26,9 +26,12 @@
* @brief Source of functions defined in ui_manager.h
*
*/
+#include "config.h"
+
#include <ctype.h>
#include <stdio.h>
#include <string.h>
+#include <strings.h>
#include <math.h>
#include <stdlib.h>
#include <locale.h>
--
2.39.0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment