ssuominen 14/09/09 11:50:08 Modified: ufo-ai-2.4-mathlib.patch Log: Complete -mathlib.patch by adding -lm to one more location in the linking wrt #516938 by "M. B." (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Revision Changes Path 1.2 games-strategy/ufo-ai/files/ufo-ai-2.4-mathlib.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/ufo-ai/files/ufo-ai-2.4-mathlib.patch?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/ufo-ai/files/ufo-ai-2.4-mathlib.patch?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/ufo-ai/files/ufo-ai-2.4-mathlib.patch?r1=1.1&r2=1.2 Index: ufo-ai-2.4-mathlib.patch =================================================================== RCS file: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/files/ufo-ai-2.4-mathlib.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ufo-ai-2.4-mathlib.patch 10 May 2014 05:40:33 -0000 1.1 +++ ufo-ai-2.4-mathlib.patch 9 Sep 2014 11:50:08 -0000 1.2 @@ -16,3 +16,14 @@ $(TARGET)_SRCS = \ client/cl_console.c \ +--- build/modules/testall.mk ++++ build/modules/testall.mk +@@ -9,7 +9,7 @@ + $(TARGET)_LINKER := $(CC) + $(TARGET)_FILE := $(TARGET)$(EXE_EXT) + $(TARGET)_CFLAGS += -DCOMPILE_UFO -DHARD_LINKED_GAME -DCOMPILE_UNITTESTS $(BFD_CFLAGS) $(SDL_CFLAGS) $(CURL_CFLAGS) $(OGG_CFLAGS) $(MXML_CFLAGS) +-$(TARGET)_LDFLAGS += -lcunit -lpng -ljpeg $(BFD_LIBS) $(INTL_LIBS) $(SDL_TTF_LIBS) $(SDL_MIXER_LIBS) $(OPENGL_LIBS) $(SDL_LIBS) $(CURL_LIBS) $(THEORA_LIBS) $(XVID_LIBS) $(VORBIS_LIBS) $(OGG_LIBS) $(MXML_LIBS) $(SO_LIBS) -lz ++$(TARGET)_LDFLAGS += -lcunit -lpng -ljpeg $(BFD_LIBS) $(INTL_LIBS) $(SDL_TTF_LIBS) $(SDL_MIXER_LIBS) $(OPENGL_LIBS) $(SDL_LIBS) $(CURL_LIBS) $(THEORA_LIBS) $(XVID_LIBS) $(VORBIS_LIBS) $(OGG_LIBS) $(MXML_LIBS) $(SO_LIBS) -lz -lm + + $(TARGET)_SRCS = \ + tests/test_all.c \