pkgsrc/games/abuse/patches/patch-ad
abs 7837273b5c Update abuse to 2.0nb1:
Avoid gets() usage and add __sparc__ to alignment needing CPUs,
	allowing it to run on my ss5.
2001-07-02 15:30:59 +00:00

19 lines
347 B
Text

$NetBSD: patch-ad,v 1.3 2001/07/02 15:30:59 abs Exp $
--- abuse/inc/bus_type.hpp.orig Wed Jan 24 06:10:12 1996
+++ abuse/inc/bus_type.hpp
@@ -1,6 +1,14 @@
#ifndef BUS_TYPE_HPP
#define BUS_TYPE_HPP
+#ifdef __arm__
+#define WORD_ALLIGN 1
+#endif
+
+#ifdef __sparc__
+#define WORD_ALLIGN 1
+#endif
+
#ifdef __sgi
#define WORD_ALLIGN 1
#endif