summaryrefslogtreecommitdiff
path: root/games/xdoom
diff options
context:
space:
mode:
authormycroft <mycroft>1998-12-14 14:43:10 +0000
committermycroft <mycroft>1998-12-14 14:43:10 +0000
commitbb6d0d6c83b1c92518d7acb5913fe997c75bd4a9 (patch)
tree7acc92763df10965490bf1f8a805366a4b681b49 /games/xdoom
parent1b5ed7049cd34af6a3b7a235de12c2ed61805923 (diff)
downloadpkgsrc-bb6d0d6c83b1c92518d7acb5913fe997c75bd4a9.tar.gz
Fix alignment problems on arm32.
Diffstat (limited to 'games/xdoom')
-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;