Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master games grimoire by Peng Chang (Charles) (6e9a37b7d40ce96866c1c346293dde39ef693d1c)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: "Peng Chang (Charles)" <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master games grimoire by Peng Chang (Charles) (6e9a37b7d40ce96866c1c346293dde39ef693d1c)
  • Date: Wed, 24 Jun 2009 03:41:45 -0500

GIT changes to master games grimoire by Peng Chang (Charles)
<chp AT sourcemage.org>:

games-libs/allegro/HISTORY | 4 ++++
games-libs/allegro/PRE_BUILD | 3 +++
games-libs/allegro/asm.patch | 12 ++++++++++++
3 files changed, 19 insertions(+)

New commits:
commit 6e9a37b7d40ce96866c1c346293dde39ef693d1c
Author: Peng Chang (Charles) <chp AT sourcemage.org>
Commit: Peng Chang (Charles) <chp AT sourcemage.org>

allegro: added a patch so that it assembles with recent binutils

diff --git a/games-libs/allegro/HISTORY b/games-libs/allegro/HISTORY
index a450d01..de28cb1 100644
--- a/games-libs/allegro/HISTORY
+++ b/games-libs/allegro/HISTORY
@@ -1,3 +1,7 @@
+2009-06-24 Peng Chang (Charles) <chp AT sourcemage.org>
+ * PRE_BUILD: added an assembly patch due to changes of binutils
+ * asm.patch: the patch
+
2007-11-16 Andraž "ruskie" Levstik <ruskie AT mages.ath.cx>
* DETAILS: hash changed, did a diff lot's of dsp/dsw files
and some bloby keyboard files changed
diff --git a/games-libs/allegro/PRE_BUILD b/games-libs/allegro/PRE_BUILD
new file mode 100755
index 0000000..e528ea9
--- /dev/null
+++ b/games-libs/allegro/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+patch -p1 < $SCRIPT_DIRECTORY/asm.patch
diff --git a/games-libs/allegro/asm.patch b/games-libs/allegro/asm.patch
new file mode 100644
index 0000000..d6085d5
--- /dev/null
+++ b/games-libs/allegro/asm.patch
@@ -0,0 +1,12 @@
+diff -uarpN allegro-4.2.2.orig/src/i386/icpus.s
allegro-4.2.2/src/i386/icpus.s
+--- allegro-4.2.2.orig/src/i386/icpus.s 2009-06-24 15:03:05.000000000
+0800
++++ allegro-4.2.2/src/i386/icpus.s 2009-06-24 15:03:50.000000000 +0800
+@@ -67,7 +67,7 @@ FUNC(_i_is_fpu)
+
+ fninit
+ movl $0x5A5A, %eax
+- fnstsw %eax
++ fnstsw %ax
+ cmpl $0, %eax
+ jne is_fpu_not_found
+



  • [SM-Commit] GIT changes to master games grimoire by Peng Chang (Charles) (6e9a37b7d40ce96866c1c346293dde39ef693d1c), Peng Chang (Charles), 06/24/2009

Archive powered by MHonArc 2.6.24.

Top of Page