git: d98899dec660 - main - misc/edflib: Update 1.21 -> 1.22

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 01 Aug 2022 06:47:50 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d98899dec66061aa2d3ba0cbc7869f25fdb4a75a

commit d98899dec66061aa2d3ba0cbc7869f25fdb4a75a
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-08-01 06:26:11 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-08-01 06:47:44 +0000

    misc/edflib: Update 1.21 -> 1.22
---
 misc/edflib/Makefile             |  2 +-
 misc/edflib/distinfo             |  6 +++---
 misc/edflib/files/patch-edflib.c | 10 +++++-----
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/misc/edflib/Makefile b/misc/edflib/Makefile
index 133200a027b0..7f4c84ab41c5 100644
--- a/misc/edflib/Makefile
+++ b/misc/edflib/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	edflib
-DISTVERSION=	1.21
+DISTVERSION=	1.22
 CATEGORIES=	misc # medicine
 MASTER_SITES=	https://www.teuniz.net/edflib/
 DISTNAME=	${PORTNAME}_${DISTVERSION:S/.//}
diff --git a/misc/edflib/distinfo b/misc/edflib/distinfo
index feffd2bf4514..3c26baf80e6c 100644
--- a/misc/edflib/distinfo
+++ b/misc/edflib/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1644090311
-SHA256 (edflib_121.tar.gz) = 7a8702faa901c370c7ae8e6851cb4feb75579ea1d94a0e9bd5b69ea9585e54ae
-SIZE (edflib_121.tar.gz) = 54379
+TIMESTAMP = 1659334729
+SHA256 (edflib_122.tar.gz) = 59a98214dd8669281ce66e2168a8f50a73ec267b50a4b4d71794d6af170907cc
+SIZE (edflib_122.tar.gz) = 54898
diff --git a/misc/edflib/files/patch-edflib.c b/misc/edflib/files/patch-edflib.c
index 7668824a1a4f..f10d253e52aa 100644
--- a/misc/edflib/files/patch-edflib.c
+++ b/misc/edflib/files/patch-edflib.c
@@ -1,11 +1,11 @@
---- edflib.c.orig	2021-01-21 18:05:07 UTC
+--- edflib.c.orig	2022-06-27 17:02:20 UTC
 +++ edflib.c
-@@ -46,7 +46,7 @@
+@@ -38,7 +38,7 @@
+ #define EDFLIB_VERSION  (122)
  #define EDFLIB_MAXFILES  (64)
  
- 
--#if defined(__APPLE__) || defined(__MACH__) || defined(__APPLE_CC__) || defined(__HAIKU__)
-+#if defined(__APPLE__) || defined(__MACH__) || defined(__APPLE_CC__) || defined(__HAIKU__) || defined(__FreeBSD__)
+-#if defined(__APPLE__) || defined(__MACH__) || defined(__APPLE_CC__) || defined(__HAIKU__) || defined(__ANDROID__)
++#if defined(__APPLE__) || defined(__MACH__) || defined(__APPLE_CC__) || defined(__HAIKU__) || defined(__ANDROID__) || defined(__FreeBSD__)
  
  #define fopeno fopen