git: e0aac4727d34 - main - devel/libastylej-arduino: update 3.0.1 -> 3.6.19

From: Rodrigo Osorio <rodrigo_at_FreeBSD.org>
Date: Sun, 18 Oct 2026 08:17:38 UTC
The branch main has been updated by rodrigo:

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

commit e0aac4727d34e8f821955f99c0f0b890d2e2ce62
Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2026-10-18 07:30:49 +0000
Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2026-10-18 08:14:10 +0000

    devel/libastylej-arduino: update 3.0.1 -> 3.6.19
    
    Changelog: https://astyle.sourceforge.net/notes.html
    
    Remove patches, not required anymore
---
 devel/libastylej-arduino/Makefile                    |  3 ---
 .../files/patch-src_astyle__main.cpp                 | 20 --------------------
 .../files/patch-src_astyle__main.h                   | 14 --------------
 3 files changed, 37 deletions(-)

diff --git a/devel/libastylej-arduino/Makefile b/devel/libastylej-arduino/Makefile
index 429582c6e392..63455f21242e 100644
--- a/devel/libastylej-arduino/Makefile
+++ b/devel/libastylej-arduino/Makefile
@@ -1,7 +1,4 @@
 PKGNAMESUFFIX=	-arduino
 MASTERDIR=	${.CURDIR}/../libastylej
 
-PATCHDIR=	${.CURDIR}/files
-PATCH_WRKSRC=	${WRKSRC}/../..
-
 .include "${MASTERDIR}/Makefile"
diff --git a/devel/libastylej-arduino/files/patch-src_astyle__main.cpp b/devel/libastylej-arduino/files/patch-src_astyle__main.cpp
deleted file mode 100644
index 9aa73d2454c7..000000000000
--- a/devel/libastylej-arduino/files/patch-src_astyle__main.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/astyle_main.cpp.orig	2016-10-19 22:42:21 UTC
-+++ src/astyle_main.cpp
-@@ -3550,7 +3550,7 @@ using namespace astyle;
- // 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);
- }
-@@ -3558,7 +3558,7 @@ jstring STDCALL Java_AStyleInterface_ASt
- // 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)
diff --git a/devel/libastylej-arduino/files/patch-src_astyle__main.h b/devel/libastylej-arduino/files/patch-src_astyle__main.h
deleted file mode 100644
index f57917739d0b..000000000000
--- a/devel/libastylej-arduino/files/patch-src_astyle__main.h
+++ /dev/null
@@ -1,14 +0,0 @@
---- src/astyle_main.h.orig	2016-10-19 22:42:25 UTC
-+++ src/astyle_main.h
-@@ -422,9 +422,9 @@ void  STDCALL javaErrorHandler(int error
- 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);