mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
package/joe: bump version to 4.4
Removed patch 0001 after bessel functions in uClibc were enabled by default: https://git.buildroot.net/buildroot/commit/package/uclibc?id=de56d58e5d26d78161ca3b7a1a2a4decfe4e89db Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
c90b973239
commit
9e3026c999
@ -1,50 +0,0 @@
|
|||||||
[PATCH] uClibc can be (and by default is) configured without bessel functions
|
|
||||||
|
|
||||||
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
|
|
||||||
---
|
|
||||||
umath.c | 10 ++++++++++
|
|
||||||
1 file changed, 10 insertions(+)
|
|
||||||
|
|
||||||
Index: joe-3.7/umath.c
|
|
||||||
===================================================================
|
|
||||||
--- joe-3.7.orig/umath.c
|
|
||||||
+++ joe-3.7/umath.c
|
|
||||||
@@ -7,6 +7,12 @@
|
|
||||||
*/
|
|
||||||
#include "types.h"
|
|
||||||
|
|
||||||
+/* uClibc can be configured without bessel functions */
|
|
||||||
+#include <features.h>
|
|
||||||
+#if defined (__UCLIBC__) && !defined(__DO_XSI_MATH__)
|
|
||||||
+#define NO_BESSEL
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
unsigned char *merr;
|
|
||||||
|
|
||||||
int mode_hex;
|
|
||||||
@@ -396,10 +402,12 @@
|
|
||||||
double m_fabs(double n) { return fabs(n); }
|
|
||||||
double m_erf(double n) { return erf(n); }
|
|
||||||
double m_erfc(double n) { return erfc(n); }
|
|
||||||
+#ifndef NO_BESSEL
|
|
||||||
double m_j0(double n) { return j0(n); }
|
|
||||||
double m_j1(double n) { return j1(n); }
|
|
||||||
double m_y0(double n) { return y0(n); }
|
|
||||||
double m_y1(double n) { return y1(n); }
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
double calc(BW *bw, unsigned char *s)
|
|
||||||
{
|
|
||||||
@@ -434,10 +442,12 @@
|
|
||||||
v = get(USTR "abs"); v->func = m_fabs;
|
|
||||||
v = get(USTR "erf"); v->func = m_erf;
|
|
||||||
v = get(USTR "erfc"); v->func = m_erfc;
|
|
||||||
+#ifndef NO_BESSEL
|
|
||||||
v = get(USTR "j0"); v->func = m_j0;
|
|
||||||
v = get(USTR "j1"); v->func = m_j1;
|
|
||||||
v = get(USTR "y0"); v->func = m_y0;
|
|
||||||
v = get(USTR "y1"); v->func = m_y1;
|
|
||||||
+#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
v = get(USTR "top");
|
|
@ -1,2 +1,5 @@
|
|||||||
|
# From https://sourceforge.net/projects/joe-editor/files/JOE%20sources/joe-4.4/
|
||||||
|
sha1 aedf1ac9e6b91053aa26c70e7bba5bbd8136f033 joe-4.4.tar.gz
|
||||||
|
md5 59e63debe60b456a6ee5c0c27a756a47 joe-4.4.tar.gz
|
||||||
# Locally computed:
|
# Locally computed:
|
||||||
sha256 cae456e1ad5a8c1d3c94920a3416c2347277739b260e3494d3bc0f2b9b73106f joe-3.7.tar.gz
|
sha256 a5704828bbca29acb9e200414fef522c66cdf9ce28150f402d6767da43460979 joe-4.4.tar.gz
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
JOE_VERSION = 3.7
|
JOE_VERSION = 4.4
|
||||||
JOE_SITE = http://downloads.sourceforge.net/project/joe-editor/JOE%20sources/joe-$(JOE_VERSION)
|
JOE_SITE = http://downloads.sourceforge.net/project/joe-editor/JOE%20sources/joe-$(JOE_VERSION)
|
||||||
JOE_LICENSE = GPL-1.0+
|
JOE_LICENSE = GPL-1.0+
|
||||||
JOE_LICENSE_FILES = COPYING
|
JOE_LICENSE_FILES = COPYING
|
||||||
@ -18,7 +18,7 @@ endif
|
|||||||
|
|
||||||
ifneq ($(BR2_PACKAGE_JOE_FULL),y)
|
ifneq ($(BR2_PACKAGE_JOE_FULL),y)
|
||||||
define JOE_INSTALL_TARGET_CMDS
|
define JOE_INSTALL_TARGET_CMDS
|
||||||
$(INSTALL) -m 0755 -D $(@D)/joe $(TARGET_DIR)/usr/bin/joe
|
$(INSTALL) -m 0755 -D $(@D)/joe/joe $(TARGET_DIR)/usr/bin/joe
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user