Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Sukneet Basuta (837c53326eefc41a9b6d747542c2af280047e3e1)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Sukneet Basuta <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Sukneet Basuta (837c53326eefc41a9b6d747542c2af280047e3e1)
  • Date: Wed, 30 May 2012 06:30:37 -0500

GIT changes to master grimoire by Sukneet Basuta <sukneet AT sourcemage.org>:

security-libs/libprelude/DETAILS | 2 +-
security-libs/libprelude/HISTORY | 5 +++++
security-libs/libprelude/PRE_BUILD | 4 ++++
security-libs/libprelude/libtool.patch | 21 +++++++++++++++++++++
4 files changed, 31 insertions(+), 1 deletion(-)

New commits:
commit 837c53326eefc41a9b6d747542c2af280047e3e1
Author: Sukneet Basuta <sukneet AT sourcemage.org>
Commit: Sukneet Basuta <sukneet AT sourcemage.org>

libprelude: => 1.0.0
libtool.patch: added, fixes compilation with libtool 2.4
PRE_BUILD: added to apply patch
NOTE: the build still fails with gnutls 3.0 branch. I couldn't find a
patch so I'll have to look into this when I can.I don't use this lib for
anything so it may be a while.

diff --git a/security-libs/libprelude/DETAILS
b/security-libs/libprelude/DETAILS
index 7f022c0..04627d1 100755
--- a/security-libs/libprelude/DETAILS
+++ b/security-libs/libprelude/DETAILS
@@ -1,5 +1,5 @@
SPELL=libprelude
- VERSION=0.9.24.1
+ VERSION=1.0.0
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE2=$SOURCE.sig
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
diff --git a/security-libs/libprelude/HISTORY
b/security-libs/libprelude/HISTORY
index 6bc6c17..3b1c4b3 100644
--- a/security-libs/libprelude/HISTORY
+++ b/security-libs/libprelude/HISTORY
@@ -1,3 +1,8 @@
+2012-05-30 Sukneet Basuta <sukneet AT sourcemage.org>
+ * DETAILS: updated spell to 1.0.0
+ * PRE_BUILD: added, to apply libtool 2.4 patch
+ * libtool.patch: added, fixes compilation with libtool 2.4
+
2011-12-17 Vlad Glagolev <stealth AT sourcemage.org>
* DEPENDS: lua -> lua51

diff --git a/security-libs/libprelude/PRE_BUILD
b/security-libs/libprelude/PRE_BUILD
new file mode 100755
index 0000000..3ce4e50
--- /dev/null
+++ b/security-libs/libprelude/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+
+patch -p1 < $SPELL_DIRECTORY/libtool.patch
diff --git a/security-libs/libprelude/libtool.patch
b/security-libs/libprelude/libtool.patch
new file mode 100644
index 0000000..c6f147f
--- /dev/null
+++ b/security-libs/libprelude/libtool.patch
@@ -0,0 +1,21 @@
+libtool 2.4 changed lt__PROGRAM__LTX_preloaded_symbols definition to
+
+extern LT_DLSYM_CONST lt_dlsymlist lt__PROGRAM__LTX_preloaded_symbols[];
+
+but there is no easy way to find its version to fix it properly, so it's a
+temporary hack to make at least libprelude compile.
+Index: libprelude-1.0.0/src/include/prelude-plugin.h
+===================================================================
+--- libprelude-1.0.0.orig/src/include/prelude-plugin.h 2010-11-06
21:30:18.000000000 +0300
++++ libprelude-1.0.0/src/include/prelude-plugin.h 2010-11-06
21:30:47.000000000 +0300
+@@ -61,9 +61,8 @@
+ */
+ #ifdef PRELUDE_APPLICATION_USE_LIBTOOL2
+ # define lt_preloaded_symbols lt__PROGRAM__LTX_preloaded_symbols
+-#endif
+-
+ extern const void *lt_preloaded_symbols[];
++#endif
+
+ #define PRELUDE_PLUGIN_SET_PRELOADED_SYMBOLS() \
+ prelude_plugin_set_preloaded_symbols(lt_preloaded_symbols)




Archive powered by MHonArc 2.6.24.

Top of Page