sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Peng Chang (Charles) (e031a7a9b09f41fdf821ccca38ad712a3d5837c6)
- From: "Peng Chang (Charles)" <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Peng Chang (Charles) (e031a7a9b09f41fdf821ccca38ad712a3d5837c6)
- Date: Wed, 30 Dec 2009 23:17:18 -0600
GIT changes to master grimoire by Peng Chang (Charles) <chp AT sourcemage.org>:
devel/scheme48/DETAILS | 6 +++---
devel/scheme48/HISTORY | 8 ++++++++
devel/scheme48/INSTALL | 5 +++++
devel/scheme48/PRE_BUILD | 4 ++++
devel/scheme48/haddr.patch | 14 ++++++++++++++
5 files changed, 34 insertions(+), 3 deletions(-)
New commits:
commit e031a7a9b09f41fdf821ccca38ad712a3d5837c6
Author: Peng Chang (Charles) <chp AT sourcemage.org>
Commit: Peng Chang (Charles) <chp AT sourcemage.org>
scheme48: => 1.8
diff --git a/devel/scheme48/DETAILS b/devel/scheme48/DETAILS
index cd47fe0..c39b670 100755
--- a/devel/scheme48/DETAILS
+++ b/devel/scheme48/DETAILS
@@ -1,9 +1,9 @@
SPELL=scheme48
- VERSION=1.3
+ VERSION=1.8
SOURCE=$SPELL-$VERSION.tgz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
- SOURCE_URL[0]=http://www.s48.org/1.3/$SOURCE
-
SOURCE_HASH=sha512:68c82d425e08fb3ff1db99af25ff3d9f1a8a29d0a9fa39c779a221db12a9ca29d54573e6b98bf0bfd27c2debc4abf308d26e8455db22f1ba3d68d2a4cca97e2f
+ SOURCE_URL[0]=http://www.s48.org/$VERSION/$SOURCE
+
SOURCE_HASH=sha512:1cae01ef1e282971ad0bad308a4d75fe24dcc629b09f711b54811d843f85f02cf3a728d19d44cdcc2699d071b27b2a0fb40c0ebb3a08db0f06a115e53e8b9e47
LICENSE[0]=BSD
WEB_SITE=http://www.s48.org
KEYWORDS="devel"
diff --git a/devel/scheme48/HISTORY b/devel/scheme48/HISTORY
index d4983fc..eb8605a 100644
--- a/devel/scheme48/HISTORY
+++ b/devel/scheme48/HISTORY
@@ -1,3 +1,11 @@
+2009-12-30 Peng Chang (Charles) <chp AT sourcemage.org>
+ * DETAILS: Fixed SOURCE_URL[0]
+ updated spell to 1.8
+ * INSTALL: make_single
+ * haddr.patch: a simple hack to make it compile in POSIX,
+ reported upstream
+ * PRE_BUILD: apply the above patch
+
2006-10-05 Anton Brondz <dinolinux AT sourcemage.org>
* DETAILS: updated to 1.3
diff --git a/devel/scheme48/INSTALL b/devel/scheme48/INSTALL
new file mode 100755
index 0000000..a6b25e2
--- /dev/null
+++ b/devel/scheme48/INSTALL
@@ -0,0 +1,5 @@
+cd $SOURCE_DIRECTORY &&
+
+make_single &&
+make install &&
+make_normal
diff --git a/devel/scheme48/PRE_BUILD b/devel/scheme48/PRE_BUILD
new file mode 100755
index 0000000..4000b8d
--- /dev/null
+++ b/devel/scheme48/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+
+cd $SOURCE_DIRECTORY &&
+patch -p1 < $SPELL_DIRECTORY/haddr.patch
diff --git a/devel/scheme48/haddr.patch b/devel/scheme48/haddr.patch
new file mode 100644
index 0000000..39ac6e1
--- /dev/null
+++ b/devel/scheme48/haddr.patch
@@ -0,0 +1,14 @@
+diff -aurp scheme48-1.8.orig/c/unix/socket.c scheme48-1.8/c/unix/socket.c
+--- scheme48-1.8.orig/c/unix/socket.c 2008-01-14 15:06:41.000000000 +0800
++++ scheme48-1.8/c/unix/socket.c 2009-12-30 13:01:03.000000000 +0800
+@@ -29,6 +29,10 @@
+ /* Henry Cejtin says that 5 is the largest safe number for this. */
+ #define LISTEN_QUEUE_SIZE 5
+
++#ifndef h_addr
++ #define h_addr h_addr_list[0]
++#endif
++
+ extern void s48_init_socket(void);
+ static s48_value s48_socket(s48_value udp_p, s48_value input_p),
+ s48_bind(s48_value socket_channel, s48_value number),
- [SM-Commit] GIT changes to master grimoire by Peng Chang (Charles) (e031a7a9b09f41fdf821ccca38ad712a3d5837c6), Peng Chang (Charles), 12/31/2009
Archive powered by MHonArc 2.6.24.