summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormycroft <mycroft@pkgsrc.org>1998-12-14 14:43:10 +0000
committermycroft <mycroft@pkgsrc.org>1998-12-14 14:43:10 +0000
commitf027bbff92f24aaea1cd0f904e809ef6d7db4218 (patch)
tree7acc92763df10965490bf1f8a805366a4b681b49
parent0bf080ed596c8d266a04759d7751d2f94425e946 (diff)
downloadpkgsrc-f027bbff92f24aaea1cd0f904e809ef6d7db4218.tar.gz
Fix alignment problems on arm32.
-rw-r--r--games/xdoom/patches/patch-ag17
1 files changed, 17 insertions, 0 deletions
diff --git a/games/xdoom/patches/patch-ag b/games/xdoom/patches/patch-ag
new file mode 100644
index 00000000000..24d5b3041f2
--- /dev/null
+++ b/games/xdoom/patches/patch-ag
@@ -0,0 +1,17 @@
+$NetBSD: patch-ag,v 1.1 1998/12/14 14:43:10 mycroft Exp $
+
+--- linuxdoom-1.10/r_data.c~ Mon Dec 14 09:38:47 1998
++++ linuxdoom-1.10/r_data.c Mon Dec 14 09:37:51 1998
+@@ -86,10 +86,10 @@
+ typedef struct
+ {
+ char name[8];
+- boolean masked;
++ short masked[2]; // OBSOLETE
+ short width;
+ short height;
+- void **columndirectory; // OBSOLETE
++ short columndirectory[2]; // OBSOLETE
+ short patchcount;
+ mappatch_t patches[1];
+ } maptexture_t;