From 56ff924f0fecd1d670b173b2900ea50f261510e8 Mon Sep 17 00:00:00 2001 From: Anjandev Momi Date: Thu, 30 Jan 2020 00:15:48 -0800 Subject: [PATCH] arduino: update to 1.8.11. --- srcpkgs/arduino/patches/astyle_fix.patch | 34 ------ .../patches/disable-dependency-build.patch | 114 ------------------ srcpkgs/arduino/template | 6 +- 3 files changed, 3 insertions(+), 151 deletions(-) delete mode 100644 srcpkgs/arduino/patches/astyle_fix.patch delete mode 100644 srcpkgs/arduino/patches/disable-dependency-build.patch diff --git a/srcpkgs/arduino/patches/astyle_fix.patch b/srcpkgs/arduino/patches/astyle_fix.patch deleted file mode 100644 index 7b07f574420..00000000000 --- a/srcpkgs/arduino/patches/astyle_fix.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- astyle/src/astyle_main.cpp 2017-05-30 20:26:37.000000000 -0400 -+++ astyle/src/astyle_main.cpp 2019-09-11 20:38:02.155936887 -0400 -@@ -3749,7 +3749,7 @@ - // called by a java program to get the version number - // the function name is constructed from method names in the calling java program - extern "C" EXPORT --jstring STDCALL Java_AStyleInterface_AStyleGetVersion(JNIEnv* env, jclass) -+jstring STDCALL Java_cc_arduino_packages_formatter_AStyleInterface_AStyleGetVersion(JNIEnv* env, jclass) - { - return env->NewStringUTF(g_version); - } -@@ -3757,7 +3757,7 @@ - // called by a java program to format the source code - // the function name is constructed from method names in the calling java program - extern "C" EXPORT --jstring STDCALL Java_AStyleInterface_AStyleMain(JNIEnv* env, -+jstring STDCALL Java_cc_arduino_packages_formatter_AStyleInterface_AStyleMain(JNIEnv* env, - jobject obj, - jstring textInJava, - jstring optionsJava) ---- astyle/src/astyle_main.h 2017-05-30 20:26:37.000000000 -0400 -+++ astyle/src/astyle_main.h 2019-09-11 20:39:15.953536523 -0400 -@@ -406,9 +406,9 @@ - char* STDCALL javaMemoryAlloc(unsigned long memoryNeeded); - // the following function names are constructed from method names in the calling java program - extern "C" EXPORT --jstring STDCALL Java_AStyleInterface_AStyleGetVersion(JNIEnv* env, jclass); -+jstring STDCALL Java_cc_arduino_packages_formatter_AStyleInterface_AStyleGetVersion(JNIEnv* env, jclass); - extern "C" EXPORT --jstring STDCALL Java_AStyleInterface_AStyleMain(JNIEnv* env, -+jstring STDCALL Java_cc_arduino_packages_formatter_AStyleInterface_AStyleMain(JNIEnv* env, - jobject obj, - jstring textInJava, - jstring optionsJava); diff --git a/srcpkgs/arduino/patches/disable-dependency-build.patch b/srcpkgs/arduino/patches/disable-dependency-build.patch deleted file mode 100644 index 970decc78e1..00000000000 --- a/srcpkgs/arduino/patches/disable-dependency-build.patch +++ /dev/null @@ -1,114 +0,0 @@ ---- Arduino-1.8.9/build/build.xml.orig 2019-02-26 02:16:33.845398910 +0100 -+++ Arduino-1.8.9/build/build.xml 2019-02-26 02:22:56.667235290 +0100 -@@ -649,15 +649,6 @@ - - - -- -- -- -- -- -- -- -- -- - - - -@@ -674,15 +665,6 @@ - - - -- -- -- -- -- -- -- -- -- - - - -@@ -704,28 +686,9 @@ - - - -- -- -- -- -- -- -- -- -- -- - - - -- -- -- -- -- -- -- -- -- - - - -@@ -746,16 +709,6 @@ - - - -- -- -- -- -- -- -- -- -- -- - - - -@@ -764,16 +717,6 @@ - - - -- -- -- -- -- -- -- -- -- -- - - - -@@ -782,16 +725,6 @@ - - - -- -- -- -- -- -- -- -- -- -- - - - diff --git a/srcpkgs/arduino/template b/srcpkgs/arduino/template index fa30576f2f0..84525f568d2 100644 --- a/srcpkgs/arduino/template +++ b/srcpkgs/arduino/template @@ -1,7 +1,7 @@ # Template file for 'arduino' pkgname=arduino -version=1.8.9 -revision=2 +version=1.8.11 +revision=1 archs="x86_64* i686* aarch64* arm*" wrksrc=$pkgname-$version create_wrksrc=yes @@ -15,7 +15,7 @@ homepage="http://arduino.cc/" distfiles=" https://github.com/arduino/Arduino/archive/${version}.tar.gz ${SOURCEFORGE_SITE}/astyle/astyle_3.0.1_linux.tar.gz" -checksum="2fcdf989d7eacf052b357f1e4d3a1bf177c0e76110085ed0f78314ea47faacf0 +checksum="ba0a4ebdb5f46a4c7639b5b872da861e3be23c9ccd9df0a1b1fc7ea9f0271f2b 6c3ab029e0e4a75e2e603d449014374aa8269218fdd03a4aaa46ab743b1912fd" nostrip=yes