diff options
author | joerg <joerg@pkgsrc.org> | 2006-02-23 18:20:03 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-02-23 18:20:03 +0000 |
commit | 3b841e6cef4a97c7fed0e5dbe2801f8c362ec3e2 (patch) | |
tree | 2d979c9f24760a479d7d034fb091d3196edc821c /games | |
parent | 1314259e0861124563aac39b09467643318238a6 (diff) | |
download | pkgsrc-3b841e6cef4a97c7fed0e5dbe2801f8c362ec3e2.tar.gz |
Fix GCC 3.4+: don't use struct foo for typdef foo.
Diffstat (limited to 'games')
-rw-r--r-- | games/maelstrom-sdl/distinfo | 3 | ||||
-rw-r--r-- | games/maelstrom-sdl/patches/patch-ah | 31 |
2 files changed, 33 insertions, 1 deletions
diff --git a/games/maelstrom-sdl/distinfo b/games/maelstrom-sdl/distinfo index 7adc6e8c689..78e69714869 100644 --- a/games/maelstrom-sdl/distinfo +++ b/games/maelstrom-sdl/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2005/02/23 23:12:00 agc Exp $ +$NetBSD: distinfo,v 1.5 2006/02/23 18:20:03 joerg Exp $ SHA1 (Maelstrom-3.0.5.tar.gz) = 3731cc0ea73138539c7b12bf0b297d68be96cbab RMD160 (Maelstrom-3.0.5.tar.gz) = 1c0dbf3d588025ce18fced4733e638670e0c5de0 @@ -10,3 +10,4 @@ SHA1 (patch-ad) = 2d72ac28eb44cd00f8007be305bedb9f5d41e448 SHA1 (patch-ae) = a256a45e5ac3c4d82cb3333a49e31ecf0ed318b2 SHA1 (patch-af) = 8e289ee79c6fed20de4edde1d4cfa8df65cab854 SHA1 (patch-ag) = 038060e5173abb369a8667aac9fa756f04044f82 +SHA1 (patch-ah) = 9232b9ad502934c59c8a8e57b2bf8d1a02c501b1 diff --git a/games/maelstrom-sdl/patches/patch-ah b/games/maelstrom-sdl/patches/patch-ah new file mode 100644 index 00000000000..92340be7b06 --- /dev/null +++ b/games/maelstrom-sdl/patches/patch-ah @@ -0,0 +1,31 @@ +$NetBSD: patch-ah,v 1.1 2006/02/23 18:20:03 joerg Exp $ + +--- buttonlist.h.orig 2006-02-23 18:09:09.000000000 +0000 ++++ buttonlist.h +@@ -16,7 +16,7 @@ public: + + void Add_Button(Uint16 x, Uint16 y, Uint16 width, Uint16 height, + void (*callback)(void)) { +- struct button *belem; ++ button *belem; + + for ( belem=&button_list; belem->next; belem=belem->next ); + belem->next = new button; +@@ -30,7 +30,7 @@ public: + } + + void Activate_Button(Uint16 x, Uint16 y) { +- struct button *belem; ++ button *belem; + + for ( belem=button_list.next; belem; belem=belem->next ) { + if ( (x >= belem->x1) && (x <= belem->x2) && +@@ -42,7 +42,7 @@ public: + } + + void Delete_Buttons(void) { +- struct button *belem, *btemp; ++ button *belem, *btemp; + + for ( belem=button_list.next; belem; ) { + btemp = belem; |