Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 376110 Details for
Bug 509212
games-fps/quake2-icculus: Enable ia64 support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
quake2-icculus-0.16.1-ia64.patch enabling ia64 support to copy to files/
quake2-icculus-0.16.1-ia64.patch (text/plain), 2.64 KB, created by
Émeric Maschino
on 2014-04-30 23:05:30 UTC
(
hide
)
Description:
quake2-icculus-0.16.1-ia64.patch enabling ia64 support to copy to files/
Filename:
MIME Type:
Creator:
Émeric Maschino
Created:
2014-04-30 23:05:30 UTC
Size:
2.64 KB
patch
obsolete
>diff -rp -u8 quake2-r0.16.1.orig/Makefile quake2-r0.16.1/Makefile >--- quake2-r0.16.1.orig/Makefile 2014-03-12 00:01:22.788844035 +0100 >+++ quake2-r0.16.1/Makefile 2014-03-14 01:10:30.965297780 +0100 >@@ -54,24 +54,26 @@ endif > > > # this nice line comes from the linux kernel makefile > ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc/ -e s/sparc64/sparc/ -e s/arm.*/arm/ -e s/sa110/arm/ -e s/alpha/axp/) > > ifneq ($(ARCH),x86_64) > ifneq ($(ARCH),i386) > ifneq ($(ARCH),axp) >+ifneq ($(ARCH),ia64) > ifneq ($(ARCH),ppc) > ifneq ($(ARCH),sparc) > $(error arch $(ARCH) is currently not supported) > endif > endif > endif > endif > endif >+endif > > CC=gcc > > ifndef OPT_CFLAGS > ifeq ($(ARCH),axp) > OPT_CFLAGS=-ffast-math -funroll-loops \ > -fomit-frame-pointer -fexpensive-optimizations > endif >@@ -283,16 +285,46 @@ ifeq ($(ARCH),axp) > $(warning Warning: SDL support not supported for $(ARCH)) > endif > > ifeq ($(strip $(BUILD_SDLGL)),YES) > $(warning Warning: SDLGL support not supported for $(ARCH)) > endif > endif # ARCH axp > >+ifeq ($(ARCH),ia64) >+ ifeq ($(strip $(BUILD_SDLQUAKE2)),YES) >+ TARGETS += $(BUILDDIR)/sdlquake2 >+ endif >+ >+ ifeq ($(strip $(BUILD_SVGA)),YES) >+ TARGETS += $(BUILDDIR)/ref_soft.$(SHLIBEXT) >+ endif >+ >+ ifeq ($(strip $(BUILD_X11)),YES) >+ TARGETS += $(BUILDDIR)/ref_softx.$(SHLIBEXT) >+ endif >+ >+ ifeq ($(strip $(BUILD_GLX)),YES) >+ TARGETS += $(BUILDDIR)/ref_glx.$(SHLIBEXT) >+ endif >+ >+ ifeq ($(strip $(BUILD_FXGL)),YES) >+ TARGETS += $(BUILDDIR)/ref_gl.$(SHLIBEXT) >+ endif >+ >+ ifeq ($(strip $(BUILD_SDL)),YES) >+ TARGETS += $(BUILDDIR)/ref_softsdl.$(SHLIBEXT) >+ endif >+ >+ ifeq ($(strip $(BUILD_SDLGL)),YES) >+ TARGETS += $(BUILDDIR)/ref_sdlgl.$(SHLIBEXT) >+ endif >+endif # ARCH ia64 >+ > ifeq ($(ARCH),ppc) > ifeq ($(strip $(BUILD_SDLQUAKE2)),YES) > TARGETS += $(BUILDDIR)/sdlquake2 > endif > > ifeq ($(strip $(BUILD_SVGA)),YES) > $(warning Warning: SVGAlib support not supported for $(ARCH)) > endif >diff -rp -u8 quake2-r0.16.1.orig/src/linux/sys_linux.c quake2-r0.16.1/src/linux/sys_linux.c >--- quake2-r0.16.1.orig/src/linux/sys_linux.c 2004-09-12 20:26:29.000000000 +0200 >+++ quake2-r0.16.1/src/linux/sys_linux.c 2014-03-13 23:47:55.876009867 +0100 >@@ -216,16 +216,18 @@ void *Sys_GetGameAPI (void *parms) > char *path; > char *str_p; > #if defined __i386__ > const char *gamename = "gamei386.so"; > #elif defined __x86_64__ > const char *gamename = "gamex86_64.so"; > #elif defined __alpha__ > const char *gamename = "gameaxp.so"; >+#elif defined __ia64__ >+ const char *gamename = "gameia64.so"; > #elif defined __powerpc__ > const char *gamename = "gameppc.so"; > #elif defined __sparc__ > const char *gamename = "gamesparc.so"; > #else > #error Unknown arch > #endif >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 509212
: 376110 |
376112