aboutsummaryrefslogtreecommitdiffstats
path: root/games/xkoules/files
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-10-25 23:13:35 +0800
committerkrion <krion@FreeBSD.org>2003-10-25 23:13:35 +0800
commit8d050be86b21bf164732575d9bb247f7ab6b2142 (patch)
tree82f24741278c6e60f5af93e119e98e5af2866f1b /games/xkoules/files
parent7599a1517ea7a7423259f4516196582b63114b04 (diff)
downloadfreebsd-ports-gnome-8d050be86b21bf164732575d9bb247f7ab6b2142.tar.gz
freebsd-ports-gnome-8d050be86b21bf164732575d9bb247f7ab6b2142.tar.zst
freebsd-ports-gnome-8d050be86b21bf164732575d9bb247f7ab6b2142.zip
- Fix build on -current
- Use DOCSDIR PR: 58521 Submitted by: Ports Fury
Diffstat (limited to 'games/xkoules/files')
-rw-r--r--games/xkoules/files/patch-aa2
-rw-r--r--games/xkoules/files/patch-xlib::inlstring.h63
2 files changed, 64 insertions, 1 deletions
diff --git a/games/xkoules/files/patch-aa b/games/xkoules/files/patch-aa
index e92cc2d12ec7..f5f665976b6e 100644
--- a/games/xkoules/files/patch-aa
+++ b/games/xkoules/files/patch-aa
@@ -18,7 +18,7 @@
#if defined(FreeBSDArchitecture)
SYSDEFS =
-#if !defined(NAS_SOUND)&&!defined(RSOUND)
-+#if !defined(NAS_SOUND)&&!defined(RSOUND)&&defined(i386Architecture)
++#if !defined(NAS_SOUND)&&!defined(RSOUND)
#define SOUND
SOUNDSERVER = koules.sndsrv.freebsd
SOUNDOBJS = sound.o
diff --git a/games/xkoules/files/patch-xlib::inlstring.h b/games/xkoules/files/patch-xlib::inlstring.h
new file mode 100644
index 000000000000..db7c7a597652
--- /dev/null
+++ b/games/xkoules/files/patch-xlib::inlstring.h
@@ -0,0 +1,63 @@
+--- xlib/inlstring.h.orig Thu Mar 5 03:59:19 1998
++++ xlib/inlstring.h Sat Oct 25 20:52:47 2003
+@@ -238,12 +238,12 @@
+ static INLINE void *
+ __memcpy_aligndest (void *dest, const void *src, int n)
+ {
+- __asm__ __volatile__ ("
+- cmpl $3, %%ecx
+- ja 1f
+- call * __memcpy_jumptable (, %%ecx, 4)
+- jmp 2f
+- 1:call __memcpyasm_regargs
++ __asm__ __volatile__ ("\
++ cmpl $3, %%ecx \
++ ja 1f \
++ call * __memcpy_jumptable (, %%ecx, 4) \
++ jmp 2f \
++ 1:call __memcpyasm_regargs \
+ "
+ :
+ :"b" (dest), "d" (src), "c" (n)
+@@ -255,13 +255,13 @@
+ static INLINE void *
+ __memcpy_destaligned (void *dest, const void *src, int n)
+ {
+- __asm__ __volatile__ ("
+- cmpl $32, %%ecx
+- ja 1f
+- call * __memcpy_jumptable (, %%ecx, 4)
+- jmp 2f
+- 1:call __memcpyasm_regargs_aligned
+- 2:
++ __asm__ __volatile__ ("\
++ cmpl $32, %%ecx \
++ ja 1f \
++ call * __memcpy_jumptable (, %%ecx, 4) \
++ jmp 2f \
++ 1:call __memcpyasm_regargs_aligned \
++ 2: \
+ "
+ :
+ :"b" (dest), "d" (src), "c" (n)
+@@ -273,13 +273,13 @@
+ static INLINE void *
+ __memcpy_balanced (void *dest, const void *src, int n)
+ {
+- __asm__ __volatile__ ("
+- cmpl $19, %%ecx
+- ja 1f
+- call * __memcpy_jumptable (, %%ecx, 4)
+- jmp 2f
+- 1:call __memcpyasm_regargs
+- 2:
++ __asm__ __volatile__ ("\
++ cmpl $19, %%ecx \
++ ja 1f \
++ call * __memcpy_jumptable (, %%ecx, 4) \
++ jmp 2f \
++ 1:call __memcpyasm_regargs \
++ 2: \
+ "
+ :
+ :"b" ((long) dest), "d" ((long) src), "c" ((long) n)