summaryrefslogtreecommitdiff
path: root/multimedia/xine-lib/patches
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2004-05-12 16:37:06 +0000
committerdrochner <drochner@pkgsrc.org>2004-05-12 16:37:06 +0000
commit4cdb9ea17da61bff5ecf5f85f503b7126e8fc5a3 (patch)
treefe9d1f07ab94670d522da679b4eb2a8fba297d63 /multimedia/xine-lib/patches
parenta2a789cb93c11e6dcee86eec5a09405caa6d6068 (diff)
downloadpkgsrc-4cdb9ea17da61bff5ecf5f85f503b7126e8fc5a3.tar.gz
update to xine-lib-1-rc4
changes: This release improves playback of some streams, reduces flickering of OSD and brings a whole bunch of updated libraries. It does also fix a vulnerability in xine's RTSP streaming code. See XSA-2004-3 for more information! XXX powerpc asm stuff needs to be checked XXX didn't test the "arts" stuff
Diffstat (limited to 'multimedia/xine-lib/patches')
-rw-r--r--multimedia/xine-lib/patches/patch-af26
-rw-r--r--multimedia/xine-lib/patches/patch-am12
-rw-r--r--multimedia/xine-lib/patches/patch-au20
3 files changed, 16 insertions, 42 deletions
diff --git a/multimedia/xine-lib/patches/patch-af b/multimedia/xine-lib/patches/patch-af
deleted file mode 100644
index 94d9780ea5d..00000000000
--- a/multimedia/xine-lib/patches/patch-af
+++ /dev/null
@@ -1,26 +0,0 @@
-$NetBSD: patch-af,v 1.1.1.1 2004/01/26 13:03:38 jmmv 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); \
diff --git a/multimedia/xine-lib/patches/patch-am b/multimedia/xine-lib/patches/patch-am
index 48ec5af72ae..047e45d22e0 100644
--- a/multimedia/xine-lib/patches/patch-am
+++ b/multimedia/xine-lib/patches/patch-am
@@ -1,8 +1,8 @@
-$NetBSD: patch-am,v 1.1.1.1 2004/01/26 13:03:38 jmmv Exp $
+$NetBSD: patch-am,v 1.2 2004/05/12 16:37:07 drochner Exp $
---- src/libw32dll/wine/ldt_keeper.c.orig 2003-07-13 19:29:04.000000000 +0000
-+++ src/libw32dll/wine/ldt_keeper.c 2003-10-02 12:28:23.000000000 +0000
-@@ -147,18 +147,9 @@
+--- src/libw32dll/wine/ldt_keeper.c.orig 2004-05-12 18:33:31.000000000 +0200
++++ src/libw32dll/wine/ldt_keeper.c 2004-05-12 18:41:51.000000000 +0200
+@@ -152,18 +152,9 @@
void Check_FS_Segment(void)
{
@@ -10,11 +10,11 @@ $NetBSD: patch-am,v 1.1.1.1 2004/01/26 13:03:38 jmmv Exp $
- __asm__ __volatile__(
- "movw %%fs,%%ax; mov %%eax,%0" : "=r" (fs) :: "%eax"
+ __asm__ __volatile__(
-+ "movl %0,%%eax; movw %%ax, %%fs" : : "i" (TEB_SEL) : "%eax"
++ "movl %0,%%eax; movw %%ax, %%fs" : : "r" (teb_sel) : "%eax"
);
- fs = fs & 0xffff;
-
-- if( fs != TEB_SEL ) {
+- if( fs != teb_sel ) {
- printf("ldt_keeper: FS segment is not set or has being lost!\n");
- printf(" Please report this error to xine-devel@sourceforge.net\n");
- printf(" Aborting....\n");
diff --git a/multimedia/xine-lib/patches/patch-au b/multimedia/xine-lib/patches/patch-au
index d2d6fce2a11..2f5889c901c 100644
--- a/multimedia/xine-lib/patches/patch-au
+++ b/multimedia/xine-lib/patches/patch-au
@@ -1,12 +1,12 @@
-$NetBSD: patch-au,v 1.1 2004/03/28 20:14:22 mycroft Exp $
+$NetBSD: patch-au,v 1.2 2004/05/12 16:37:07 drochner Exp $
---- src/xine-engine/xine.c.orig 2004-03-16 21:40:16.000000000 +0000
-+++ src/xine-engine/xine.c 2004-03-28 03:36:37.000000000 +0000
-@@ -1321,6 +1321,7 @@
- pthread_mutex_init(&this->port_ticket->lock, NULL);
- pthread_mutex_init(&this->port_ticket->revoke_lock, NULL);
- pthread_cond_init(&this->port_ticket->issued, NULL);
-+ pthread_cond_init(&this->port_ticket->revoked, NULL);
-
- return this;
+--- src/xine-engine/xine.c.orig 2004-04-27 18:56:39.000000000 +0200
++++ src/xine-engine/xine.c 2004-05-11 22:20:16.000000000 +0200
+@@ -238,6 +238,7 @@
+ pthread_mutex_init(&port_ticket->lock, NULL);
+ pthread_mutex_init(&port_ticket->revoke_lock, NULL);
+ pthread_cond_init(&port_ticket->issued, NULL);
++ pthread_cond_init(&port_ticket->revoked, NULL);
+
+ return port_ticket;
}