summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authormrg <mrg>2003-10-24 00:49:04 +0000
committermrg <mrg>2003-10-24 00:49:04 +0000
commitf217428306ce81765f58c1596473fad05987ba5e (patch)
tree5e9e12ad49859cc70b18693dbee69dd5b12e7b35 /graphics
parent8775ecd9ccf13bc5178c50f3de47757815b01025 (diff)
downloadpkgsrc-f217428306ce81765f58c1596473fad05987ba5e.tar.gz
remove some linuxisms from a ppc assembly file.
approved by wiz@. fixes my PR#23241.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xine-lib/distinfo3
-rw-r--r--graphics/xine-lib/patches/patch-af26
2 files changed, 28 insertions, 1 deletions
diff --git a/graphics/xine-lib/distinfo b/graphics/xine-lib/distinfo
index e0b5401a326..7b182b9458b 100644
--- a/graphics/xine-lib/distinfo
+++ b/graphics/xine-lib/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2003/10/06 07:21:57 mycroft Exp $
+$NetBSD: distinfo,v 1.14 2003/10/24 00:49:04 mrg Exp $
SHA1 (xine-lib-1-rc0a.tar.gz) = ee41ba602179a9f02208a15e3dff36a1dfa00fac
Size (xine-lib-1-rc0a.tar.gz) = 4211552 bytes
@@ -7,6 +7,7 @@ SHA1 (patch-ab) = 4da2e4cdcb0f0f5273eae4caa196c06e3ae6064b
SHA1 (patch-ac) = df25d862f84de5221d722f9415a201986dc5d952
SHA1 (patch-ad) = ed65116acfa1f32a0508338a11567589bc2b4123
SHA1 (patch-ae) = cf7486ed50a782fcfb17ad0985e76a7ae09a2938
+SHA1 (patch-af) = 0d2860c863c4121288289b88d46433a94dde120b
SHA1 (patch-ag) = 132a8db657ce0bc3ac9e74560aae9054996fa57e
SHA1 (patch-ah) = 3f9b23c4a7994259056b73209a9e194db759f06d
SHA1 (patch-ai) = f71e3cb57bf30cbf9653a469c040b6e3f717ba97
diff --git a/graphics/xine-lib/patches/patch-af b/graphics/xine-lib/patches/patch-af
new file mode 100644
index 00000000000..79b9ccb4353
--- /dev/null
+++ b/graphics/xine-lib/patches/patch-af
@@ -0,0 +1,26 @@
+$NetBSD: patch-af,v 1.3 2003/10/24 00:49:04 mrg Exp $
+
+--- src/xine-utils/ppcasm_string.S.orig 2003-10-24 09:52:09.000000000 +1000
++++ src/xine-utils/ppcasm_string.S 2003-10-24 09:52:39.000000000 +1000
+@@ -18,6 +18,7 @@
+
+ #warning Be forewarned - using PowerPC assembly
+
++#ifdef __linux__
+ #define __KERNEL__
+ #define __ASSEMBLY__
+
+@@ -26,6 +27,13 @@
+ #include <asm/processor.h>
+ #include <asm/cache.h>
+ #include <asm/errno.h>
++#endif
++
++#ifdef __NetBSD__
++#define _STANDALONE
++
++#include <machine/asm.h>
++#endif
+
+ #define COPY_16_BYTES \
+ lwz r7,4(r4); \