From 335fab38661822843ad5775361821320ea4b5ae0 Mon Sep 17 00:00:00 2001 From: naddy Date: Tue, 22 Apr 2003 14:15:33 +0000 Subject: [PATCH] fix build on i386/ELF; from Thorsten Glaser --- games/quake/patches/patch-common_asm_i386_h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 games/quake/patches/patch-common_asm_i386_h diff --git a/games/quake/patches/patch-common_asm_i386_h b/games/quake/patches/patch-common_asm_i386_h new file mode 100644 index 00000000000..b2d6b871902 --- /dev/null +++ b/games/quake/patches/patch-common_asm_i386_h @@ -0,0 +1,12 @@ +$OpenBSD: patch-common_asm_i386_h,v 1.1 2003/04/22 14:15:33 naddy Exp $ +--- common/asm_i386.h.orig Tue Apr 22 16:19:34 2003 ++++ common/asm_i386.h Tue Apr 22 16:19:47 2003 +@@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suit + #ifndef __ASM_I386__ + #define __ASM_I386__ + +-#ifdef ELF ++#if defined(ELF) || defined(__ELF__) + #define C(label) label + #else + #define C(label) _##label