Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (07f118e3e4752c4d167424d2bf0e9384a696f29e)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (07f118e3e4752c4d167424d2bf0e9384a696f29e)
  • Date: Sun, 11 Feb 2018 14:33:35 +0000

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

utils/countty/DETAILS | 1 +
utils/countty/HISTORY | 5 +++++
utils/countty/PRE_BUILD | 2 ++
utils/countty/exit_code.patch | 10 ++++++++++
4 files changed, 18 insertions(+)

New commits:
commit 07f118e3e4752c4d167424d2bf0e9384a696f29e
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

countty: added official patch for exit code

diff --git a/utils/countty/DETAILS b/utils/countty/DETAILS
index b18720d..e2834a0 100755
--- a/utils/countty/DETAILS
+++ b/utils/countty/DETAILS
@@ -1,5 +1,6 @@
SPELL=countty
VERSION=17.10
+ PATCHLEVEL=1
SOURCE=${SPELL}-${VERSION}.tar.gz
SOURCE_URL[0]=https://github.com/vain/${SPELL}/archive/v${VERSION}.tar.gz

SOURCE_HASH=sha512:8ac90533e281b658182a36ffa174050bf9cf67ce1b704c7c5a5941662857bfad6e2f9e571aca35a4677ddcdbd913a2b69cba1c3108536e5f522faf45abd64601
diff --git a/utils/countty/HISTORY b/utils/countty/HISTORY
index bf3ead6..bc5a5f3 100644
--- a/utils/countty/HISTORY
+++ b/utils/countty/HISTORY
@@ -1,2 +1,7 @@
+2018-02-11 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: PATCHLEVEL=1
+ * PRE_BUILD: apply patch
+ * exit_code.patch: added, official patch to fix exit code on interrupt
+
2018-02-10 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS, {PRE_,}BUILD, INSTALL: created spell, version 17.10
diff --git a/utils/countty/PRE_BUILD b/utils/countty/PRE_BUILD
index 3c3ee41..790c2a6 100755
--- a/utils/countty/PRE_BUILD
+++ b/utils/countty/PRE_BUILD
@@ -1,4 +1,6 @@
default_pre_build &&
cd "${SOURCE_DIRECTORY}" &&

+patch -p0 < "${SPELL_DIRECTORY}/exit_code.patch" &&
+
sedit "s:-O3::" Makefile
diff --git a/utils/countty/exit_code.patch b/utils/countty/exit_code.patch
new file mode 100644
index 0000000..b8b54ad
--- /dev/null
+++ b/utils/countty/exit_code.patch
@@ -0,0 +1,10 @@
+--- countty.c.orig
++++ countty.c
+@@ -282,5 +282,6 @@ main(int argc, char **argv)
+ wait_for_next_second(sync_fraction);
+ }
+
+- exit(EXIT_SUCCESS);
++ /* Aborted by SIGINT. */
++ exit(EXIT_FAILURE);
+ }



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (07f118e3e4752c4d167424d2bf0e9384a696f29e), Vlad Glagolev, 02/11/2018

Archive powered by MHonArc 2.6.24.

Top of Page