From: Suyun114 <Suyun114@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] astyle: update to 3.5.
Date: Thu, 13 Jun 2024 03:34:59 +0200 [thread overview]
Message-ID: <20240613013459.2A88E2652F@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-50801@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1104 bytes --]
There is an updated pull request by Suyun114 against master on the void-packages repository
https://github.com/Suyun114/void-packages astyle
https://github.com/void-linux/void-packages/pull/50801
astyle: update to 3.5.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
A patch file from https://github.com/void-linux/void-packages/pull/50801.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-astyle-50801.patch --]
[-- Type: text/x-diff, Size: 1927 bytes --]
From dd0303b42b4975fa1196611526afdb8e172f8ae8 Mon Sep 17 00:00:00 2001
From: "suyun@aosc.io" <suyun@aosc.io>
Date: Wed, 12 Jun 2024 12:44:26 +0800
Subject: [PATCH] astyle: update to 3.5.
---
srcpkgs/astyle/patches/enable-cpp17.patch | 11 +++++++++++
srcpkgs/astyle/template | 8 ++++----
2 files changed, 15 insertions(+), 4 deletions(-)
create mode 100644 srcpkgs/astyle/patches/enable-cpp17.patch
diff --git a/srcpkgs/astyle/patches/enable-cpp17.patch b/srcpkgs/astyle/patches/enable-cpp17.patch
new file mode 100644
index 00000000000000..8afef0a3916fac
--- /dev/null
+++ b/srcpkgs/astyle/patches/enable-cpp17.patch
@@ -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)
+
diff --git a/srcpkgs/astyle/template b/srcpkgs/astyle/template
index 6e91786676dd0a..504e43bf20a81f 100644
--- a/srcpkgs/astyle/template
+++ b/srcpkgs/astyle/template
@@ -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
next prev parent reply other threads:[~2024-06-13 1:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-12 7:35 [PR PATCH] " Suyun114
2024-06-12 11:50 ` [PR PATCH] [Updated] " Suyun114
2024-06-12 15:53 ` Luciogi
2024-06-12 16:17 ` classabbyamp
2024-06-13 1:34 ` Suyun114 [this message]
2024-06-14 3:51 ` [PR PATCH] [Merged]: " classabbyamp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240613013459.2A88E2652F@inbox.vuxu.org \
--to=suyun114@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).