File fmsx-sdl-3.3-fix-linking.patch of Package fmsx-sdl

diff -ur fmsx-sdl-3.3.old/Makefile fmsx-sdl-3.3/Makefile
--- fmsx-sdl-3.3.old/Makefile	2015-06-01 14:09:47.000000000 +0200
+++ fmsx-sdl-3.3/Makefile	2007-09-06 16:53:04.000000000 +0200
@@ -80,7 +80,7 @@
 # fMSX Unix/X requires X11 libraries. See note above if you are
 # experiencing any problems.
 fmsx:	${OBJECTS}
-	${CC} ${CFLAGS} -o fmsx ${OBJECTS} -lz `sdl-config --cflags --libs`
+	${CC} ${CFLAGS} -o fmsx ${OBJECTS} -lz `sdl-config --cflags --libs` -lm
 
 # Clean up.
 clean:
openSUSE Build Service is sponsored by