Skip to Content.
Sympa Menu

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

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 (c0c0ea86a07ab9ee4689f252d3e2d75e9939e0c8)
  • Date: Fri, 6 Mar 2015 05:28:33 -0600

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

http/links-twibright/HISTORY | 4 ++++
http/links-twibright/PRE_BUILD | 7 +++++++
http/links-twibright/libressl.patch | 17 +++++++++++++++++
3 files changed, 28 insertions(+)

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

links-twibright: fixed build with libressl

diff --git a/http/links-twibright/HISTORY b/http/links-twibright/HISTORY
index 673b553..4a74038 100644
--- a/http/links-twibright/HISTORY
+++ b/http/links-twibright/HISTORY
@@ -1,3 +1,7 @@
+2015-03-06 Vlad Glagolev <stealth AT sourcemage.org>
+ * PRE_BUILD: optionally apply a patch
+ * libressl.patch: added, to fix build with libressl
+
2014-12-25 Ladislav Hagara <hgr AT vabo.cz>
* DETAILS: 2.9

diff --git a/http/links-twibright/PRE_BUILD b/http/links-twibright/PRE_BUILD
new file mode 100755
index 0000000..6efb37b
--- /dev/null
+++ b/http/links-twibright/PRE_BUILD
@@ -0,0 +1,7 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+# the patch drops EGD support for LibreSSL, so make it optional
+if is_depends_enabled $SPELL $(get_spell_provider $SPELL SSL) && [[
$(get_spell_provider $SPELL SSL) == "libressl" ]]; then
+ patch -p1 < "$SPELL_DIRECTORY/libressl.patch"
+fi
diff --git a/http/links-twibright/libressl.patch
b/http/links-twibright/libressl.patch
new file mode 100644
index 0000000..2b89393
--- /dev/null
+++ b/http/links-twibright/libressl.patch
@@ -0,0 +1,17 @@
+diff -Naur links-2.8/https.c links-2.8-1/https.c
+--- links-2.8/https.c 2013-09-20 23:17:00.000000000 +0200
++++ links-2.8-1/https.c 2014-07-17 10:24:34.338197062 +0200
+@@ -36,11 +36,8 @@
+ unsigned os_pool_size;
+
+ const unsigned char *f = (const unsigned char
*)RAND_file_name(cast_char f_randfile, sizeof(f_randfile));
+- if (f && RAND_egd(cast_const_char f) < 0) {
+- /* Not an EGD, so read and write to it */
+- if (RAND_load_file(cast_const_char f_randfile, -1))
+- RAND_write_file(cast_const_char f_randfile);
+- }
++ if (RAND_load_file(cast_const_char f_randfile, -1))
++ RAND_write_file(cast_const_char f_randfile);
+
+ os_seed_random(&os_pool, &os_pool_size);
+ if (os_pool_size) RAND_add(os_pool, os_pool_size,
os_pool_size);



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (c0c0ea86a07ab9ee4689f252d3e2d75e9939e0c8), Vlad Glagolev, 03/06/2015

Archive powered by MHonArc 2.6.24.

Top of Page