mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
edfbrowser: bump to 1.74 (#4882)
Signed-off-by: Stefano Cotta Ramusino <whitone@gmail.com>
This commit is contained in:
committed by
GitHub
parent
16a72922da
commit
8d0f42d4e6
@@ -5,13 +5,12 @@ BioImpedance, etc."
|
||||
HOMEPAGE="https://www.teuniz.net/edfbrowser"
|
||||
COPYRIGHT="2007-2020 Teunis van Beelen"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="2"
|
||||
REVISION="1"
|
||||
EDFBROWSER_VERSION=`echo $portVersion | sed 's/\.//g'`
|
||||
SOURCE_URI="https://www.teuniz.net/edfbrowser/edfbrowser_${EDFBROWSER_VERSION}_source.tar.gz"
|
||||
CHECKSUM_SHA256="5d799c121e6b254893cef403bea9ca44722765fb9f8ff4e4520976329fb218b3"
|
||||
CHECKSUM_SHA256="1a13eb4122fd09d05e3d01f40a3e71fd7a6c8bf6f76df0f4ee59e675fbe50cf4"
|
||||
SOURCE_FILENAME="edfbrowser-$portVersion.tar.gz"
|
||||
SOURCE_DIR="edfbrowser_${EDFBROWSER_VERSION}_source"
|
||||
PATCHES="edfbrowser-$portVersion.patchset"
|
||||
ADDITIONAL_FILES="edfbrowser.rdef.in"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
@@ -1,62 +0,0 @@
|
||||
From 35ed114caa2425c4325ec72cef6aac186673b248 Mon Sep 17 00:00:00 2001
|
||||
From: Stefano Cotta Ramusino <whitone@protonmail.com>
|
||||
Date: Sun, 29 Mar 2020 15:57:46 +0000
|
||||
Subject: Added support for Haiku
|
||||
|
||||
Signed-off-by: Stefano Cotta Ramusino <whitone@protonmail.com>
|
||||
|
||||
diff --git a/edflib.c b/edflib.c
|
||||
index 35a6c5a..91c754f 100644
|
||||
--- a/edflib.c
|
||||
+++ b/edflib.c
|
||||
@@ -46,7 +46,7 @@
|
||||
#define EDFLIB_MAXFILES 64
|
||||
|
||||
|
||||
-#if defined(__APPLE__) || defined(__MACH__) || defined(__APPLE_CC__)
|
||||
+#if defined(__APPLE__) || defined(__MACH__) || defined(__APPLE_CC__) || defined(__HAIKU__)
|
||||
|
||||
#define fopeno fopen
|
||||
|
||||
diff --git a/global.h b/global.h
|
||||
index 7516490..8ae8b60 100644
|
||||
--- a/global.h
|
||||
+++ b/global.h
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
-#if defined(__APPLE__) || defined(__MACH__) || defined(__APPLE_CC__)
|
||||
+#if defined(__APPLE__) || defined(__MACH__) || defined(__APPLE_CC__) || defined(__HAIKU__)
|
||||
|
||||
#define fopeno fopen
|
||||
|
||||
diff --git a/utils.c b/utils.c
|
||||
index e443c8c..3cc000b 100644
|
||||
--- a/utils.c
|
||||
+++ b/utils.c
|
||||
@@ -2141,7 +2141,7 @@ char * strtok_r_e(char *str, const char *delim, char **saveptr)
|
||||
* plus the length of src. While this may seem somewhat confusing,
|
||||
* it was done to make truncation detection simple."
|
||||
*/
|
||||
-#if defined(__APPLE__) || defined(__MACH__) || defined(__APPLE_CC__) || defined(__FreeBSD__)
|
||||
+#if defined(__APPLE__) || defined(__MACH__) || defined(__APPLE_CC__) || defined(__FreeBSD__) || defined(__HAIKU__)
|
||||
/* nothing here */
|
||||
#else
|
||||
int strlcpy(char *dst, const char *src, int sz)
|
||||
diff --git a/utils.h b/utils.h
|
||||
index 7fda60b..4e3e125 100644
|
||||
--- a/utils.h
|
||||
+++ b/utils.h
|
||||
@@ -107,7 +107,7 @@ int base64_dec(const void *, void *, int);
|
||||
* plus the length of src. While this may seem somewhat confusing,
|
||||
* it was done to make truncation detection simple."
|
||||
*/
|
||||
-#if defined(__APPLE__) || defined(__MACH__) || defined(__APPLE_CC__) || defined(__FreeBSD__)
|
||||
+#if defined(__APPLE__) || defined(__MACH__) || defined(__APPLE_CC__) || defined(__FreeBSD__) || defined(__HAIKU__)
|
||||
/* nothing here */
|
||||
#else
|
||||
int strlcpy(char *, const char *, int);
|
||||
--
|
||||
2.26.0
|
||||
|
||||
Reference in New Issue
Block a user