slackbuilds/games/frotz/sdl.parallel.fix.diff

22 lines
760 B
Diff

diff -Naur frotz-2.55/src/sdl/Makefile frotz-2.55.patched/src/sdl/Makefile
--- frotz-2.55/src/sdl/Makefile 2025-02-01 17:36:37.000000000 -0500
+++ frotz-2.55.patched/src/sdl/Makefile 2025-03-08 00:36:25.410732578 -0500
@@ -35,16 +35,7 @@
$(CC) $(CFLAGS) $(SDL_CFLAGS) -fPIC -fpic -o $@ -c $<
$(DEFINES):
- @echo "** Generating $@"
- @echo "/* This file was automatically generated by the build process. */" > $@
- @echo "/* These are defines specific to the SDL interface. */" >> $@
- @echo >> $@
- @echo "#ifndef SDL_DEFINES_H" >> $@
- @echo "#define SDL_DEFINES_H" >> $@
-ifeq ($(SOUND_TYPE),none)
- @echo "#define NO_SOUND" >> $@
-endif
- @echo "#endif /* SDL_DEFINES_H */" >> $@
+ @echo > $@
clean:
-rm -f $(TARGET) $(OBJECTS) $(DEPS) $(DEFINES)