[SM-Commit] GIT changes to master grimoire by Elisamuel Resto (e6c87f69675fe210fef9ce5d4a0c8b847be5fb56)

Elisamuel Resto scm at sourcemage.org
Fri Jul 24 22:59:48 EDT 2009


GIT changes to master grimoire by Elisamuel Resto <ryuji at ryuji-x86.vm.shlrm.org>:

 devel/bin86/HISTORY                         |    3 +++
 devel/bin86/PRE_BUILD                       |    6 ++++++
 devel/bin86/bin86-0.16.17-amd64_build.patch |   13 +++++++++++++
 3 files changed, 22 insertions(+)

New commits:
commit e6c87f69675fe210fef9ce5d4a0c8b847be5fb56
Author: Elisamuel Resto <ryuji at ryuji-x86.vm.shlrm.org>
Commit: Elisamuel Resto <ryuji at ryuji-x86.vm.shlrm.org>

    devel/bin86: Add patch from Gentoo to fix building for x86_64

diff --git a/devel/bin86/HISTORY b/devel/bin86/HISTORY
index 2664c06..c41c0cb 100644
--- a/devel/bin86/HISTORY
+++ b/devel/bin86/HISTORY
@@ -1,3 +1,6 @@
+2009-07-24 Elisamuel Resto <ryuji at sourcemage.org>
+	* PRE_BUILD, bin86-0.16.17-amd64_build.patch: Fix building on x86_64
+
 2008-02-24 Eric Sandall <sandalle at sourcemage.org>
 	* DETAILS: SOURCE_URL and WEB_SITE changed to
 	  http://homepage.ntlworld.com/robert.debath/
diff --git a/devel/bin86/PRE_BUILD b/devel/bin86/PRE_BUILD
new file mode 100755
index 0000000..6303a19
--- /dev/null
+++ b/devel/bin86/PRE_BUILD
@@ -0,0 +1,6 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+if [[ "${SMGL_COMPAT_ARCHS[1]}" == "x86_64" ]]; then
+    patch -p0 -i "$SPELL_DIRECTORY"/"$SPELL"-"$VERSION"-amd64_build.patch
+fi
diff --git a/devel/bin86/bin86-0.16.17-amd64_build.patch b/devel/bin86/bin86-0.16.17-amd64_build.patch
new file mode 100644
index 0000000..b939726
--- /dev/null
+++ b/devel/bin86/bin86-0.16.17-amd64_build.patch
@@ -0,0 +1,13 @@
+--- ld/x86_aout.h.orig	2003-01-28 17:17:14.000000000 -0500
++++ ld/x86_aout.h	2005-05-07 22:40:05.000000000 -0400
+@@ -13,7 +13,9 @@
+ typedef long Long;
+ #define __OUT_OK 1
+ #else
+-typedef char Long[4];
++#define __OUT_OK 1
++#include <sys/types.h>
++typedef int32_t Long;
+ #endif
+ 
+ struct	exec {			/* a.out header */



More information about the SM-Commit mailing list