summaryrefslogtreecommitdiffhomepage
path: root/patches/sdlquake-1.0.9_pre.local.patch
blob: f00d3a5b9f5d72d690b3948e34bd24ebc4f1243c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
diff -ru sdlquake-1.0.9.orig/configure sdlquake-1.0.9/configure
--- sdlquake-1.0.9.orig/configure       1999-12-28 19:54:25.000000000 +0100
+++ sdlquake-1.0.9/configure    2021-08-26 20:37:08.560929386 +0200
@@ -1271,8 +1271,8 @@
   if test "$SDL_CONFIG" = "no" ; then
     no_sdl=yes
   else
-    SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
-    SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
+    SDL_CFLAGS=`$PKG_CONFIG --cflags sdl`
+    SDL_LIBS=`$PKG_CONFIG --libs sdl`

     sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
diff -ru sdlquake-1.0.9.orig/Makefile.in sdlquake-1.0.9/Makefile.in
--- sdlquake-1.0.9.orig/Makefile.in	1999-12-28 20:16:53.000000000 +0100
+++ sdlquake-1.0.9/Makefile.in	2021-08-26 20:12:02.680734842 +0200
@@ -74,7 +74,7 @@
 
 sdlquake_LDADD = @MATHLIB@ @INETLIB@
 
-sdlquake_SOURCES =  	adivtab.h			anorm_dots.h			anorms.h			asm_draw.h			asm_i386.h			block16.h			block8.h			bspfile.h			cd_sdl.c			cdaudio.h			chase.c				cl_demo.c			cl_input.c			cl_main.c			cl_parse.c			cl_tent.c			clean.bat			client.h			cmd.c				cmd.h				common.c			common.h			conproc.h			console.c			console.h			crc.c				crc.h				cvar.c				cvar.h				d_copy.S			d_edge.c			d_fill.c			d_iface.h			d_ifacea.h			d_init.c			d_local.h			d_modech.c			d_part.c			d_polyse.c			d_scan.c			d_sky.c				d_sprite.c			d_surf.c			d_zpoint.c			dosasm.S			dosisms.h			draw.c				draw.h				host.c				host_cmd.c			input.h				keys.c				keys.h				mathlib.c			mathlib.h			menu.c				menu.h				model.c				model.h				modelgen.h			mpdosock.h			net.h				net_bsd.c			net_bw.h			net_dgrm.c			net_dgrm.h			net_loop.c			net_loop.h			net_main.c			net_udp.c			net_udp.h			net_vcr.c			net_vcr.h			net_wso.c			pr_cmds.c			pr_comp.h			pr_edict.c			pr_exec.c			progdefs.h			progs.h				protocol.h			quakeasm.h			quakedef.h			r_aclip.c			r_alias.c			r_bsp.c				r_draw.c			r_edge.c			r_efrag.c			r_light.c			r_local.h			r_main.c			r_misc.c			r_part.c			r_shared.h			r_sky.c				r_sprite.c			r_surf.c			r_vars.c			r_varsa.S			render.h			resource.h			sbar.c				sbar.h				scitech				screen.c			screen.h			server.h			snd_dma.c			snd_mem.c			snd_mix.c			snd_sdl.c			sound.h				spritegn.h			sv_main.c			sv_move.c			sv_phys.c			sv_user.c			sys.h				sys_sdl.c			vgamodes.h			vid.h				vid_sdl.c			view.c				view.h				wad.c				wad.h				winquake.h			world.c				world.h				zone.c				zone.h				$(X86_SRCS) $(NONX86_SRCS)
+sdlquake_SOURCES =  	adivtab.h			anorm_dots.h			anorms.h			asm_draw.h			asm_i386.h			block16.h			block8.h			bspfile.h			cd_sdl.c			cdaudio.h			chase.c				cl_demo.c			cl_input.c			cl_main.c			cl_parse.c			cl_tent.c			clean.bat			client.h			cmd.c				cmd.h				common.c			common.h			conproc.h			console.c			console.h			crc.c				crc.h				cvar.c				cvar.h						d_edge.c			d_fill.c			d_iface.h			d_ifacea.h			d_init.c			d_local.h			d_modech.c			d_part.c			d_polyse.c			d_scan.c			d_sky.c				d_sprite.c			d_surf.c			d_zpoint.c			dosasm.S			dosisms.h			draw.c				draw.h				host.c				host_cmd.c			input.h				keys.c				keys.h				mathlib.c			mathlib.h			menu.c				menu.h				model.c				model.h				modelgen.h			mpdosock.h			net.h				net_bsd.c			net_bw.h			net_dgrm.c			net_dgrm.h			net_loop.c			net_loop.h			net_main.c			net_udp.c			net_udp.h			net_vcr.c			net_vcr.h			net_wso.c			pr_cmds.c			pr_comp.h			pr_edict.c			pr_exec.c			progdefs.h			progs.h				protocol.h			quakeasm.h			quakedef.h			r_aclip.c			r_alias.c			r_bsp.c				r_draw.c			r_edge.c			r_efrag.c			r_light.c			r_local.h			r_main.c			r_misc.c			r_part.c			r_shared.h			r_sky.c				r_sprite.c			r_surf.c			r_vars.c			r_varsa.S			render.h			resource.h			sbar.c				sbar.h				scitech				screen.c			screen.h			server.h			snd_dma.c			snd_mem.c			snd_mix.c			snd_sdl.c			sound.h				spritegn.h			sv_main.c			sv_move.c			sv_phys.c			sv_user.c			sys.h				sys_sdl.c			vgamodes.h			vid.h				vid_sdl.c			view.c				view.h				wad.c				wad.h				winquake.h			world.c				world.h				zone.c				zone.h				 $(NONX86_SRCS)
 
 
 X86_SRCS =  	snd_mixa.S			sys_dosa.S			d_draw.S			d_draw16.S			d_parta.S			d_polysa.S			d_scana.S			d_spr8.S			d_varsa.S			math.S				r_aclipa.S			r_aliasa.S			r_drawa.S			r_edgea.S			surf16.S			surf8.S				worlda.S
@@ -117,7 +117,7 @@
 LDFLAGS = @LDFLAGS@
 LIBS = @LIBS@
 sdlquake_OBJECTS =  cd_sdl.o chase.o cl_demo.o cl_input.o cl_main.o \
-cl_parse.o cl_tent.o cmd.o common.o console.o crc.o cvar.o d_copy.o \
+cl_parse.o cl_tent.o cmd.o common.o console.o crc.o cvar.o \
 d_edge.o d_fill.o d_init.o d_modech.o d_part.o d_polyse.o d_scan.o \
 d_sky.o d_sprite.o d_surf.o d_zpoint.o dosasm.o draw.o host.o \
 host_cmd.o keys.o mathlib.o menu.o model.o net_bsd.o net_dgrm.o \