aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2003-12-12 20:00:36 +0800
committernobutaka <nobutaka@FreeBSD.org>2003-12-12 20:00:36 +0800
commit5fa0ba398bb29dce28f9db76bb5f14e71bcb6d9f (patch)
tree1c0267a9c25325cda7bc08c5eaa2442ccdaa5000 /multimedia
parent4b92efdabe96b0bbb9524bcf1645db75e768b1c6 (diff)
downloadfreebsd-ports-gnome-5fa0ba398bb29dce28f9db76bb5f14e71bcb6d9f.tar.gz
freebsd-ports-gnome-5fa0ba398bb29dce28f9db76bb5f14e71bcb6d9f.tar.zst
freebsd-ports-gnome-5fa0ba398bb29dce28f9db76bb5f14e71bcb6d9f.zip
Correct files/patch-src:libw32dll:ldt_keeper.c to avoid to fail in Check_FS_Segment().
Submitted by: deischen
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libxine/Makefile2
-rw-r--r--multimedia/libxine/files/patch-src:libw32dll:ldt_keeper.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/multimedia/libxine/Makefile b/multimedia/libxine/Makefile
index ab5a5cf6241e..04845b5fdca1 100644
--- a/multimedia/libxine/Makefile
+++ b/multimedia/libxine/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xine
PORTVERSION= 1.0.r2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/multimedia/libxine/files/patch-src:libw32dll:ldt_keeper.c b/multimedia/libxine/files/patch-src:libw32dll:ldt_keeper.c
index ecc747cae2c4..447a6bf31b82 100644
--- a/multimedia/libxine/files/patch-src:libw32dll:ldt_keeper.c
+++ b/multimedia/libxine/files/patch-src:libw32dll:ldt_keeper.c
@@ -34,7 +34,7 @@
+#if defined(__FreeBSD__) && defined(LDT_AUTO_ALLOC)
+ ret = i386_set_ldt(LDT_AUTO_ALLOC, (union descriptor *)d, 1);
+ array.entry_number = ret;
-+ teb_sel = ret;
++ teb_sel = LDT_SEL(ret);
+#else
ret = i386_set_ldt(array.entry_number, (union descriptor *)d, 1);
+#endif