Skip to Content.
Sympa Menu

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

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 (93f7aed6e47c12cb1f03e1435a7fd4ebad333585)
  • Date: Fri, 5 Oct 2012 05:14:35 -0500

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

libs/neon/DETAILS | 2 +-
libs/neon/HISTORY | 5 +++++
libs/neon/PRE_BUILD | 4 ++++
libs/neon/spaces.patch | 22 ++++++++++++++++++++++
4 files changed, 32 insertions(+), 1 deletion(-)

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

neon: fixed file names with spaces
(http://savannah.nongnu.org/support/?107114)

diff --git a/libs/neon/DETAILS b/libs/neon/DETAILS
index 111d4c4..62ff43e 100755
--- a/libs/neon/DETAILS
+++ b/libs/neon/DETAILS
@@ -1,7 +1,7 @@
SPELL=neon
VERSION=0.29.6
SECURITY_PATCH=2
- PATCHLEVEL=2
+ PATCHLEVEL=3
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE2=$SOURCE.asc
SOURCE2_IGNORE=signature
diff --git a/libs/neon/HISTORY b/libs/neon/HISTORY
index 53c2004..c248e9d 100644
--- a/libs/neon/HISTORY
+++ b/libs/neon/HISTORY
@@ -1,3 +1,8 @@
+2012-10-05 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: PATCHLEVEL++
+ * PRE_BUILD: added, to apply the patch
+ * spaces.patch: added, to fix urls and file names containing spaces
+
2012-05-24 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: PATCHLEVEL++; cleaned up; quoting paths; replaced tabs with
spaces
diff --git a/libs/neon/PRE_BUILD b/libs/neon/PRE_BUILD
new file mode 100755
index 0000000..4077f33
--- /dev/null
+++ b/libs/neon/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+patch -p1 < "$SPELL_DIRECTORY/spaces.patch"
diff --git a/libs/neon/spaces.patch b/libs/neon/spaces.patch
new file mode 100644
index 0000000..9df8abd
--- /dev/null
+++ b/libs/neon/spaces.patch
@@ -0,0 +1,22 @@
+diff --git a/src/ne_uri.c b/src/ne_uri.c
+index 8d86c31..a930b9c 100644
+--- a/src/ne_uri.c
++++ b/src/ne_uri.c
+@@ -96,7 +96,7 @@ static const unsigned int uri_chars[256] = {
+ /* 0xXX x0 x2 x4 x6 x8 xA xC xE */
+ /* 0x */ OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT,
+ /* 1x */ OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT,
+-/* 2x */ OT, SD, OT, GD, SD, PC, SD, SD, SD, SD, SD, PS, SD, DS, DT, FS,
++/* 2x */ AL, SD, OT, GD, SD, PC, SD, SD, SD, SD, SD, PS, SD, DS, DT, FS,
+ /* 3x */ DG, DG, DG, DG, DG, DG, DG, DG, DG, DG, CL, SD, OT, SD, OT, QU,
+ /* 4x */ AT, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
+ /* 5x */ AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, GD, OT, GD, OT, US,
+@@ -475,7 +475,7 @@ char *ne_path_unescape(const char *uri)
+
+ /* CH must be an unsigned char; evaluates to 1 if CH should be
+ * percent-encoded. */
+-#define path_escape_ch(ch) (uri_lookup(ch) & URI_ESCAPE)
++#define path_escape_ch(ch) ((ch == ' ') | (uri_lookup(ch) & URI_ESCAPE))
+
+ char *ne_path_escape(const char *path)
+ {



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (93f7aed6e47c12cb1f03e1435a7fd4ebad333585), Vlad Glagolev, 10/05/2012

Archive powered by MHonArc 2.6.24.

Top of Page