Skip to content
Permalink
Browse files

hashkill: EAPI bump, update for testing, add openssl 1.1.0 API support

  • Loading branch information...
linxon committed Nov 8, 2019
1 parent 3ef65a3 commit f2c05ae4ad6b03e43df01bded886f13e8a5dbe61
@@ -1 +1 @@
DIST hashkill-0.3.1.tar.gz 16872469 SHA256 1f72d60e45eb97f6408f9ae3d708f7f4ecb50fc8be43ab2fc4e199800b1c2bdd SHA512 696a6621d3b6c03f08021dd3a4e2716038e9e49ecf5347068d9e1b25d607decaf4d28b7aeb617aebcd26ea24e726f87229b5d02fbd54c7f4aa189c194e629c83 WHIRLPOOL 678cbada15e1b5ddb2335958c1860e1c6339140c53aad04c23373fc6242f5a99f4b0557e4b2a8c3bef35984000bf0149fc80def4e365eae1aeab2d33ba54f743
DIST hashkill-0.3.1_p20140204.tar.gz 17241447 BLAKE2B 3b9240092432eb1b7d5953ac0146ed92ed5882325d8636203409c78841f4bd1d00bfefb3d8ed82f36f91f9d4d5204f3cc052e9697b934379047399ba82b1d046 SHA512 60285b8b6d426e52cdf9ea12a9b457ac7ac217e511fb1df79c27f14d1712db2f785b73fc72b576e89b0ecfa0c5dc5973a89920742b4e42fd33f72237ca0e14fa
@@ -0,0 +1,39 @@
From b075cd4bebe26754b2b5e6996c1f40c48e27cbdb Mon Sep 17 00:00:00 2001
From: Yury Martynov <email@linxon.ru>
Date: Fri, 8 Nov 2019 13:47:53 +0300
Subject: [PATCH] fix json-c detect

---
json.m4 | 2 +-
src/sessions.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/json.m4 b/json.m4
index c6d57ad..aca2c0f 100644
--- a/json.m4
+++ b/json.m4
@@ -64,7 +64,7 @@ fi
AC_LANG_SAVE
AC_LANG_C
AC_CHECK_LIB(json-c, json_tokener_parse, [jsonlib_cv_libjson=yes], [jsonlib_cv_libjson=no])
- AC_CHECK_HEADER(json/json.h, [jsonlib_cv_jsonlib_h=yes], [jsonlib_cv_jsonlib_h=no])
+ AC_CHECK_HEADER(json-c/json.h, [jsonlib_cv_jsonlib_h=yes], [jsonlib_cv_jsonlib_h=no])
AC_LANG_RESTORE
if test "$jsonlib_cv_libjson" = "yes" -a "$jsonlib_cv_jsonlib_h" = "yes" -a "$withval" != "no"
then
diff --git a/src/sessions.c b/src/sessions.c
index 63dafe9..e4784de 100644
--- a/src/sessions.c
+++ b/src/sessions.c
@@ -44,7 +44,7 @@
#include "sessions.h"

#ifdef HAVE_JSON_JSON_H
-#include <json/json.h>
+#include <json-c/json.h>
#endif


--
2.23.0

0 comments on commit f2c05ae

Please sign in to comment.
You can’t perform that action at this time.