Skip to Content.
Sympa Menu

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

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 (087f7a76858d3d9a6f4ce6fc6d7275ebf87f36c3)
  • Date: Sun, 29 Nov 2009 05:53:33 -0600

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

graphics/gbdfed/HISTORY | 4 ++++
graphics/gbdfed/PRE_BUILD | 1 +
graphics/gbdfed/getline.patch | 39 +++++++++++++++++++++++++++++++++++++++
3 files changed, 44 insertions(+)

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

gbdfed: fixed compilation with glibc >=2.10

diff --git a/graphics/gbdfed/HISTORY b/graphics/gbdfed/HISTORY
index 8ede296..ca427c8 100644
--- a/graphics/gbdfed/HISTORY
+++ b/graphics/gbdfed/HISTORY
@@ -1,3 +1,7 @@
+2009-11-29 Vlad Glagolev <stealth AT sourcemage.org>
+ * PRE_BUILD: apply patch
+ * getline.patch: added, to fix compilation wih glibc >=2.10
+
2009-03-06 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 1.5

diff --git a/graphics/gbdfed/PRE_BUILD b/graphics/gbdfed/PRE_BUILD
index 798f01e..088b619 100755
--- a/graphics/gbdfed/PRE_BUILD
+++ b/graphics/gbdfed/PRE_BUILD
@@ -1,4 +1,5 @@
default_pre_build &&
cd "$SOURCE_DIRECTORY" &&

+patch -p0 < "$SPELL_DIRECTORY/getline.patch" &&
patch -p0 < "$SPELL_DIRECTORY/Makefile.in.patch"
diff --git a/graphics/gbdfed/getline.patch b/graphics/gbdfed/getline.patch
new file mode 100644
index 0000000..b686b80
--- /dev/null
+++ b/graphics/gbdfed/getline.patch
@@ -0,0 +1,39 @@
+--- bdfgname.c.orig
++++ bdfgname.c
+@@ -39,7 +39,7 @@
+ #define MAX_GLYPH_NAME_LEN 127
+
+ static int
+-getline(FILE *in, char *buf, int limit)
++bdf_getline(FILE *in, char *buf, int limit)
+ {
+ int c, i;
+
+@@ -78,11 +78,11 @@
+
+ while (!feof(in)) {
+ pos = ftell(in);
+- (void) getline(in, buf, 256);
++ (void) bdf_getline(in, buf, 256);
+ while (!feof(in) && (buf[0] == 0 || buf[0] == '#')) {
+ buf[0] = 0;
+ pos = ftell(in);
+- (void) getline(in, buf, 256);
++ (void) bdf_getline(in, buf, 256);
+ }
+
+ if (buf[0] == 0)
+@@ -139,11 +139,11 @@
+
+ while (!feof(in)) {
+ pos = ftell(in);
+- (void) getline(in, buf, 256);
++ (void) bdf_getline(in, buf, 256);
+ while (!feof(in) && (buf[0] == 0 || buf[0] == '#')) {
+ buf[0] = 0;
+ pos = ftell(in);
+- (void) getline(in, buf, 256);
++ (void) bdf_getline(in, buf, 256);
+ }
+
+ if (adobe_names_used == adobe_names_size) {



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (087f7a76858d3d9a6f4ce6fc6d7275ebf87f36c3), Vlad Glagolev, 11/29/2009

Archive powered by MHonArc 2.6.24.

Top of Page