Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ismael Luceno (b6ebff83504a696911efec1ed38c0e0b63006114)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (b6ebff83504a696911efec1ed38c0e0b63006114)
  • Date: Fri, 30 Aug 2019 19:58:36 +0000

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

archive/dar/DETAILS | 4 ++--
archive/dar/HISTORY | 4 ++++
archive/dar/PRE_BUILD | 3 +++
archive/dar/patches/musl-getopt.patch | 13 +++++++++++++
4 files changed, 22 insertions(+), 2 deletions(-)

New commits:
commit b6ebff83504a696911efec1ed38c0e0b63006114
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

dar: Fix build against musl

commit a17a3eeeeeec87beaecfa2e8153a68f9c996cc8a
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

dar 2.6.5

diff --git a/archive/dar/DETAILS b/archive/dar/DETAILS
index 1a6b8bf..92110d9 100755
--- a/archive/dar/DETAILS
+++ b/archive/dar/DETAILS
@@ -1,6 +1,6 @@
SPELL=dar
- VERSION=2.4.15
-
SOURCE_HASH=sha512:5c438c47c54d2c38ae8ab09bb109086f4a531b10883a2e7f9be351f93c1fa536bb6511117b786572a0caf8170fc9700716a4efcacb42bfeedc9e23ed31c262cf
+ VERSION=2.6.5
+
SOURCE_HASH=sha512:e646ac51c5c140ca3e573a4e63ba47af6fcf19c0aeaa0d4791dd7e781478c8981cd31e1a2418d2f1fd8ab92f2c9812f3b712bc0fcbbcdfbd131c8937100a4790
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_URL[0]=http://downloads.sourceforge.net/sourceforge/$SPELL/$SOURCE
SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL}-${VERSION}
diff --git a/archive/dar/HISTORY b/archive/dar/HISTORY
index 807d2ea..56685b7 100644
--- a/archive/dar/HISTORY
+++ b/archive/dar/HISTORY
@@ -1,3 +1,7 @@
+2019-08-30 Ismael Luceno <ismael AT sourcemage.org>
+ * DETAILS: updated spell to 2.6.5
+ * PRE_BUILD, patches/musl-getopt.patch: Fixed build against musl
+
2015-05-25 Thomas Orgis <sobukus AT sourcemage.org>
* DETAILS: remove SOURCEFORGE_URL usage (automated)

diff --git a/archive/dar/PRE_BUILD b/archive/dar/PRE_BUILD
new file mode 100755
index 0000000..c230ad1
--- /dev/null
+++ b/archive/dar/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+apply_patch_dir patches
diff --git a/archive/dar/patches/musl-getopt.patch
b/archive/dar/patches/musl-getopt.patch
new file mode 100644
index 0000000..c2d9478
--- /dev/null
+++ b/archive/dar/patches/musl-getopt.patch
@@ -0,0 +1,13 @@
+--- a/src/dar_suite/my_getopt_long.h
++++ b/src/dar_suite/my_getopt_long.h
+@@ -27,6 +27,10 @@
+ #ifndef MY_GETOPT_LONG_H
+ #define MY_GETOPT_LONG_H
+
++#if !defined(__GLIBC__) && defined(__linux__)
++extern int optreset; /* not defined by musl */
++#endif
++
+ // getopt may be declated in <unistd.h> on systems like FreeBSD.
+ // if you want to use libgnugetopt you need to include <getopt.h>
+ // on this system. Thus a conflict appear because the getopt is



  • [SM-Commit] GIT changes to master grimoire by Ismael Luceno (b6ebff83504a696911efec1ed38c0e0b63006114), Ismael Luceno, 08/30/2019

Archive powered by MHonArc 2.6.24.

Top of Page