Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (03a0e6b24968bf3d7ee17705133964f3f09b3ebe)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Jaka Kranjc <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (03a0e6b24968bf3d7ee17705133964f3f09b3ebe)
  • Date: Mon, 25 Aug 2008 11:43:11 -0500

GIT changes to master grimoire by Jaka Kranjc <lynxlynxlynx AT sourcemage.org>:

ChangeLog | 4 ++++
libcompat | 17 +++++++++++++----
2 files changed, 17 insertions(+), 4 deletions(-)

New commits:
commit 03a0e6b24968bf3d7ee17705133964f3f09b3ebe
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>

libcompat: added runtime_depends_2 which is a noop on system without
runtime_depends and the same as runtime_depends on others

diff --git a/ChangeLog b/ChangeLog
index 9f25c42..049813e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-08-22 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+ * libcompat: added runtime_depends_2 which is a noop on system without
+ runtime_depends and the same as runtime_depends on others
+
2008-08-24 George Sherwood <gsherwood AT sourcemage.org>
* chat-im/carrier: new spell, rename of funpidgin

diff --git a/libcompat b/libcompat
index e99926b..c924e3c 100755
--- a/libcompat
+++ b/libcompat
@@ -52,10 +52,19 @@ else
fi

# fall back to depends if runtime_depends isn't implemented
-declare -f runtime_depends &> /dev/null ||
-function runtime_depends() {
- depends "$@"
-}
+if declare -f runtime_depends &> /dev/null; then
+ function runtime_depends_2() {
+ runtime_depends "$@"
+ }
+else
+ function runtime_depends() {
+ depends "$@"
+ }
+
+ function runtime_depends_2() {
+ true
+ }
+fi

declare -f is_depends_enabled &>/dev/null ||
function is_depends_enabled() {



  • [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (03a0e6b24968bf3d7ee17705133964f3f09b3ebe), Jaka Kranjc, 08/25/2008

Archive powered by MHonArc 2.6.24.

Top of Page