astyle: update to 3.5.

This commit is contained in:
suyun@aosc.io 2024-06-12 12:44:26 +08:00 committed by classabbyamp
parent 91367b5ab9
commit 431c53322a
2 changed files with 15 additions and 4 deletions

View File

@ -0,0 +1,11 @@
--- a/build/gcc/Makefile
+++ b/build/gcc/Makefile
@@ -36,7 +36,7 @@ SYSCONF_PATH=$(prefix)/share/doc/astyle
bindir = bin
objdir = obj
ipath=$(prefix)/bin
-CBASEFLAGS = -Wall -Wextra -fno-rtti -fno-exceptions -std=c++11
+CBASEFLAGS = -Wall -Wextra -fno-rtti -fno-exceptions -std=c++17
JAVAINCS = -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux
INSTALL=install -o $(USER) -g $(USER)

View File

@ -1,15 +1,15 @@
# Template file for 'astyle'
pkgname=astyle
version=3.1
revision=3
version=3.5
revision=1
build_wrksrc="build/gcc"
build_style=gnu-makefile
short_desc="Free, fast and small formatter for C, C++, C#, and Java source code"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://astyle.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}_${version}_linux.tar.gz"
checksum=cbcc4cf996294534bb56f025d6f199ebfde81aa4c271ccbd5ee1c1a3192745d7
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname/${pkgname}-${version}.tar.bz2"
checksum=defc1cb7bfa863bec470e836c257439a1199ca2c8b13a652a327fd78c8f5923c
do_install() {
vbin bin/astyle