freebsd-ports/games/abuse_sdl/files/patch-src-gui.cpp
Tijl Coosemans 48d3edd70e Remove -fPIC and fix the real problem where S_BUTTON_PRESS_SND is sometimes
declared as int and sometimes as long which have a different size and
alignment on 64 bit architectures.
2017-02-14 14:25:09 +00:00

11 lines
295 B
C++

--- src/gui.cpp.orig 2011-05-06 09:46:43 UTC
+++ src/gui.cpp
@@ -117,7 +117,7 @@ void ico_button::draw(int active, image
}
-extern long S_BUTTON_PRESS_SND;
+extern int S_BUTTON_PRESS_SND;
extern int sfx_volume;
void ico_button::handle_event(event &ev, image *screen, InputManager *im)