aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
Diffstat (limited to 'x11')
-rw-r--r--x11/XFree86-4-clients/Makefile20
-rw-r--r--x11/XFree86-4-clients/distinfo16
-rw-r--r--x11/XFree86-4-clients/files/patch-programs::xdm::Imakefile14
-rw-r--r--x11/XFree86-4-clients/files/patch-programs::xdm::session.c27
-rw-r--r--x11/XFree86-4-clients/files/patch-programs::xdm::socket.c12
-rw-r--r--x11/XFree86-4-clients/files/patch-programs::xkbcomp::symbols::Imakefile11
-rw-r--r--x11/XFree86-4-clients/files/patch-programs::xkbcomp::symbols::pc::Imakefile11
-rw-r--r--x11/XFree86-4-clients/pkg-plist52
-rw-r--r--x11/XFree86-4-documents/Makefile8
-rw-r--r--x11/XFree86-4-documents/distinfo8
-rw-r--r--x11/XFree86-4-documents/files/patch-Imakefile (renamed from x11/XFree86-4-documents/files/patch-04)13
-rw-r--r--x11/XFree86-4-documents/pkg-plist189
-rw-r--r--x11/XFree86-4-libraries/Makefile70
-rw-r--r--x11/XFree86-4-libraries/distinfo14
-rw-r--r--x11/XFree86-4-libraries/files/patch-amd64300
-rw-r--r--x11/XFree86-4-libraries/files/patch-dri-Imakefile11
-rw-r--r--x11/XFree86-4-libraries/files/patch-glheader16
-rw-r--r--x11/XFree86-4-libraries/files/patch-lib_GL_GL_Imakefile (renamed from x11/XFree86-4-libraries/files/patch-z44)20
-rw-r--r--x11/XFree86-4-libraries/files/patch-lib_GL_mesa_drivers_dri_Imakefile (renamed from x11/XFree86-4-libraries/files/patch-z30)8
-rw-r--r--x11/XFree86-4-libraries/files/patch-lib_GL_mesa_drivers_osmesa_Imakefile (renamed from x11/XFree86-4-libraries/files/patch-z32)13
-rw-r--r--x11/XFree86-4-libraries/files/patch-lib_Imakefile (renamed from x11/XFree86-4-libraries/files/patch-lib-Imakefile)12
-rw-r--r--x11/XFree86-4-libraries/files/patch-lib_X11_Imakefile (renamed from x11/XFree86-4-libraries/files/patch-z04)12
-rw-r--r--x11/XFree86-4-libraries/files/patch-luit79
-rw-r--r--x11/XFree86-4-libraries/files/patch-programs_Xserver_GL_dri_Imakefile11
-rw-r--r--x11/XFree86-4-libraries/files/patch-xpm-sec521
-rw-r--r--x11/XFree86-4-libraries/files/patch-z0514
-rw-r--r--x11/XFree86-4-libraries/files/patch-z4118
-rw-r--r--x11/XFree86-4-libraries/pkg-plist91
-rw-r--r--x11/XFree86-4-manuals/Makefile10
-rw-r--r--x11/XFree86-4-manuals/distinfo4
-rw-r--r--x11/XFree86-4-manuals/files/manpages22
-rw-r--r--x11/XFree86-4/Makefile8
32 files changed, 375 insertions, 1260 deletions
diff --git a/x11/XFree86-4-clients/Makefile b/x11/XFree86-4-clients/Makefile
index e53691604eef..3ed98fdc6884 100644
--- a/x11/XFree86-4-clients/Makefile
+++ b/x11/XFree86-4-clients/Makefile
@@ -6,16 +6,15 @@
#
PORTNAME= clients
-PORTVERSION= 4.4.0
-PORTREVISION= 5
+PORTVERSION= 4.5.0
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XFREE}
MASTER_SITE_SUBDIR= ${PORTVERSION}
PKGNAMEPREFIX= XFree86-
-DISTFILES= XFree86-4.4.0-src-1.tgz \
- XFree86-4.4.0-src-2.tgz \
- XFree86-4.4.0-src-3.tgz \
- XFree86-4.4.0-src-4.tgz
+DISTFILES= XFree86-${PORTVERSION}-src-1.tgz \
+ XFree86-${PORTVERSION}-src-2.tgz \
+ XFree86-${PORTVERSION}-src-3.tgz \
+ XFree86-${PORTVERSION}-src-4.tgz
MAINTAINER= x11@FreeBSD.org
COMMENT= XFree86-4 client programs and related files
@@ -42,12 +41,7 @@ XINSTALL_MAN_DIRS= programs
.for pf in patch-bdftruncate.pl patch-ucs2any.pl \
patch-programs::fonttosfnt::read.c \
- patch-programs::Imakefile \
- patch-programs::xdm::Imakefile \
- patch-programs::xdm::session.c \
- patch-programs::xdm::socket.c \
- patch-programs::xkbcomp::symbols::Imakefile \
- patch-programs::xkbcomp::symbols::pc::Imakefile
+ patch-programs::Imakefile
EXTRA_PATCHES+= ${FILESDIR}/${pf}
.endfor
@@ -94,7 +88,7 @@ post-install:
.include <bsd.port.pre.mk>
.if ${X_WINDOW_SYSTEM:L} != xfree86-4
-IGNORE= is part of XFree86-4
+IGNORE= is part of XFree86-4
.endif
.include "${FILESDIR}/manpages"
diff --git a/x11/XFree86-4-clients/distinfo b/x11/XFree86-4-clients/distinfo
index e5d5220d81b6..4096a2f01d04 100644
--- a/x11/XFree86-4-clients/distinfo
+++ b/x11/XFree86-4-clients/distinfo
@@ -1,8 +1,8 @@
-MD5 (xc/XFree86-4.4.0-src-1.tgz) = 97cea3d9e1197dde32ca34e3b6086469
-SIZE (xc/XFree86-4.4.0-src-1.tgz) = 11760814
-MD5 (xc/XFree86-4.4.0-src-2.tgz) = b9b6c74a03e314569e01d5fd4ff59523
-SIZE (xc/XFree86-4.4.0-src-2.tgz) = 5745538
-MD5 (xc/XFree86-4.4.0-src-3.tgz) = 703404f48d3a15f58389a879d47c769d
-SIZE (xc/XFree86-4.4.0-src-3.tgz) = 11239253
-MD5 (xc/XFree86-4.4.0-src-4.tgz) = 5d1792f5c154c7462c6aef39c7853b3b
-SIZE (xc/XFree86-4.4.0-src-4.tgz) = 13057535
+MD5 (xc/XFree86-4.5.0-src-1.tgz) = 6c0fcf8069c13d068276016bbf6ad712
+SIZE (xc/XFree86-4.5.0-src-1.tgz) = 10507331
+MD5 (xc/XFree86-4.5.0-src-2.tgz) = cc296c71cbe58edc3ffdec1084e58f4c
+SIZE (xc/XFree86-4.5.0-src-2.tgz) = 5826556
+MD5 (xc/XFree86-4.5.0-src-3.tgz) = c0ad630bfec4545857c2877b3e2dcbeb
+SIZE (xc/XFree86-4.5.0-src-3.tgz) = 12086763
+MD5 (xc/XFree86-4.5.0-src-4.tgz) = 217bb03a07cf94561b35815ce257c159
+SIZE (xc/XFree86-4.5.0-src-4.tgz) = 12328580
diff --git a/x11/XFree86-4-clients/files/patch-programs::xdm::Imakefile b/x11/XFree86-4-clients/files/patch-programs::xdm::Imakefile
deleted file mode 100644
index df58671f79e5..000000000000
--- a/x11/XFree86-4-clients/files/patch-programs::xdm::Imakefile
+++ /dev/null
@@ -1,14 +0,0 @@
---- programs/xdm/Imakefile.old Wed Jun 30 22:11:46 2004
-+++ programs/xdm/Imakefile Wed Jun 30 22:12:12 2004
-@@ -31,7 +31,11 @@
- #endif
-
- #if HasSecureRPC
-+#if defined(FreeBSDArchitecture) && (OSMajorVersion < 5)
-+RPC_DEFINES = -DSECURE_RPC -DFREEBSD_OLD_RPC
-+#else
- RPC_DEFINES = -DSECURE_RPC
-+#endif
- RPCOBJS = rpcauth.o
- RPCSRCS = rpcauth.c
- RPCLIB = -lrpcsvc
diff --git a/x11/XFree86-4-clients/files/patch-programs::xdm::session.c b/x11/XFree86-4-clients/files/patch-programs::xdm::session.c
deleted file mode 100644
index 4a52adccc013..000000000000
--- a/x11/XFree86-4-clients/files/patch-programs::xdm::session.c
+++ /dev/null
@@ -1,27 +0,0 @@
---- programs/xdm/session.c.old Wed Jun 30 22:12:02 2004
-+++ programs/xdm/session.c Wed Jun 30 22:12:21 2004
-@@ -54,8 +54,12 @@
- #ifdef SECURE_RPC
- # include <rpc/rpc.h>
- # include <rpc/key_prot.h>
-+#ifdef FREEBSD_OLD_RPC
-+extern int key_setnet(struct netstarg *arg);
-+#else
- extern int key_setnet(struct key_netstarg *arg);
- #endif
-+#endif
- #ifdef K5AUTH
- # include <krb5/krb5.h>
- #endif
-@@ -643,7 +647,11 @@
- char netname[MAXNETNAMELEN+1], secretkey[HEXKEYBYTES+1];
- int nameret, keyret;
- int len;
-+#ifdef FREEBSD_OLD_RPC
-+ struct netstarg netst;
-+#else
- struct key_netstarg netst;
-+#endif
- int key_set_ok = 0;
-
- nameret = getnetname (netname);
diff --git a/x11/XFree86-4-clients/files/patch-programs::xdm::socket.c b/x11/XFree86-4-clients/files/patch-programs::xdm::socket.c
deleted file mode 100644
index deef390c4192..000000000000
--- a/x11/XFree86-4-clients/files/patch-programs::xdm::socket.c
+++ /dev/null
@@ -1,12 +0,0 @@
---- programs/xdm/socket.c.orig Thu Jun 3 05:38:29 2004
-+++ programs/xdm/socket.c Thu Jun 3 05:40:54 2004
-@@ -66,6 +66,9 @@
- char *name = localHostname ();
- registerHostname (name, strlen (name));
-
-+ if (request_port == 0)
-+ return;
-+
- #if defined(IPv6) && defined(AF_INET6)
- chooserFd = socket (AF_INET6, SOCK_STREAM, 0);
- #else
diff --git a/x11/XFree86-4-clients/files/patch-programs::xkbcomp::symbols::Imakefile b/x11/XFree86-4-clients/files/patch-programs::xkbcomp::symbols::Imakefile
deleted file mode 100644
index ce5b56ccaa60..000000000000
--- a/x11/XFree86-4-clients/files/patch-programs::xkbcomp::symbols::Imakefile
+++ /dev/null
@@ -1,11 +0,0 @@
---- programs/xkbcomp/symbols/Imakefile.orig Sun Sep 19 21:29:40 2004
-+++ programs/xkbcomp/symbols/Imakefile Sun Sep 19 21:30:09 2004
-@@ -15,7 +15,7 @@
- czsk cz cz_qwerty \
- de de_CH dev dk dvorak \
- ee el en_US es \
-- fi fr fr_CH \
-+ fi fo fr fr_CH \
- gb ge_la ge_ru group guj gur \
- hr hr_US hu hu_US hu_qwerty \
- ie il il_phonetic iso9995-3 inet ir is it iu \
diff --git a/x11/XFree86-4-clients/files/patch-programs::xkbcomp::symbols::pc::Imakefile b/x11/XFree86-4-clients/files/patch-programs::xkbcomp::symbols::pc::Imakefile
deleted file mode 100644
index 672908b004e9..000000000000
--- a/x11/XFree86-4-clients/files/patch-programs::xkbcomp::symbols::pc::Imakefile
+++ /dev/null
@@ -1,11 +0,0 @@
---- programs/xkbcomp/symbols/pc/Imakefile.orig Sun Sep 19 21:31:10 2004
-+++ programs/xkbcomp/symbols/pc/Imakefile Sun Sep 19 21:31:20 2004
-@@ -7,7 +7,7 @@
- cz cz_qwerty \
- de dev dk dvorak dz \
- ee el en_US es \
-- fi fr fr-latin9 \
-+ fi fo fr fr-latin9 \
- gb ge_la ge_ru guj gur \
- hr \
- ie il il_phonetic ir is it iu \
diff --git a/x11/XFree86-4-clients/pkg-plist b/x11/XFree86-4-clients/pkg-plist
index ef91ad9f790c..7d4f4c857cdc 100644
--- a/x11/XFree86-4-clients/pkg-plist
+++ b/x11/XFree86-4-clients/pkg-plist
@@ -580,7 +580,9 @@ lib/X11/xkb/symbols/iu
lib/X11/xkb/symbols/jp
lib/X11/xkb/symbols/kan
lib/X11/xkb/symbols/keypad
+lib/X11/xkb/symbols/ky
lib/X11/xkb/symbols/la
+lib/X11/xkb/symbols/lat
lib/X11/xkb/symbols/level3
lib/X11/xkb/symbols/lo
lib/X11/xkb/symbols/lock
@@ -640,6 +642,8 @@ lib/X11/xkb/symbols/pc/ge_ru
lib/X11/xkb/symbols/pc/guj
lib/X11/xkb/symbols/pc/gur
lib/X11/xkb/symbols/pc/hr
+lib/X11/xkb/symbols/pc/hsb
+lib/X11/xkb/symbols/pc/hu
lib/X11/xkb/symbols/pc/ie
lib/X11/xkb/symbols/pc/il
lib/X11/xkb/symbols/pc/il_phonetic
@@ -648,7 +652,9 @@ lib/X11/xkb/symbols/pc/is
lib/X11/xkb/symbols/pc/it
lib/X11/xkb/symbols/pc/iu
lib/X11/xkb/symbols/pc/kan
+lib/X11/xkb/symbols/pc/ky
lib/X11/xkb/symbols/pc/la
+lib/X11/xkb/symbols/pc/lat
lib/X11/xkb/symbols/pc/latin
lib/X11/xkb/symbols/pc/lo
lib/X11/xkb/symbols/pc/lt
@@ -674,6 +680,7 @@ lib/X11/xkb/symbols/pc/se_FI
lib/X11/xkb/symbols/pc/se_NO
lib/X11/xkb/symbols/pc/se_SE
lib/X11/xkb/symbols/pc/si
+lib/X11/xkb/symbols/pc/sin
lib/X11/xkb/symbols/pc/sk
lib/X11/xkb/symbols/pc/sk_qwerty
lib/X11/xkb/symbols/pc/sr
@@ -687,6 +694,7 @@ lib/X11/xkb/symbols/pc/tj
lib/X11/xkb/symbols/pc/tml
lib/X11/xkb/symbols/pc/tr
lib/X11/xkb/symbols/pc/ua
+lib/X11/xkb/symbols/pc/ur_PK
lib/X11/xkb/symbols/pc/us
lib/X11/xkb/symbols/pc/us_intl
lib/X11/xkb/symbols/pc/uz
@@ -748,6 +756,7 @@ lib/X11/xkb/types/pc
lib/X11/xkb/xkbcomp
lib/X11/xman.help
lib/X11/xsm/system.xsm
+@dirrm lib/X11/fonts/util
@dirrm lib/X11/icons/default
@dirrm lib/X11/icons/handhelds/cursors
@dirrm lib/X11/icons/handhelds
@@ -755,5 +764,48 @@ lib/X11/xsm/system.xsm
@dirrm lib/X11/icons/redglass
@dirrm lib/X11/icons/whiteglass/cursors
@dirrm lib/X11/icons/whiteglass
+@dirrm lib/X11/icons
+@dirrm lib/X11/lbxproxy
+@dirrm lib/X11/proxymngr
+@dirrm lib/X11/rstart/commands/x11r6
+@dirrm lib/X11/rstart/commands
+@dirrm lib/X11/rstart/contexts
+@dirrm lib/X11/rstart
+@dirrm lib/X11/twm
+@dirrm lib/X11/x11perfcomp
@dirrm lib/X11/xdm/default
+@dirrm lib/X11/xdm/pixmaps
+@dirrm lib/X11/xdm
+@dirrm lib/X11/xedit/lisp/progmodes
+@dirrm lib/X11/xedit/lisp
+@dirrm lib/X11/xedit
+@dirrm lib/X11/xinit
+@dirrm lib/X11/xkb/compat
+@dirrm lib/X11/xkb/compiled
+@dirrm lib/X11/xkb/geometry/digital
@dirrm lib/X11/xkb/geometry/ibm
+@dirrm lib/X11/xkb/geometry/sgi
+@dirrm lib/X11/xkb/geometry
+@dirrm lib/X11/xkb/keycodes/digital
+@dirrm lib/X11/xkb/keycodes/sgi
+@dirrm lib/X11/xkb/keycodes
+@dirrm lib/X11/xkb/keymap/digital
+@dirrm lib/X11/xkb/keymap/sgi
+@dirrm lib/X11/xkb/keymap/sun
+@dirrm lib/X11/xkb/keymap
+@dirrm lib/X11/xkb/rules
+@dirrm lib/X11/xkb/semantics
+@dirrm lib/X11/xkb/symbols/digital
+@dirrm lib/X11/xkb/symbols/fujitsu
+@dirrm lib/X11/xkb/symbols/hp
+@dirrm lib/X11/xkb/symbols/macintosh
+@dirrm lib/X11/xkb/symbols/nec
+@dirrm lib/X11/xkb/symbols/pc
+@dirrm lib/X11/xkb/symbols/sgi
+@dirrm lib/X11/xkb/symbols/sony
+@dirrm lib/X11/xkb/symbols/sun
+@dirrm lib/X11/xkb/symbols/xfree68
+@dirrm lib/X11/xkb/symbols
+@dirrm lib/X11/xkb/types
+@dirrm lib/X11/xkb
+@dirrm lib/X11/xsm
diff --git a/x11/XFree86-4-documents/Makefile b/x11/XFree86-4-documents/Makefile
index ba76eea28f4d..e7774392d9f8 100644
--- a/x11/XFree86-4-documents/Makefile
+++ b/x11/XFree86-4-documents/Makefile
@@ -6,13 +6,13 @@
#
PORTNAME= documents
-PORTVERSION= 4.4.0
+PORTVERSION= 4.5.0
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XFREE}
MASTER_SITE_SUBDIR= ${PORTVERSION}
PKGNAMEPREFIX= XFree86-
-DISTFILES= XFree86-4.4.0-src-1.tgz \
- XFree86-4.4.0-src-6.tgz
+DISTFILES= XFree86-${PORTVERSION}-src-1.tgz \
+ XFree86-${PORTVERSION}-src-6.tgz
MAINTAINER= x11@FreeBSD.org
COMMENT= XFree86-4 documentation
@@ -37,6 +37,6 @@ do-configure:
.include <bsd.port.pre.mk>
.if ${X_WINDOW_SYSTEM:L} != xfree86-4
-IGNORE= is part of XFree86-4
+IGNORE= is part of XFree86-4
.endif
.include <bsd.port.post.mk>
diff --git a/x11/XFree86-4-documents/distinfo b/x11/XFree86-4-documents/distinfo
index 50e799f99281..0c395b4f09fb 100644
--- a/x11/XFree86-4-documents/distinfo
+++ b/x11/XFree86-4-documents/distinfo
@@ -1,4 +1,4 @@
-MD5 (xc/XFree86-4.4.0-src-1.tgz) = 97cea3d9e1197dde32ca34e3b6086469
-SIZE (xc/XFree86-4.4.0-src-1.tgz) = 11760814
-MD5 (xc/XFree86-4.4.0-src-6.tgz) = d1e12c33e9756d5143004a69f2cdac81
-SIZE (xc/XFree86-4.4.0-src-6.tgz) = 3254668
+MD5 (xc/XFree86-4.5.0-src-1.tgz) = 6c0fcf8069c13d068276016bbf6ad712
+SIZE (xc/XFree86-4.5.0-src-1.tgz) = 10507331
+MD5 (xc/XFree86-4.5.0-src-6.tgz) = f75cf36c1170c15c5e0de757667151d4
+SIZE (xc/XFree86-4.5.0-src-6.tgz) = 3257406
diff --git a/x11/XFree86-4-documents/files/patch-04 b/x11/XFree86-4-documents/files/patch-Imakefile
index 1dd024b87daa..34d44da6741d 100644
--- a/x11/XFree86-4-documents/files/patch-04
+++ b/x11/XFree86-4-documents/files/patch-Imakefile
@@ -1,6 +1,6 @@
---- Imakefile.orig Sun Apr 11 08:26:03 2004
-+++ Imakefile Sun Apr 11 08:26:24 2004
-@@ -13,13 +13,11 @@
+--- Imakefile.orig Wed Feb 2 17:35:34 2005
++++ Imakefile Wed Feb 2 17:36:07 2005
+@@ -8,7 +8,7 @@
#else
SUBDIRS = BDF CTEXT FSProtocol GL ICCCM ICE PM Render SM X11 XDMCP \
XIM XLFD XProtocol Xaw Xext Xi Xmu Xserver Xt Xv XvMC \
@@ -8,10 +8,11 @@
+ i18n rstart xfs xterm xtrans
#endif
- all::
+ AllTarget(specindex.html)
+@@ -21,6 +21,4 @@
+ #endif
- MakeSubdirs($(SUBDIRS))
- DependSubdirs($(SUBDIRS))
+ CppRawFileTarget(specindex.html,specindex.cpp,$(SPECINDEXDEFS),NullParameter)
-
-InstallDoc(specindex,specindex.html)
diff --git a/x11/XFree86-4-documents/pkg-plist b/x11/XFree86-4-documents/pkg-plist
index cf8199d5b779..5a8207d610df 100644
--- a/x11/XFree86-4-documents/pkg-plist
+++ b/x11/XFree86-4-documents/pkg-plist
@@ -1,93 +1,96 @@
-lib/X11/doc/DPMS.txt
-lib/X11/doc/DPMSLib.txt
-lib/X11/doc/ICElib.txt
-lib/X11/doc/LocaleDB.txt
-lib/X11/doc/PM_spec.txt
-lib/X11/doc/PostScript/DPMS.ps
-lib/X11/doc/PostScript/DPMSLib.ps
-lib/X11/doc/PostScript/ICElib.ps
-lib/X11/doc/PostScript/LocaleDB.ps
-lib/X11/doc/PostScript/SMlib.ps
-lib/X11/doc/PostScript/XIMTransport.ps
-lib/X11/doc/PostScript/XiLib.ps
-lib/X11/doc/PostScript/XiPorting.ps
-lib/X11/doc/PostScript/XiProtocol.ps
-lib/X11/doc/PostScript/Xtrans.ps
-lib/X11/doc/PostScript/appgroup.ps
-lib/X11/doc/PostScript/bdf.ps
-lib/X11/doc/PostScript/bigreq.ps
-lib/X11/doc/PostScript/buffer.ps
-lib/X11/doc/PostScript/ctext.ps
-lib/X11/doc/PostScript/ctlseqs.ps
-lib/X11/doc/PostScript/ddx.ps
-lib/X11/doc/PostScript/evi.ps
-lib/X11/doc/PostScript/fontlib.ps
-lib/X11/doc/PostScript/fsproto.ps
-lib/X11/doc/PostScript/i18nFramework.ps
-lib/X11/doc/PostScript/icccm.ps
-lib/X11/doc/PostScript/ice.ps
-lib/X11/doc/PostScript/intrinsics.ps
-lib/X11/doc/PostScript/mit-shm.ps
-lib/X11/doc/PostScript/proto.ps
-lib/X11/doc/PostScript/record.ps
-lib/X11/doc/PostScript/recordlib.ps
-lib/X11/doc/PostScript/rstart.ps
-lib/X11/doc/PostScript/shape.ps
-lib/X11/doc/PostScript/shapelib.ps
-lib/X11/doc/PostScript/tog-cup.ps
-lib/X11/doc/PostScript/widgets.ps
-lib/X11/doc/PostScript/xc-misc.ps
-lib/X11/doc/PostScript/xdmcp.ps
-lib/X11/doc/PostScript/xfs-design.ps
-lib/X11/doc/PostScript/xim.ps
-lib/X11/doc/PostScript/xlfd.ps
-lib/X11/doc/PostScript/xlib.ps
-lib/X11/doc/PostScript/xmu.ps
-lib/X11/doc/PostScript/xsmp.ps
-lib/X11/doc/PostScript/xtest.ps
-lib/X11/doc/PostScript/xtestlib.ps
-lib/X11/doc/SMlib.txt
-lib/X11/doc/XIMTransport.txt
-lib/X11/doc/XiLib.txt
-lib/X11/doc/XiPorting.txt
-lib/X11/doc/XiProtocol.txt
-lib/X11/doc/Xtrans.txt
-lib/X11/doc/XvMC_API.txt
-lib/X11/doc/appgroup.txt
-lib/X11/doc/bdf.txt
-lib/X11/doc/bigreq.txt
-lib/X11/doc/buffer.txt
-lib/X11/doc/ctext.txt
-lib/X11/doc/ctlseqs.txt
-lib/X11/doc/ddx.txt
-lib/X11/doc/evi.txt
-lib/X11/doc/fontlib.txt
-lib/X11/doc/fsproto.txt
-lib/X11/doc/i18nFramework.txt
-lib/X11/doc/icccm.txt
-lib/X11/doc/ice.txt
-lib/X11/doc/intrinsics.txt
-lib/X11/doc/libGL.txt
-lib/X11/doc/mit-shm.txt
-lib/X11/doc/proto.txt
-lib/X11/doc/record.txt
-lib/X11/doc/recordlib.txt
-lib/X11/doc/render-protocol.txt
-lib/X11/doc/rstart.txt
-lib/X11/doc/rstartd.txt
-lib/X11/doc/shape.txt
-lib/X11/doc/shapelib.txt
-lib/X11/doc/tog-cup.txt
-lib/X11/doc/widgets.txt
-lib/X11/doc/xc-misc.txt
-lib/X11/doc/xdmcp.txt
-lib/X11/doc/xfs-design.txt
-lib/X11/doc/xim.txt
-lib/X11/doc/xlfd.txt
-lib/X11/doc/xlib.txt
-lib/X11/doc/xmu.txt
-lib/X11/doc/xsmp.txt
-lib/X11/doc/xtest.txt
-lib/X11/doc/xtestlib.txt
-lib/X11/doc/xv-protocol-v2.txt
-@unexec rmdir %D/lib/X11/doc/PDF 2>/dev/null || true
+share/doc/XFree86/DPMS.txt
+share/doc/XFree86/DPMSLib.txt
+share/doc/XFree86/ICElib.txt
+share/doc/XFree86/LocaleDB.txt
+share/doc/XFree86/PM_spec.txt
+share/doc/XFree86/PostScript/DPMS.ps
+share/doc/XFree86/PostScript/DPMSLib.ps
+share/doc/XFree86/PostScript/ICElib.ps
+share/doc/XFree86/PostScript/LocaleDB.ps
+share/doc/XFree86/PostScript/SMlib.ps
+share/doc/XFree86/PostScript/XIMTransport.ps
+share/doc/XFree86/PostScript/XiLib.ps
+share/doc/XFree86/PostScript/XiPorting.ps
+share/doc/XFree86/PostScript/XiProtocol.ps
+share/doc/XFree86/PostScript/Xtrans.ps
+share/doc/XFree86/PostScript/appgroup.ps
+share/doc/XFree86/PostScript/bdf.ps
+share/doc/XFree86/PostScript/bigreq.ps
+share/doc/XFree86/PostScript/buffer.ps
+share/doc/XFree86/PostScript/ctext.ps
+share/doc/XFree86/PostScript/ctlseqs.ps
+share/doc/XFree86/PostScript/ddx.ps
+share/doc/XFree86/PostScript/evi.ps
+share/doc/XFree86/PostScript/fontlib.ps
+share/doc/XFree86/PostScript/fsproto.ps
+share/doc/XFree86/PostScript/i18nFramework.ps
+share/doc/XFree86/PostScript/icccm.ps
+share/doc/XFree86/PostScript/ice.ps
+share/doc/XFree86/PostScript/intrinsics.ps
+share/doc/XFree86/PostScript/mit-shm.ps
+share/doc/XFree86/PostScript/proto.ps
+share/doc/XFree86/PostScript/record.ps
+share/doc/XFree86/PostScript/recordlib.ps
+share/doc/XFree86/PostScript/rstart.ps
+share/doc/XFree86/PostScript/shape.ps
+share/doc/XFree86/PostScript/shapelib.ps
+share/doc/XFree86/PostScript/tog-cup.ps
+share/doc/XFree86/PostScript/widgets.ps
+share/doc/XFree86/PostScript/xc-misc.ps
+share/doc/XFree86/PostScript/xdmcp.ps
+share/doc/XFree86/PostScript/xfs-design.ps
+share/doc/XFree86/PostScript/xim.ps
+share/doc/XFree86/PostScript/xlfd.ps
+share/doc/XFree86/PostScript/xlib.ps
+share/doc/XFree86/PostScript/xmu.ps
+share/doc/XFree86/PostScript/xsmp.ps
+share/doc/XFree86/PostScript/xtest.ps
+share/doc/XFree86/PostScript/xtestlib.ps
+share/doc/XFree86/SMlib.txt
+share/doc/XFree86/XIMTransport.txt
+share/doc/XFree86/XiLib.txt
+share/doc/XFree86/XiPorting.txt
+share/doc/XFree86/XiProtocol.txt
+share/doc/XFree86/Xtrans.txt
+share/doc/XFree86/XvMC_API.txt
+share/doc/XFree86/appgroup.txt
+share/doc/XFree86/bdf.txt
+share/doc/XFree86/bigreq.txt
+share/doc/XFree86/buffer.txt
+share/doc/XFree86/ctext.txt
+share/doc/XFree86/ctlseqs.txt
+share/doc/XFree86/ddx.txt
+share/doc/XFree86/evi.txt
+share/doc/XFree86/fontlib.txt
+share/doc/XFree86/fsproto.txt
+share/doc/XFree86/i18nFramework.txt
+share/doc/XFree86/icccm.txt
+share/doc/XFree86/ice.txt
+share/doc/XFree86/intrinsics.txt
+share/doc/XFree86/libGL.txt
+share/doc/XFree86/mit-shm.txt
+share/doc/XFree86/proto.txt
+share/doc/XFree86/record.txt
+share/doc/XFree86/recordlib.txt
+share/doc/XFree86/render-protocol.txt
+share/doc/XFree86/rstart.txt
+share/doc/XFree86/rstartd.txt
+share/doc/XFree86/shape.txt
+share/doc/XFree86/shapelib.txt
+share/doc/XFree86/tog-cup.txt
+share/doc/XFree86/widgets.txt
+share/doc/XFree86/xc-misc.txt
+share/doc/XFree86/xdmcp.txt
+share/doc/XFree86/xfs-design.txt
+share/doc/XFree86/xim.txt
+share/doc/XFree86/xlfd.txt
+share/doc/XFree86/xlib.txt
+share/doc/XFree86/xmu.txt
+share/doc/XFree86/xsmp.txt
+share/doc/XFree86/xtest.txt
+share/doc/XFree86/xtestlib.txt
+share/doc/XFree86/xv-protocol-v2.txt
+@unexec rmdir %D/share/doc/XFree86/PDF 2>/dev/null || true
+@unexec rmdir %D/share/doc/XFree86/PostScript 2>/dev/null || true
+@unexec rmdir %D/share/doc/XFree86/html 2>/dev/null || true
+@unexec rmdir %D/share/doc/XFree86 2>/dev/null || true
diff --git a/x11/XFree86-4-libraries/Makefile b/x11/XFree86-4-libraries/Makefile
index 5af3dc5b1890..9b4b897d27d5 100644
--- a/x11/XFree86-4-libraries/Makefile
+++ b/x11/XFree86-4-libraries/Makefile
@@ -6,21 +6,14 @@
#
PORTNAME= libraries
-PORTVERSION= 4.4.0
-PORTREVISION= 3
+PORTVERSION= 4.5.0
CATEGORIES= x11
-MASTER_SITES= ${MASTER_SITE_XFREE:S/$/:x/} \
- ${MASTER_SITE_LOCAL:S/$/:local/}
-MASTER_SITE_SUBDIR= ${PORTVERSION}/:x \
- anholt/:local
+MASTER_SITES= ${MASTER_SITE_XFREE}
+MASTER_SITE_SUBDIR= ${PORTVERSION}
PKGNAMEPREFIX= XFree86-
-DISTFILES= XFree86-4.4.0-src-1.tgz:x \
- XFree86-4.4.0-src-2.tgz:x \
- XFree86-4.4.0-src-3.tgz:x \
- Wraphelp2.gz:local
-EXTRACT_ONLY= XFree86-4.4.0-src-1.tgz \
- XFree86-4.4.0-src-2.tgz \
- XFree86-4.4.0-src-3.tgz
+DISTFILES= XFree86-${PORTVERSION}-src-1.tgz \
+ XFree86-${PORTVERSION}-src-2.tgz \
+ XFree86-${PORTVERSION}-src-3.tgz
MAINTAINER= x11@FreeBSD.org
COMMENT= XFree86-4 libraries and headers
@@ -28,12 +21,16 @@ COMMENT= XFree86-4 libraries and headers
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig
-CONFLICTS= Mesa-* libX11-* libGL-* libGLU-* libICE-* libSM-* libXau-* \
- libXaw-* libXcursor-* libXdmcp-* libXext-* libXfont-* libXi-* \
- libXinerama-* libXmu-* libXp-* libXpm-* libXrandr-* \
- libXrender-* libXres-* libXt-* libXv-* libXxf86-* libxkbfile-* \
- panoramixext-* printext-* randrext-* renderext-* resourceext-* \
- xextensions-* xf86ext-* xlibs-* xorg-libraries-* xpm-* xproto-*
+CONFLICTS= Mesa-[0-9]* libX11-[0-9]* libGL-[0-9]* libGLU-[0-9]* \
+ libICE-[0-9]* libSM-[0-9]* libXau-[0-9]* libXaw-[0-9]* \
+ libXcursor-[0-9]* libXdmcp-[0-9]* libXext-[0-9]* \
+ libXfont-[0-9]* libXi-[0-9]* libXinerama-[0-9]* libXmu-[0-9]* \
+ libXp-[0-9]* libXpm-[0-9]* libXrandr-[0-9]* libXrender-[0-9]* \
+ libXres-[0-9]* libXt-[0-9]* libXv-[0-9]* libXxf86-[0-9]* \
+ libxkbfile-[0-9]* panoramixext-[0-9]* printext-[0-9]* \
+ randrext-[0-9]* renderext-[0-9]* resourceext-[0-9]* \
+ xextensions-[0-9]* xf86ext-[0-9]* xlibs-[0-9]* \
+ xorg-libraries-[0-9]* xpm-[0-9]* xproto-[0-9]*
USE_X_PREFIX= no
PREFIX?= ${X11BASE}
@@ -96,7 +93,8 @@ XINSTALL_DIRS= include lib nls programs/Xserver/include \
XINSTALL_MAN_DIRS= ${XINSTALL_DIRS}
# XFree86 User Config:
-# DebuggableLibraries NO build with debug libs (require FreeBSD-4 or later)
+# DebuggableLibraries NO build with debug libs
+# (requires FreeBSD 4.X or later)
# ----------------------------------------------------------------------------
DebuggableLibraries?= NO
# End of XFree86 User Config
@@ -108,7 +106,7 @@ DebuggableLibraries?= NO
.include "Makefile.inc"
.include <bsd.port.pre.mk>
.if ${X_WINDOW_SYSTEM:L} != xfree86-4
-IGNORE= is part of XFree86-4
+IGNORE= is part of XFree86-4
.endif
# BuildXF86DRI is false for FreeBSD < 4.1
@@ -118,27 +116,29 @@ PLIST_SUB+= OSMESA:="@comment "
PLIST_SUB+= OSMESA:=""
.endif
-# sparc64 doesn't have a working libc_r yet, and -current doesn't need libXThrStub.
-.if ${MACHINE_ARCH} == "sparc64" || ${OSVERSION} >= 500043
-PLIST_SUB+= XTHRSTUB:="@comment "
-.else
-PLIST_SUB+= XTHRSTUB:=""
-.endif
-
-post-extract:
- ${GUNZIP_CMD} -c ${DISTDIR}/${DIST_SUBDIR}/Wraphelp2.gz > \
- ${WRKSRC}/lib/Xdmcp/Wraphelp.c
+# sparc64 doesn't have a working libc_r yet, and -current doesn't need
+# libXThrStub.
+#.if ${ARCH} == "sparc64" || ${OSVERSION} >= 500043
+#PLIST_SUB+= XTHRSTUB:="@comment "
+#.else
+#PLIST_SUB+= XTHRSTUB:=""
+#.endif
post-patch:
- ${CP} ${FILESDIR}/nls::Compose::microsoft-cp1251 ${WRKSRC}/nls/Compose/microsoft-cp1251
+ ${CP} ${FILESDIR}/nls::Compose::microsoft-cp1251 \
+ ${WRKSRC}/nls/Compose/microsoft-cp1251
post-install:
+ ${MKDIR} ${PREFIX}/include/X11/PM
${INSTALL_DATA} ${WRKSRC}/programs/proxymngr/PM.h \
- ${PREFIX}/include/X11/PM
+ ${PREFIX}/include/X11/PM
${INSTALL_DATA} ${WRKSRC}/programs/proxymngr/PMproto.h \
- ${PREFIX}/include/X11/PM
+ ${PREFIX}/include/X11/PM
${MKDIR} ${PREFIX}/libdata/pkgconfig
${INSTALL_DATA} ${WRKSRC}/lib/Xcursor/xcursor.pc \
- ${PREFIX}/libdata/pkgconfig
+ ${PREFIX}/libdata/pkgconfig
+ ${MKDIR} ${PREFIX}/lib/X11/xserver
+ ${INSTALL_DATA} ${WRKSRC}/programs/Xserver/Xext/SecurityPolicy \
+ ${PREFIX}/lib/X11/xserver/SecurityPolicy.default
.include <bsd.port.post.mk>
diff --git a/x11/XFree86-4-libraries/distinfo b/x11/XFree86-4-libraries/distinfo
index edbe3d91944d..5cb3430994ae 100644
--- a/x11/XFree86-4-libraries/distinfo
+++ b/x11/XFree86-4-libraries/distinfo
@@ -1,8 +1,6 @@
-MD5 (xc/XFree86-4.4.0-src-1.tgz) = 97cea3d9e1197dde32ca34e3b6086469
-SIZE (xc/XFree86-4.4.0-src-1.tgz) = 11760814
-MD5 (xc/XFree86-4.4.0-src-2.tgz) = b9b6c74a03e314569e01d5fd4ff59523
-SIZE (xc/XFree86-4.4.0-src-2.tgz) = 5745538
-MD5 (xc/XFree86-4.4.0-src-3.tgz) = 703404f48d3a15f58389a879d47c769d
-SIZE (xc/XFree86-4.4.0-src-3.tgz) = 11239253
-MD5 (xc/Wraphelp2.gz) = bd1910492087442288d885412e2e5535
-SIZE (xc/Wraphelp2.gz) = 3376
+MD5 (xc/XFree86-4.5.0-src-1.tgz) = 6c0fcf8069c13d068276016bbf6ad712
+SIZE (xc/XFree86-4.5.0-src-1.tgz) = 10507331
+MD5 (xc/XFree86-4.5.0-src-2.tgz) = cc296c71cbe58edc3ffdec1084e58f4c
+SIZE (xc/XFree86-4.5.0-src-2.tgz) = 5826556
+MD5 (xc/XFree86-4.5.0-src-3.tgz) = c0ad630bfec4545857c2877b3e2dcbeb
+SIZE (xc/XFree86-4.5.0-src-3.tgz) = 12086763
diff --git a/x11/XFree86-4-libraries/files/patch-amd64 b/x11/XFree86-4-libraries/files/patch-amd64
deleted file mode 100644
index bf1674147090..000000000000
--- a/x11/XFree86-4-libraries/files/patch-amd64
+++ /dev/null
@@ -1,300 +0,0 @@
---- config/imake/imakemdep.h.orig Mon Dec 29 20:53:52 2003
-+++ config/imake/imakemdep.h Tue Mar 2 11:05:16 2004
-@@ -374,6 +374,9 @@
- # ifdef __AMD64__
- "-D__AMD64__",
- # endif
-+# ifdef __amd64__
-+ "-D__amd64__",
-+# endif
- # ifdef __x86_64__
- "-D__AMD64__",
- # endif
-@@ -1271,6 +1274,9 @@
- # if defined (__AMD64__) || defined (__x86_64__)
- {"__AMD64__", "1"},
- {"__x86_64__", "1"},
-+# endif
-+# if defined (__amd64__)
-+ {"__amd64__", "1"},
- # endif
- # ifdef __i386
- {"__i386", "1"},
---- extras/Mesa/src/mmath.h.orig Wed Oct 22 11:44:41 2003
-+++ extras/Mesa/src/mmath.h Thu Mar 4 14:25:57 2004
-@@ -205,7 +205,7 @@
-
-
- #if defined(__i386__) || defined(__sparc__) || defined(__s390x__) || \
-- defined(__powerpc__) || defined(__AMD64__) || \
-+ defined(__powerpc__) || defined(__AMD64__) || defined(__amd64__) || \
- ( defined(__alpha__) && ( defined(__IEEE_FLOAT) || !defined(VMS) ) )
- #define USE_IEEE
- #endif
---- extras/x86emu/include/x86emu/types.h.orig Mon Jul 7 11:34:21 2003
-+++ extras/x86emu/include/x86emu/types.h Thu Mar 4 14:29:56 2004
-@@ -76,7 +76,7 @@
- defined(__sparc64__) || \
- defined(__s390x__) || \
- (defined(__hppa__) && defined(__LP64)) || \
-- defined(__AMD64__) || defined(AMD64) || \
-+ defined(__AMD64__) || defined(AMD64) || defined(__amd64__) || \
- (defined(__sgi) && (_MIPS_SZLONG == 64))
- #define NUM32 int
- #else
---- include/DPS/dpsconfig.h.orig Thu Mar 4 14:33:19 2004
-+++ include/DPS/dpsconfig.h Thu Mar 4 14:33:14 2004
-@@ -89,7 +89,7 @@
- #if defined(__alpha) || defined(__alpha__) || \
- defined(__ia64__) || defined(ia64) || \
- defined(__s390x__) || \
-- defined(__AMD64__) || defined(AMD64)
-+ defined(__AMD64__) || defined(AMD64) || defined(__amd64__)
- #define IEEEFLOAT 1
- #endif
-
---- include/Xmd.h.orig Thu Oct 23 11:19:01 2003
-+++ include/Xmd.h Wed Mar 3 19:29:07 2004
-@@ -64,7 +64,7 @@
- defined(__sparc64__) || \
- defined(__s390x__) || \
- (defined(__hppa__) && defined(__LP64__)) || \
-- defined(__AMD64__) || defined(AMD64) || \
-+ defined(__AMD64__) || defined(AMD64) || defined(__amd64__) || \
- (defined(sgi) && (_MIPS_SZLONG == 64))
- #define LONG64 /* 32/64-bit architecture */
- #endif
---- lib/Xt/Xtos.h.orig Fri Oct 24 11:47:35 2003
-+++ lib/Xt/Xtos.h Thu Mar 4 14:37:00 2004
-@@ -67,7 +67,7 @@
- defined(__sparc64__) || \
- defined(__s390x__) || \
- (defined(__hppa__) && defined(__LP64__)) || \
-- defined(__AMD64__) || defined(AMD64) || \
-+ defined(__AMD64__) || defined(AMD64) || defined(__amd64__) || \
- (defined(sgi) && (_MIPS_SZLONG == 64))
- #define LONG64
- #endif
---- lib/font/util/fontxlfd.c.orig Fri Oct 24 12:11:52 2003
-+++ lib/font/util/fontxlfd.c Thu Mar 4 14:39:56 2004
-@@ -197,7 +197,7 @@
- defined(ia64) || defined(__ia64__) || \
- defined(__alpha__) || defined(__alpha) || \
- defined(__hppa__) || \
-- defined(__AMD64__) || defined(__AMD64) || \
-+ defined(__AMD64__) || defined(__AMD64) || defined(__amd64__) || \
- defined(sgi)
- #if !defined(__UNIXOS2__)
- #include <float.h>
---- programs/Xserver/fb/fb.h.orig Mon Nov 3 00:11:00 2003
-+++ programs/Xserver/fb/fb.h Wed Mar 3 19:14:52 2004
-@@ -105,7 +105,7 @@
- defined(ia64) || defined(__ia64__) || \
- defined(__sparc64__) || \
- defined(__s390x__) || \
-- defined(AMD64) || defined (__AMD64__) || \
-+ defined(AMD64) || defined (__AMD64__) || defined (__amd64__) \
- (defined(sgi) && (_MIPS_SZLONG == 64))
- typedef unsigned long FbBits;
- # else
---- programs/Xserver/hw/xfree86/loader/elfloader.c.orig Thu Nov 6 13:38:13 2003
-+++ programs/Xserver/hw/xfree86/loader/elfloader.c Thu Mar 4 14:46:17 2004
-@@ -137,7 +137,7 @@
- # if !defined(linux)
- # error No MAP_ANON?
- # endif
--# if !defined (__AMD64__) || !defined(__linux__)
-+# if !(defined (__AMD64__) || defined (__amd64__)) || !defined(__linux__)
- # define MMAP_FLAGS (MAP_PRIVATE | MAP_ANON)
- # else
- # define MMAP_FLAGS (MAP_PRIVATE | MAP_ANON | MAP_32BIT)
-@@ -156,6 +156,7 @@
- #if defined (__alpha__) || \
- defined (__ia64__) || \
- defined (__AMD64__) || \
-+ defined (__amd64__) || \
- (defined (__sparc__) && \
- (defined (__arch64__) || \
- defined (__sparcv9)))
-@@ -247,7 +248,8 @@
- defined(__alpha__) || \
- defined(__sparc__) || \
- defined(__ia64__) || \
-- defined(__AMD64__)
-+ defined(__AMD64__) || \
-+ defined(__amd64__)
- typedef Elf_Rela Elf_Rel_t;
- #else
- typedef Elf_Rel Elf_Rel_t;
-@@ -441,7 +443,8 @@
- defined(__alpha__) || \
- defined(__sparc__) || \
- defined(__ia64__) || \
-- defined(__AMD64__)
-+ defined(__AMD64__) || \
-+ defined(__amd64__)
- ELFDEBUG(", r_addend 0x%lx", rel->r_addend);
- # endif
- ELFDEBUG("\n");
-@@ -477,6 +480,7 @@
- #if defined(__alpha__) || \
- defined(__ia64__) || \
- defined(__AMD64__) || \
-+ defined(__amd64__) || \
- (defined(__sparc__) && \
- (defined(__arch64__) || \
- defined(__sparcv9)))
-@@ -501,6 +505,7 @@
- #if defined(__alpha__) || \
- defined(__ia64__) || \
- defined(__AMD64__) || \
-+ defined(__amd64__) || \
- (defined(__sparc__) && \
- (defined(__arch64__) || \
- defined(__sparcv9)))
-@@ -556,6 +561,7 @@
- #if defined(__alpha__) || \
- defined(__ia64__) || \
- defined(__AMD64__) || \
-+ defined(__amd64__) || \
- (defined(__sparc__) && \
- (defined(__arch64__) || \
- defined(__sparcv9)))
-@@ -1216,7 +1222,7 @@
- unsigned long *dest64;
- unsigned short *dest16;
- #endif
--#if defined(__AMD64__)
-+#if defined(__AMD64__) || defined(__amd64__)
- unsigned long *dest64;
- int *dest32s;
- #endif
-@@ -1234,7 +1240,8 @@
- defined(__alpha__) || \
- defined(__sparc__) || \
- defined(__ia64__) || \
-- defined(__AMD64__)
-+ defined(__AMD64__) || \
-+ defined(__amd64__)
- ELFDEBUG("%lx", rel->r_addend);
- # endif
- ELFDEBUG("\n");
-@@ -1293,7 +1300,7 @@
-
- break;
- #endif /* i386 */
--#if defined(__AMD64__)
-+#if defined(__AMD64__) || defined(__amd64__)
- case R_X86_64_32:
- dest32 = (unsigned int *)(secp + rel->r_offset);
- # ifdef ELFDEBUG
---- programs/Xserver/hw/xfree86/loader/loader.c.orig Fri Feb 13 18:58:45 2004
-+++ programs/Xserver/hw/xfree86/loader/loader.c Thu Mar 4 14:50:15 2004
-@@ -507,7 +507,7 @@
- if ((new_off_bias + size) > new_size)
- new_size += pagesize;
- ret = (unsigned long)mmap(0, new_size, MMAP_PROT, MAP_PRIVATE
--# ifdef __AMD64__
-+# if defined(__AMD64__) || defined(__amd64__)
- | MAP_32BIT
- # endif
- , fd, new_off);
-@@ -516,7 +516,7 @@
- return (void *)(ret + new_off_bias);
- # else
- ret = (unsigned long)mmap(0, size, MMAP_PROT, MAP_PRIVATE
--# ifdef __AMD64__
-+# if defined(__AMD64__) || defined(__amd64__)
- | MAP_32BIT
- # endif
- , fd, offset + offsetbias);
---- programs/Xserver/hw/xfree86/os-support/bus/Imakefile.orig Thu Oct 2 09:30:06 2003
-+++ programs/Xserver/hw/xfree86/os-support/bus/Imakefile Thu Mar 4 01:46:09 2004
-@@ -80,7 +80,8 @@
- PCIDRVRSRC = ix86Pci.c linuxPci.c
- PCIDRVROBJ = ix86Pci.o linuxPci.o
-
--#elif defined(FreeBSDArchitecture) && defined(AlphaArchitecture)
-+#elif defined(FreeBSDArchitecture) && \
-+ (defined(AlphaArchitecture) || defined(AMD64Architecture))
-
-
- XCOMM generic FreeBSD PCI driver (using /dev/pci)
---- programs/Xserver/hw/xfree86/os-support/bus/Pci.h.orig Fri Feb 13 18:58:47 2004
-+++ programs/Xserver/hw/xfree86/os-support/bus/Pci.h Wed Mar 3 19:39:52 2004
-@@ -347,7 +347,7 @@
- # if !defined(__FreeBSD__)
- # define ARCH_PCI_PCI_BRIDGE sparcPciPciBridge
- # endif
--#elif defined(__AMD64__)
-+#elif defined(__AMD64__) || defined(__amd64__)
- # if defined(__FreeBSD__)
- # define ARCH_PCI_INIT freebsdPciInit
- # else
---- programs/Xserver/hw/xfree86/os-support/xf86drm.h.orig Wed Oct 29 05:57:47 2003
-+++ programs/Xserver/hw/xfree86/os-support/xf86drm.h Wed Mar 3 20:13:22 2004
-@@ -289,7 +289,7 @@
- #define DRM_LOCK_CONT 0x40000000 /**< Hardware lock is contended */
-
- #if defined(__GNUC__) && (__GNUC__ >= 2)
--# if defined(__i386) || defined(__AMD64__)
-+# if defined(__i386) || defined(__AMD64__) || defined(__amd64__)
- /* Reflect changes here to drmP.h */
- #define DRM_CAS(lock,old,new,__ret) \
- do { \
---- programs/Xserver/hw/xfree86/xf86cfg/loadmod.c.orig Thu Jun 12 10:12:38 2003
-+++ programs/Xserver/hw/xfree86/xf86cfg/loadmod.c Thu Mar 4 14:54:57 2004
-@@ -182,7 +182,7 @@
- SYMFUNC(xf86memchr)
- SYMFUNC(xf86memcmp)
- SYMFUNC(xf86memcpy)
--#if (defined(__powerpc__) && (defined(Lynx) || defined(linux))) || defined(__sparc__) || defined(__ia64__) || defined (__AMD64__)
-+#if (defined(__powerpc__) && (defined(Lynx) || defined(linux))) || defined(__sparc__) || defined(__ia64__) || defined (__AMD64__) || defined (__amd64__)
- /*
- * Some PPC, SPARC, and IA64 compilers generate calls to memcpy to handle
- * structure copies. This causes a problem both here and in shared
---- programs/Xserver/include/servermd.h.orig Mon Nov 3 00:11:59 2003
-+++ programs/Xserver/include/servermd.h Tue Mar 2 10:55:03 2004
-@@ -389,7 +389,8 @@
-
- #endif /* ia64 */
-
--#if defined(__AMD64__) || defined(AMD64)
-+#if defined(__AMD64__) || defined(AMD64) || \
-+ defined(__amd64__)
- # define IMAGE_BYTE_ORDER LSBFirst
-
- # if defined(XF86MONOVGA) || defined(XF86VGA16) || defined(XF86MONO)
---- programs/Xserver/mi/micoord.h.orig Fri Feb 13 18:58:52 2004
-+++ programs/Xserver/mi/micoord.h Thu Mar 4 14:57:05 2004
-@@ -70,7 +70,7 @@
- defined(__i386__) || defined(i386) || \
- defined(__ia64__) || defined(ia64) || \
- defined(__s390x__) || defined(__s390__) || \
-- defined(__AMD64__) || defined(AMD64)
-+ defined(__AMD64__) || defined(AMD64) || defined(__amd64__)
- #define GetHighWord(x) (((int) (x)) >> 16)
- #else
- #define GetHighWord(x) (((int) (x)) / 65536)
---- programs/Xserver/os/xalloc.c.orig Mon Nov 3 00:12:00 2003
-+++ programs/Xserver/os/xalloc.c Thu Mar 4 15:00:10 2004
-@@ -184,7 +184,7 @@
- defined(__ia64__) || defined(ia64) || \
- defined(__sparc64__) || \
- defined(__s390x__) || \
-- defined(__AMD64__) || defined(AMD64) || \
-+ defined(__AMD64__) || defined(AMD64) || defined(__amd64__) || \
- (defined(sgi) && _MIPS_SZLONG == 64))
- #define MAGIC 0x1404196414071968
- #define MAGIC_FREE 0x1506196615061966
---- programs/Xserver/render/picture.h.orig Mon Nov 3 00:12:01 2003
-+++ programs/Xserver/render/picture.h Thu Mar 4 15:08:31 2004
-@@ -170,7 +170,7 @@
- defined(ia64) || defined(__ia64__) || \
- defined(__sparc64__) || \
- defined(__s390x__) || \
-- defined(AMD64) || defined (__AMD64__) || \
-+ defined(AMD64) || defined (__AMD64__) || defined (__amd64__) || \
- (defined(sgi) && (_MIPS_SZLONG == 64))
- typedef long xFixed_32_32;
- # else
diff --git a/x11/XFree86-4-libraries/files/patch-dri-Imakefile b/x11/XFree86-4-libraries/files/patch-dri-Imakefile
deleted file mode 100644
index 3e6ea5970d3c..000000000000
--- a/x11/XFree86-4-libraries/files/patch-dri-Imakefile
+++ /dev/null
@@ -1,11 +0,0 @@
---- programs/Xserver/GL/dri/Imakefile.orig Mon Mar 3 20:21:30 2003
-+++ programs/Xserver/GL/dri/Imakefile Mon Mar 3 20:21:31 2003
-@@ -13,7 +13,7 @@
-
- INCLUDES = -I$(SERVERSRC)/include -I$(INCLUDESRC) -I$(XINCLUDESRC) \
- -I$(EXTINCSRC) \
-- -I$(XF86OSSRC) -I$(XF86COMSRC) \
-+ -I$(XF86OSSRC) -I$(XF86OSSRC)/bus -I$(XF86COMSRC) \
- -I../include -I../glx -I$(LIBSRC)/GL/include \
- -I$(SERVERSRC)/mi -I$(FONTINCSRC)
- DEFINES = $(GLX_DEFINES)
diff --git a/x11/XFree86-4-libraries/files/patch-glheader b/x11/XFree86-4-libraries/files/patch-glheader
deleted file mode 100644
index f10ac02f2f17..000000000000
--- a/x11/XFree86-4-libraries/files/patch-glheader
+++ /dev/null
@@ -1,16 +0,0 @@
---- extras/Mesa/src/glheader.h Wed Nov 6 12:19:39 2002
-+++ extras/Mesa/src/glheader.h Sun Nov 2 12:22:42 2003
-@@ -222,5 +222,5 @@
- */
- #ifndef _ASMAPI
--#if !defined( __GNUC__ ) && !defined( VMS )
-+#if !defined( __GNUC__ ) && !defined( VMS ) && !defined(__INTEL_COMPILER)
- #define _ASMAPI __cdecl
- #else
-@@ -252,4 +252,6 @@
- #elif defined(__ICL)
- # define INLINE __inline
-+#elif defined(__INTEL_COMPILER)
-+# define INLINE inline
- #else
- # define INLINE
diff --git a/x11/XFree86-4-libraries/files/patch-z44 b/x11/XFree86-4-libraries/files/patch-lib_GL_GL_Imakefile
index 9b6f755f2e6c..eb52f912cad7 100644
--- a/x11/XFree86-4-libraries/files/patch-z44
+++ b/x11/XFree86-4-libraries/files/patch-lib_GL_GL_Imakefile
@@ -1,10 +1,7 @@
---- lib/GL/GL/Imakefile.orig Tue Apr 3 11:29:31 2001
-+++ lib/GL/GL/Imakefile Sat Oct 20 10:14:30 2001
-@@ -214,14 +214,17 @@
- #undef _LinkBuildLibrary
- #define _LinkBuildLibrary(lib) LinkBuildLibrary(lib)
+--- lib/GL/GL/Imakefile.orig Sun Jan 9 03:58:13 2005
++++ lib/GL/GL/Imakefile Sun Jan 9 04:01:26 2005
+@@ -294,11 +294,15 @@
--
#if NormalLibGlx
NormalLibraryTarget($(LIBNAME),$(UOBJS))
+#if !defined(LibInstall) || LibInstall
@@ -19,7 +16,7 @@
#if LinkGLToUsrLib && AlternateUsrLibDir
install::
MakeDir($(DESTDIR)$(SYSTEMUSRLIBDIR))
-@@ -233,11 +236,14 @@
+@@ -310,8 +314,10 @@
#endif
#if DebugLibGlx
DebuggedLibraryTarget($(LIBNAME),$(DOBJS))
@@ -27,11 +24,16 @@
InstallLibrary($(LIBNAME)_d,$(USRLIBDIR))
#endif
+#endif
+ #if ExtraLibGlx && defined(ExtraLibRules)
+ all::
+ ExtraLibMkdir()
+@@ -322,7 +328,9 @@
+ #endif
#if ProfileLibGlx
ProfiledLibraryTarget($(LIBNAME),$(POBJS))
+#if !defined(LibInstall) || LibInstall
InstallLibrary($(LIBNAME)_p,$(USRLIBDIR))
- #endif
--
+#endif
+ #endif
+
diff --git a/x11/XFree86-4-libraries/files/patch-z30 b/x11/XFree86-4-libraries/files/patch-lib_GL_mesa_drivers_dri_Imakefile
index 2365d8400d98..156ed4c1189d 100644
--- a/x11/XFree86-4-libraries/files/patch-z30
+++ b/x11/XFree86-4-libraries/files/patch-lib_GL_mesa_drivers_dri_Imakefile
@@ -1,8 +1,8 @@
---- lib/GL/mesa/src/drv/Imakefile.orig Tue Dec 5 10:17:23 2000
-+++ lib/GL/mesa/src/drv/Imakefile Tue Dec 5 13:29:59 2000
-@@ -70,6 +70,10 @@
+--- lib/GL/mesa/drivers/dri/Imakefile.orig Sun Jan 9 22:27:16 2005
++++ lib/GL/mesa/drivers/dri/Imakefile Sun Jan 9 22:27:59 2005
+@@ -7,6 +7,10 @@
- #endif /* GlxUseBuiltInDRIDriver */
+ SUBDIRS = common DriDrivers
+#if (defined(FreeBSDBuildXlib) && FreeBSDBuildXlib) || (defined(ModInstall) && !ModInstall)
+SUBDIRS = common
diff --git a/x11/XFree86-4-libraries/files/patch-z32 b/x11/XFree86-4-libraries/files/patch-lib_GL_mesa_drivers_osmesa_Imakefile
index 7ac43bf1cd09..71b6bb04bc08 100644
--- a/x11/XFree86-4-libraries/files/patch-z32
+++ b/x11/XFree86-4-libraries/files/patch-lib_GL_mesa_drivers_osmesa_Imakefile
@@ -1,15 +1,14 @@
---- lib/GL/mesa/src/OSmesa/Imakefile.orig Tue Apr 3 11:29:33 2001
-+++ lib/GL/mesa/src/OSmesa/Imakefile Thu Jun 7 02:58:09 2001
-@@ -58,7 +58,7 @@
- LIBNAME = OSMesa
- SOREV = 3.3
+--- lib/GL/mesa/drivers/osmesa/Imakefile.orig Sun Jan 9 03:32:47 2005
++++ lib/GL/mesa/drivers/osmesa/Imakefile Sun Jan 9 03:34:41 2005
+@@ -131,6 +131,7 @@
+ #endif
+
--
+#if !defined(LibInstall) || LibInstall || (!defined(ModInstall) || ModInstall)
#if DoNormalLib
NormalLibraryTarget($(LIBNAME), $(UOBJS))
InstallLibrary($(LIBNAME),$(USRLIBDIR))
-@@ -77,6 +77,7 @@
+@@ -158,6 +159,7 @@
#if DoProfileLib
ProfiledLibraryTarget($(LIBNAME), $(POBJS))
InstallLibrary($(LIBNAME)_p,$(USRLIBDIR))
diff --git a/x11/XFree86-4-libraries/files/patch-lib-Imakefile b/x11/XFree86-4-libraries/files/patch-lib_Imakefile
index f0ebcfc94004..9e23e6c01608 100644
--- a/x11/XFree86-4-libraries/files/patch-lib-Imakefile
+++ b/x11/XFree86-4-libraries/files/patch-lib_Imakefile
@@ -1,11 +1,11 @@
---- lib/Imakefile.orig Thu Apr 8 23:24:13 2004
-+++ lib/Imakefile Thu Apr 8 23:25:07 2004
-@@ -207,7 +207,7 @@
+--- lib/Imakefile.orig Sun Jan 9 22:24:32 2005
++++ lib/Imakefile Sun Jan 9 22:25:09 2005
+@@ -249,7 +249,7 @@
$(DPSLIBDIR) $(DPSTKLIBDIR) $(PSRESLIBDIR) $(XINERAMADIR) \
$(ZLIBDIR) $(REGEXDIR) $(RENDERLIBDIR) $(FREETYPE2BUILDDIR) \
- $(LIBXML2BUILDDIR) $(EXPATBUILDDIR) $(FONTCONFIGBUILDDIR) \
+ $(LIBXML2BUILDDIR) $(FONTCONFIGBUILDDIR) \
- $(XFT1LIBDIR) $(XFTLIBDIR) $(XVMCLIBDIR) $(RANDRLIBDIR) \
+ $(XVMCLIBDIR) $(RANDRLIBDIR) \
- $(XTRAPLIBDIR) $(XRESLIBDIR) $(XCURSORLIBDIR) $(APPLELIBDIR)
+ $(XTRAPLIBDIR) $(XRESLIBDIR) $(XCURSORLIBDIR) $(APPLELIBDIR) \
+ $(DMXLIBDIR)
- SUBDIRS = $(BERKDIR) xtrans $(LINTSUBDIRS) $(FONTSUBDIR) $(FONTENCSUBDIR) \
diff --git a/x11/XFree86-4-libraries/files/patch-z04 b/x11/XFree86-4-libraries/files/patch-lib_X11_Imakefile
index 24ac35c46c1b..1cc81756d39a 100644
--- a/x11/XFree86-4-libraries/files/patch-z04
+++ b/x11/XFree86-4-libraries/files/patch-lib_X11_Imakefile
@@ -1,15 +1,15 @@
---- lib/X11/Imakefile.orig Thu Apr 8 23:51:16 2004
-+++ lib/X11/Imakefile Thu Apr 8 23:53:08 2004
+--- lib/X11/Imakefile.orig Sun Jan 9 02:58:04 2005
++++ lib/X11/Imakefile Sun Jan 9 02:59:57 2005
@@ -10,7 +10,7 @@
HEADERS = Xlib.h Xresource.h Xutil.h cursorfont.h Xlibint.h \
Xcms.h Xlocale.h XKBlib.h
--#if BuildServersOnly && !XnestServer && !BuildGLXLibrary && !BuildClients
-+#if BuildServersOnly && !XnestServer && !BuildGLXLibrary && !BuildClients && !FreeBSDBuildXxserv
+-#if BuildServersOnly && !XnestServer && !BuildGLXLibrary && !BuildClients && !XdmxServer
++#if BuildServersOnly && !XnestServer && !BuildGLXLibrary && !BuildClients && !XdmxServer && !FreeBSDBuildXxserv
all::
- BuildIncludes($(HEADERS),IncSubdir,..)
-@@ -1041,8 +1041,10 @@
+ depend::
+@@ -1043,8 +1043,10 @@
#if InstallXcmsTxt
InstallNonExecFile(Xcms.txt,$(LIBDIR))
#endif
diff --git a/x11/XFree86-4-libraries/files/patch-luit b/x11/XFree86-4-libraries/files/patch-luit
deleted file mode 100644
index a5e858bc67f2..000000000000
--- a/x11/XFree86-4-libraries/files/patch-luit
+++ /dev/null
@@ -1,79 +0,0 @@
---- programs/luit/luit.c Fri Mar 5 01:48:51 2004
-+++ /tmp/luit/luit.c Sun Jul 18 09:01:22 2004
-@@ -45,6 +45,8 @@
- #include "charset.h"
- #include "iso2022.h"
-
-+static int p2c_waitpipe[2];
-+static int c2p_waitpipe[2];
- static Iso2022Ptr inputState = NULL, outputState = NULL;
-
- static char *child_argv0 = NULL;
-@@ -462,6 +464,8 @@
- exit(1);
- }
-
-+ pipe(p2c_waitpipe);
-+ pipe(c2p_waitpipe);
- pid = fork();
- if(pid < 0) {
- perror("Couldn't fork");
-@@ -470,8 +474,12 @@
-
- if(pid == 0) {
- close(pty);
-+ close(p2c_waitpipe[1]);
-+ close(c2p_waitpipe[0]);
- child(line, path, child_argv);
- } else {
-+ close(p2c_waitpipe[0]);
-+ close(c2p_waitpipe[1]);
- free(child_argv);
- free(path);
- free(line);
-@@ -486,6 +494,7 @@
- {
- int tty;
- int pgrp;
-+ char tmp[10];
-
- close(0);
- close(1);
-@@ -501,6 +510,7 @@
- kill(getppid(), SIGABRT);
- exit(1);
- }
-+ write(c2p_waitpipe[1],"1",1);
-
- if(tty != 0)
- dup2(tty, 0);
-@@ -512,6 +522,9 @@
- if(tty > 2)
- close(tty);
-
-+ read(p2c_waitpipe[0],tmp,1);
-+ close(c2p_waitpipe[1]);
-+ close(p2c_waitpipe[0]);
- execvp(path, argv);
- perror("Couldn't exec");
- exit(1);
-@@ -535,7 +548,9 @@
- int i;
- int val;
- int rc;
-+ char tmp[10];
-
-+ read(c2p_waitpipe[0],tmp,1);
- if(verbose) {
- reportIso2022(outputState);
- }
-@@ -564,6 +579,9 @@
-
- setWindowSize(0, pty);
-
-+ write(p2c_waitpipe[1],"1",1);
-+ close(c2p_waitpipe[0]);
-+ close(p2c_waitpipe[1]);
- for(;;) {
- rc = waitForInput(0, pty);
-
diff --git a/x11/XFree86-4-libraries/files/patch-programs_Xserver_GL_dri_Imakefile b/x11/XFree86-4-libraries/files/patch-programs_Xserver_GL_dri_Imakefile
new file mode 100644
index 000000000000..fa3f34e36ccc
--- /dev/null
+++ b/x11/XFree86-4-libraries/files/patch-programs_Xserver_GL_dri_Imakefile
@@ -0,0 +1,11 @@
+--- programs/Xserver/GL/dri/Imakefile.orig Sun Jan 23 01:48:51 2005
++++ programs/Xserver/GL/dri/Imakefile Sun Jan 23 01:49:41 2005
+@@ -59,7 +59,7 @@
+
+ INCLUDES = -I$(SERVERSRC)/include -I$(INCLUDESRC) -I$(XINCLUDESRC) \
+ -I$(EXTINCSRC) -I$(MESASRCDIR)/include \
+- -I$(XF86OSSRC) -I$(XF86COMSRC) \
++ -I$(XF86OSSRC) -I$(XF86OSSRC)/bus -I$(XF86COMSRC) \
+ -I../include -I../glx -I$(LIBSRC)/GL/include \
+ -I$(SERVERSRC)/mi -I$(FONTINCSRC) \
+ -I$(DRMSRCDIR)/shared
diff --git a/x11/XFree86-4-libraries/files/patch-xpm-sec b/x11/XFree86-4-libraries/files/patch-xpm-sec
deleted file mode 100644
index 347ab0563d6e..000000000000
--- a/x11/XFree86-4-libraries/files/patch-xpm-sec
+++ /dev/null
@@ -1,521 +0,0 @@
-Index: extras/Xpm/lib/Attrib.c
-===================================================================
-RCS file: /cvs/xorg/xc/extras/Xpm/lib/Attrib.c,v
-retrieving revision 1.1
-diff -u -r1.1 Attrib.c
---- extras/Xpm/lib/Attrib.c 14 Nov 2003 16:48:24 -0000 1.1
-+++ extras/Xpm/lib/Attrib.c 31 Oct 2004 20:12:38 -0000
-@@ -35,7 +35,7 @@
- #include "XpmI.h"
-
- /* 3.2 backward compatibility code */
--LFUNC(CreateOldColorTable, int, (XpmColor *ct, int ncolors,
-+LFUNC(CreateOldColorTable, int, (XpmColor *ct, unsigned int ncolors,
- XpmColor ***oldct));
-
- LFUNC(FreeOldColorTable, void, (XpmColor **colorTable, int ncolors));
-@@ -46,12 +46,15 @@
- static int
- CreateOldColorTable(ct, ncolors, oldct)
- XpmColor *ct;
-- int ncolors;
-+ unsigned int ncolors;
- XpmColor ***oldct;
- {
- XpmColor **colorTable, **color;
- int a;
-
-+ if (ncolors >= UINT_MAX / sizeof(XpmColor *))
-+ return XpmNoMemory;
-+
- colorTable = (XpmColor **) XpmMalloc(ncolors * sizeof(XpmColor *));
- if (!colorTable) {
- *oldct = NULL;
-Index: extras/Xpm/lib/CrDatFrI.c
-===================================================================
-RCS file: /cvs/xorg/xc/extras/Xpm/lib/CrDatFrI.c,v
-retrieving revision 1.1.10.1
-diff -u -r1.1.10.1 CrDatFrI.c
---- extras/Xpm/lib/CrDatFrI.c 4 Mar 2004 17:46:10 -0000 1.1.10.1
-+++ extras/Xpm/lib/CrDatFrI.c 31 Oct 2004 20:12:38 -0000
-@@ -124,6 +124,8 @@
- */
- header_nlines = 1 + image->ncolors;
- header_size = sizeof(char *) * header_nlines;
-+ if (header_size >= UINT_MAX / sizeof(char *))
-+ return (XpmNoMemory);
- header = (char **) XpmCalloc(header_size, sizeof(char *));
- if (!header)
- return (XpmNoMemory);
-Index: extras/Xpm/lib/WrFFrI.c
-===================================================================
-RCS file: /cvs/xorg/xc/extras/Xpm/lib/WrFFrI.c,v
-retrieving revision 1.1.10.1
-diff -u -r1.1.10.1 WrFFrI.c
---- extras/Xpm/lib/WrFFrI.c 4 Mar 2004 17:46:10 -0000 1.1.10.1
-+++ extras/Xpm/lib/WrFFrI.c 31 Oct 2004 20:12:26 -0000
-@@ -248,6 +248,8 @@
- unsigned int x, y, h;
-
- h = height - 1;
-+ if (cpp != 0 && width >= (SIZE_MAX - 3)/cpp)
-+ return XpmNoMemory;
- p = buf = (char *) XpmMalloc(width * cpp + 3);
- if (!buf)
- return (XpmNoMemory);
-Index: extras/Xpm/lib/XpmI.h
-===================================================================
-RCS file: /cvs/xorg/xc/extras/Xpm/lib/XpmI.h,v
-retrieving revision 1.1.4.1.6.1
-diff -u -r1.1.4.1.6.1 XpmI.h
---- extras/Xpm/lib/XpmI.h 4 Mar 2004 17:46:10 -0000 1.1.4.1.6.1
-+++ extras/Xpm/lib/XpmI.h 31 Oct 2004 20:12:26 -0000
-@@ -86,6 +86,18 @@
- boundCheckingCalloc((long)(nelem),(long) (elsize))
- #endif
-
-+#if defined(SCO) || defined(__USLC__)
-+#include <stdint.h> /* For SIZE_MAX */
-+#endif
-+#include <limits.h>
-+#ifndef SIZE_MAX
-+# ifdef ULONG_MAX
-+# define SIZE_MAX ULONG_MAX
-+# else
-+# define SIZE_MAX UINT_MAX
-+# endif
-+#endif
-+
- #define XPMMAXCMTLEN BUFSIZ
- typedef struct {
- unsigned int type;
-@@ -187,9 +199,9 @@
- } *xpmHashAtom;
-
- typedef struct {
-- int size;
-- int limit;
-- int used;
-+ unsigned int size;
-+ unsigned int limit;
-+ unsigned int used;
- xpmHashAtom *atomTable;
- } xpmHashTable;
-
-Index: extras/Xpm/lib/create.c
-===================================================================
-RCS file: /cvs/xorg/xc/extras/Xpm/lib/create.c,v
-retrieving revision 1.1.4.1.6.1
-diff -u -r1.1.4.1.6.1 create.c
---- extras/Xpm/lib/create.c 4 Mar 2004 17:46:10 -0000 1.1.4.1.6.1
-+++ extras/Xpm/lib/create.c 31 Oct 2004 20:12:38 -0000
-@@ -1,3 +1,4 @@
-+/* $XdotOrg: pre-CVS proposed fix for CESA-2004-003 alanc 7/25/2004 $ */
- /*
- * Copyright (C) 1989-95 GROUPE BULL
- *
-@@ -816,6 +817,9 @@
-
- ErrorStatus = XpmSuccess;
-
-+ if (image->ncolors >= UINT_MAX / sizeof(Pixel))
-+ return (XpmNoMemory);
-+
- /* malloc pixels index tables */
- image_pixels = (Pixel *) XpmMalloc(sizeof(Pixel) * image->ncolors);
- if (!image_pixels)
-@@ -988,6 +992,10 @@
- return (XpmNoMemory);
-
- #if !defined(FOR_MSW) && !defined(AMIGA)
-+ if (height != 0 && (*image_return)->bytes_per_line >= SIZE_MAX / height) {
-+ XDestroyImage(*image_return);
-+ return XpmNoMemory;
-+ }
- /* now that bytes_per_line must have been set properly alloc data */
- (*image_return)->data =
- (char *) XpmMalloc((*image_return)->bytes_per_line * height);
-@@ -2055,6 +2063,9 @@
- xpmGetCmt(data, &colors_cmt);
-
- /* malloc pixels index tables */
-+ if (ncolors >= UINT_MAX / sizeof(Pixel))
-+ RETURN(XpmNoMemory);
-+
- image_pixels = (Pixel *) XpmMalloc(sizeof(Pixel) * ncolors);
- if (!image_pixels)
- RETURN(XpmNoMemory);
-@@ -2309,7 +2320,8 @@
- }
- obm = SelectObject(*dc, image->bitmap);
- #endif
--
-+ if (ncolors > 256)
-+ return (XpmFileInvalid);
-
- bzero((char *)colidx, 256 * sizeof(short));
- for (a = 0; a < ncolors; a++)
-@@ -2356,7 +2368,7 @@
-
- /* array of pointers malloced by need */
- unsigned short *cidx[256];
-- int char1;
-+ unsigned int char1;
-
- bzero((char *)cidx, 256 * sizeof(unsigned short *)); /* init */
- for (a = 0; a < ncolors; a++) {
-@@ -2415,6 +2427,9 @@
- char *s;
- char buf[BUFSIZ];
-
-+ if (cpp >= sizeof(buf))
-+ return (XpmFileInvalid);
-+
- buf[cpp] = '\0';
- if (USE_HASHTABLE) {
- xpmHashAtom *slot;
-Index: extras/Xpm/lib/data.c
-===================================================================
-RCS file: /cvs/xorg/xc/extras/Xpm/lib/data.c,v
-retrieving revision 1.1.10.1
-diff -u -r1.1.10.1 data.c
---- extras/Xpm/lib/data.c 4 Mar 2004 17:46:10 -0000 1.1.10.1
-+++ extras/Xpm/lib/data.c 31 Oct 2004 20:12:26 -0000
-@@ -375,7 +375,7 @@
- {
- if (!data->type)
- *cmt = NULL;
-- else if (data->CommentLength) {
-+ else if (data->CommentLength != 0 && data->CommentLength < SIZE_MAX - 1) {
- *cmt = (char *) XpmMalloc(data->CommentLength + 1);
- strncpy(*cmt, data->Comment, data->CommentLength);
- (*cmt)[data->CommentLength] = '\0';
-Index: extras/Xpm/lib/hashtab.c
-===================================================================
-RCS file: /cvs/xorg/xc/extras/Xpm/lib/hashtab.c,v
-retrieving revision 1.1
-diff -u -r1.1 hashtab.c
---- extras/Xpm/lib/hashtab.c 14 Nov 2003 16:48:24 -0000 1.1
-+++ extras/Xpm/lib/hashtab.c 31 Oct 2004 20:12:38 -0000
-@@ -135,15 +135,17 @@
- xpmHashTable *table;
- {
- xpmHashAtom *atomTable = table->atomTable;
-- int size = table->size;
-+ unsigned int size = table->size;
- xpmHashAtom *t, *p;
- int i;
-- int oldSize = size;
-+ unsigned int oldSize = size;
-
- t = atomTable;
- HASH_TABLE_GROWS
- table->size = size;
- table->limit = size / 3;
-+ if (size >= UINT_MAX / sizeof(*atomTable))
-+ return (XpmNoMemory);
- atomTable = (xpmHashAtom *) XpmMalloc(size * sizeof(*atomTable));
- if (!atomTable)
- return (XpmNoMemory);
-@@ -204,6 +206,8 @@
- table->size = INITIAL_HASH_SIZE;
- table->limit = table->size / 3;
- table->used = 0;
-+ if (table->size >= UINT_MAX / sizeof(*atomTable))
-+ return (XpmNoMemory);
- atomTable = (xpmHashAtom *) XpmMalloc(table->size * sizeof(*atomTable));
- if (!atomTable)
- return (XpmNoMemory);
-Index: extras/Xpm/lib/parse.c
-===================================================================
-RCS file: /cvs/xorg/xc/extras/Xpm/lib/parse.c,v
-retrieving revision 1.1.10.1
-diff -u -r1.1.10.1 parse.c
---- extras/Xpm/lib/parse.c 4 Mar 2004 17:46:10 -0000 1.1.10.1
-+++ extras/Xpm/lib/parse.c 31 Oct 2004 20:12:38 -0000
-@@ -1,3 +1,4 @@
-+/* $XdotOrg: pre-CVS proposed fix for CESA-2004-003 alanc 7/25/2004 $ */
- /*
- * Copyright (C) 1989-95 GROUPE BULL
- *
-@@ -44,6 +45,24 @@
- #include <ctype.h>
- #include <string.h>
-
-+#ifdef HAS_STRLCAT
-+# define STRLCAT(dst, src, dstsize) { \
-+ if (strlcat(dst, src, dstsize) >= (dstsize)) \
-+ return (XpmFileInvalid); }
-+# define STRLCPY(dst, src, dstsize) { \
-+ if (strlcpy(dst, src, dstsize) >= (dstsize)) \
-+ return (XpmFileInvalid); }
-+#else
-+# define STRLCAT(dst, src, dstsize) { \
-+ if ((strlen(dst) + strlen(src)) < (dstsize)) \
-+ strcat(dst, src); \
-+ else return (XpmFileInvalid); }
-+# define STRLCPY(dst, src, dstsize) { \
-+ if (strlen(src) < (dstsize)) \
-+ strcpy(dst, src); \
-+ else return (XpmFileInvalid); }
-+#endif
-+
- LFUNC(ParsePixels, int, (xpmData *data, unsigned int width,
- unsigned int height, unsigned int ncolors,
- unsigned int cpp, XpmColor *colorTable,
-@@ -66,7 +85,7 @@
- unsigned int *extensions;
- {
- unsigned int l;
-- char buf[BUFSIZ];
-+ char buf[BUFSIZ + 1];
-
- if (!data->format) { /* XPM 2 or 3 */
-
-@@ -175,10 +194,10 @@
- XpmColor **colorTablePtr;
- xpmHashTable *hashtable;
- {
-- unsigned int key = 0, l, a, b;
-+ unsigned int key = 0, l, a, b, len;
- unsigned int curkey; /* current color key */
- unsigned int lastwaskey; /* key read */
-- char buf[BUFSIZ];
-+ char buf[BUFSIZ+1];
- char curbuf[BUFSIZ]; /* current buffer */
- char **sptr, *s;
- XpmColor *color;
-@@ -186,6 +205,8 @@
- char **defaults;
- int ErrorStatus;
-
-+ if (ncolors >= UINT_MAX / sizeof(XpmColor))
-+ return (XpmNoMemory);
- colorTable = (XpmColor *) XpmCalloc(ncolors, sizeof(XpmColor));
- if (!colorTable)
- return (XpmNoMemory);
-@@ -197,6 +218,10 @@
- /*
- * read pixel value
- */
-+ if (cpp >= UINT_MAX - 1) {
-+ xpmFreeColorTable(colorTable, ncolors);
-+ return (XpmNoMemory);
-+ }
- color->string = (char *) XpmMalloc(cpp + 1);
- if (!color->string) {
- xpmFreeColorTable(colorTable, ncolors);
-@@ -234,13 +259,14 @@
- }
- if (!lastwaskey && key < NKEYS) { /* open new key */
- if (curkey) { /* flush string */
-- s = (char *) XpmMalloc(strlen(curbuf) + 1);
-+ len = strlen(curbuf) + 1;
-+ s = (char *) XpmMalloc(len);
- if (!s) {
- xpmFreeColorTable(colorTable, ncolors);
- return (XpmNoMemory);
- }
- defaults[curkey] = s;
-- strcpy(s, curbuf);
-+ memcpy(s, curbuf, len);
- }
- curkey = key + 1; /* set new key */
- *curbuf = '\0'; /* reset curbuf */
-@@ -251,9 +277,9 @@
- return (XpmFileInvalid);
- }
- if (!lastwaskey)
-- strcat(curbuf, " "); /* append space */
-+ STRLCAT(curbuf, " ", sizeof(curbuf)); /* append space */
- buf[l] = '\0';
-- strcat(curbuf, buf);/* append buf */
-+ STRLCAT(curbuf, buf, sizeof(curbuf));/* append buf */
- lastwaskey = 0;
- }
- }
-@@ -261,12 +287,13 @@
- xpmFreeColorTable(colorTable, ncolors);
- return (XpmFileInvalid);
- }
-- s = defaults[curkey] = (char *) XpmMalloc(strlen(curbuf) + 1);
-+ len = strlen(curbuf) + 1;
-+ s = defaults[curkey] = (char *) XpmMalloc(len);
- if (!s) {
- xpmFreeColorTable(colorTable, ncolors);
- return (XpmNoMemory);
- }
-- strcpy(s, curbuf);
-+ memcpy(s, curbuf, len);
- }
- } else { /* XPM 1 */
- /* get to the beginning of the first string */
-@@ -279,6 +306,10 @@
- /*
- * read pixel value
- */
-+ if (cpp >= UINT_MAX - 1) {
-+ xpmFreeColorTable(colorTable, ncolors);
-+ return (XpmNoMemory);
-+ }
- color->string = (char *) XpmMalloc(cpp + 1);
- if (!color->string) {
- xpmFreeColorTable(colorTable, ncolors);
-@@ -307,16 +338,17 @@
- *curbuf = '\0'; /* init curbuf */
- while ((l = xpmNextWord(data, buf, BUFSIZ))) {
- if (*curbuf != '\0')
-- strcat(curbuf, " ");/* append space */
-+ STRLCAT(curbuf, " ", sizeof(curbuf));/* append space */
- buf[l] = '\0';
-- strcat(curbuf, buf); /* append buf */
-+ STRLCAT(curbuf, buf, sizeof(curbuf)); /* append buf */
- }
-- s = (char *) XpmMalloc(strlen(curbuf) + 1);
-+ len = strlen(curbuf) + 1;
-+ s = (char *) XpmMalloc(len);
- if (!s) {
- xpmFreeColorTable(colorTable, ncolors);
- return (XpmNoMemory);
- }
-- strcpy(s, curbuf);
-+ memcpy(s, curbuf, len);
- color->c_color = s;
- *curbuf = '\0'; /* reset curbuf */
- if (a < ncolors - 1)
-@@ -341,6 +373,9 @@
- unsigned int *iptr, *iptr2;
- unsigned int a, x, y;
-
-+ if ((height > 0 && width >= SIZE_MAX / height) ||
-+ width * height >= UINT_MAX / sizeof(unsigned int))
-+ return XpmNoMemory;
- #ifndef FOR_MSW
- iptr2 = (unsigned int *) XpmMalloc(sizeof(unsigned int) * width * height);
- #else
-@@ -364,6 +399,9 @@
- {
- unsigned short colidx[256];
-
-+ if (ncolors > 256)
-+ return (XpmFileInvalid);
-+
- bzero((char *)colidx, 256 * sizeof(short));
- for (a = 0; a < ncolors; a++)
- colidx[(unsigned char)colorTable[a].string[0]] = a + 1;
-@@ -394,7 +432,7 @@
-
- /* array of pointers malloced by need */
- unsigned short *cidx[256];
-- int char1;
-+ unsigned int char1;
-
- bzero((char *)cidx, 256 * sizeof(unsigned short *)); /* init */
- for (a = 0; a < ncolors; a++) {
-@@ -442,6 +480,9 @@
- char *s;
- char buf[BUFSIZ];
-
-+ if (cpp >= sizeof(buf))
-+ return (XpmFileInvalid);
-+
- buf[cpp] = '\0';
- if (USE_HASHTABLE) {
- xpmHashAtom *slot;
-Index: extras/Xpm/lib/scan.c
-===================================================================
-RCS file: /cvs/xorg/xc/extras/Xpm/lib/scan.c,v
-retrieving revision 1.1.10.1
-diff -u -r1.1.10.1 scan.c
---- extras/Xpm/lib/scan.c 4 Mar 2004 17:46:10 -0000 1.1.10.1
-+++ extras/Xpm/lib/scan.c 31 Oct 2004 20:12:38 -0000
-@@ -107,7 +107,8 @@
- LFUNC(ScanTransparentColor, int, (XpmColor *color, unsigned int cpp,
- XpmAttributes *attributes));
-
--LFUNC(ScanOtherColors, int, (Display *display, XpmColor *colors, int ncolors,
-+LFUNC(ScanOtherColors, int, (Display *display, XpmColor *colors,
-+ unsigned int ncolors,
- Pixel *pixels, unsigned int mask,
- unsigned int cpp, XpmAttributes *attributes));
-
-@@ -232,11 +233,17 @@
- else
- cpp = 0;
-
-+ if ((height > 0 && width >= SIZE_MAX / height) ||
-+ width * height >= UINT_MAX / sizeof(unsigned int))
-+ RETURN(XpmNoMemory);
- pmap.pixelindex =
- (unsigned int *) XpmCalloc(width * height, sizeof(unsigned int));
- if (!pmap.pixelindex)
- RETURN(XpmNoMemory);
-
-+ if (pmap.size >= UINT_MAX / sizeof(Pixel))
-+ RETURN(XpmNoMemory);
-+
- pmap.pixels = (Pixel *) XpmMalloc(sizeof(Pixel) * pmap.size);
- if (!pmap.pixels)
- RETURN(XpmNoMemory);
-@@ -301,7 +308,8 @@
- * get rgb values and a string of char, and possibly a name for each
- * color
- */
--
-+ if (pmap.ncolors >= UINT_MAX / sizeof(XpmColor))
-+ RETURN(XpmNoMemory);
- colorTable = (XpmColor *) XpmCalloc(pmap.ncolors, sizeof(XpmColor));
- if (!colorTable)
- RETURN(XpmNoMemory);
-@@ -360,6 +368,8 @@
-
- /* first get a character string */
- a = 0;
-+ if (cpp >= UINT_MAX - 1)
-+ return (XpmNoMemory);
- if (!(s = color->string = (char *) XpmMalloc(cpp + 1)))
- return (XpmNoMemory);
- *s++ = printable[c = a % MAXPRINTABLE];
-@@ -407,7 +417,7 @@
- ScanOtherColors(display, colors, ncolors, pixels, mask, cpp, attributes)
- Display *display;
- XpmColor *colors;
-- int ncolors;
-+ unsigned int ncolors;
- Pixel *pixels;
- unsigned int mask;
- unsigned int cpp;
-@@ -451,6 +461,8 @@
- }
-
- /* first get character strings and rgb values */
-+ if (ncolors >= UINT_MAX / sizeof(XColor) || cpp >= UINT_MAX - 1)
-+ return (XpmNoMemory);
- xcolors = (XColor *) XpmMalloc(sizeof(XColor) * ncolors);
- if (!xcolors)
- return (XpmNoMemory);
-Index: lib/Xpm/Imakefile
-===================================================================
-RCS file: /cvs/xorg/xc/lib/Xpm/Imakefile,v
-retrieving revision 1.1.10.1
-diff -u -r1.1.10.1 Imakefile
---- lib/Xpm/Imakefile 4 Mar 2004 17:46:58 -0000 1.1.10.1
-+++ lib/Xpm/Imakefile 31 Oct 2004 20:12:26 -0000
-@@ -42,11 +42,16 @@
- SPRINTFDEF = -DVOID_SPRINTF
- #endif
-
-+#if HasStrlcat
-+STRLCATDEF = -DHAS_STRLCAT
-+#endif
-+
- #if defined(Win32Architecture)
- ZPIPEDEF = -DNO_ZPIPE
- #endif
-
--DEFINES = $(STRDUPDEF) $(STRCASECMPDEF) $(SPRINTFDEF) $(ZPIPEDEF) $(ZFILEDEF)
-+DEFINES = $(STRDUPDEF) $(STRCASECMPDEF) $(SPRINTFDEF) $(STRLCATDEF) \
-+ $(ZPIPEDEF) $(ZFILEDEF)
-
- HEADERS = xpm.h
-
diff --git a/x11/XFree86-4-libraries/files/patch-z05 b/x11/XFree86-4-libraries/files/patch-z05
deleted file mode 100644
index bbbd80e455cb..000000000000
--- a/x11/XFree86-4-libraries/files/patch-z05
+++ /dev/null
@@ -1,14 +0,0 @@
---- lib/font/X-TrueType/Imakefile.inc~ Fri Feb 18 02:13:25 2000
-+++ lib/font/X-TrueType/Imakefile.inc Tue Apr 18 17:13:40 2000
-@@ -12,7 +12,11 @@
- ARMSCII8 ARABIC MULEENCODING DOSENCODING
- #endif
-
-+#if !defined(FreeBSDBuildXlib) || !FreeBSDBuildXlib
- SUBDIRS = $(MODULE_SUBDIRS) $(DEFAULT_CCONV_SUBDIR) $(CCONV_SUBDIRS)
-+#else
-+SUBDIRS = $(MODULE_SUBDIRS)
-+#endif
-
- #if XTrueTypeDebugXTT
- XTT_DEBUG_SRCS = xttdump.c
diff --git a/x11/XFree86-4-libraries/files/patch-z41 b/x11/XFree86-4-libraries/files/patch-z41
deleted file mode 100644
index 1c03e9b9709e..000000000000
--- a/x11/XFree86-4-libraries/files/patch-z41
+++ /dev/null
@@ -1,18 +0,0 @@
---- config/cf/xttMod.tmpl~ Tue Dec 5 11:59:36 2000
-+++ config/cf/xttMod.tmpl Wed Dec 20 13:39:42 2000
-@@ -24,11 +24,15 @@
-
- ModuleObjectRule()
- LibraryModuleTarget($(MODULENAME),$(OBJS))
-+#if (!defined(LibInstall) || LibInstall) || (!defined(ModInstall) || ModInstall)
- InstallLibraryModule($(MODULENAME),$(MODULEDIR),codeconv)
-+#endif
-
- DependTarget()
-
-+#if (!defined(LibInstall) || LibInstall) || (!defined(ModInstall) || ModInstall)
- InstallDriverSDKLibraryModule($(MODULENAME),$(DRIVERSDKMODULEDIR),codeconv)
-+#endif
-
- # else
- /* dlopen based code converter */
diff --git a/x11/XFree86-4-libraries/pkg-plist b/x11/XFree86-4-libraries/pkg-plist
index ba03d4f9a3cf..ade849504555 100644
--- a/x11/XFree86-4-libraries/pkg-plist
+++ b/x11/XFree86-4-libraries/pkg-plist
@@ -1,3 +1,4 @@
+@unexec if cmp -s %D/lib/X11/xserver/SecurityPolicy %D/lib/X11/xserver/SecurityPolicy.default; then rm %D/lib/X11/xserver/SecurityPolicy; fi
bin/xcursor-config
include/DPS/ColorSB.h
include/DPS/ColorSBP.h
@@ -305,6 +306,8 @@ include/X11/extensions/XvMCproto.h
include/X11/extensions/Xvlib.h
include/X11/extensions/Xvproto.h
include/X11/extensions/bigreqstr.h
+include/X11/extensions/dmxext.h
+include/X11/extensions/dmxproto.h
include/X11/extensions/dpms.h
include/X11/extensions/dpmsstr.h
include/X11/extensions/extutil.h
@@ -323,6 +326,7 @@ include/X11/extensions/multibuf.h
include/X11/extensions/multibufst.h
include/X11/extensions/panoramiXext.h
include/X11/extensions/panoramiXproto.h
+include/X11/extensions/panoramiXwrap.h
include/X11/extensions/randr.h
include/X11/extensions/randrproto.h
include/X11/extensions/record.h
@@ -362,12 +366,6 @@ include/X11/extensions/xtrapproto.h
include/X11/fonts/FS.h
include/X11/fonts/FSlib.h
include/X11/fonts/FSproto.h
-include/X11/fonts/codeconv/cconvversion.h
-include/X11/fonts/codeconv/xttcap.h
-include/X11/fonts/codeconv/xttcconv.h
-include/X11/fonts/codeconv/xttcconvP.h
-include/X11/fonts/codeconv/xttcommon.h
-include/X11/fonts/codeconv/xttversion.h
include/X11/fonts/fontenc.h
include/X11/fonts/fsmasks.h
include/X11/keysym.h
@@ -470,11 +468,17 @@ lib/X11/locale/koi8-r/XLC_LOCALE
lib/X11/locale/koi8-u/Compose
lib/X11/locale/koi8-u/XI18N_OBJS
lib/X11/locale/koi8-u/XLC_LOCALE
+lib/X11/locale/lib/common/ximcp.so
lib/X11/locale/lib/common/ximcp.so.2
+lib/X11/locale/lib/common/xlcDef.so
lib/X11/locale/lib/common/xlcDef.so.2
+lib/X11/locale/lib/common/xlcUTF8Load.so
lib/X11/locale/lib/common/xlcUTF8Load.so.2
+lib/X11/locale/lib/common/xlibi18n.so
lib/X11/locale/lib/common/xlibi18n.so.2
+lib/X11/locale/lib/common/xlocale.so
lib/X11/locale/lib/common/xlocale.so.2
+lib/X11/locale/lib/common/xomGeneric.so
lib/X11/locale/lib/common/xomGeneric.so.2
lib/X11/locale/locale.alias
lib/X11/locale/locale.dir
@@ -523,6 +527,7 @@ lib/X11/locale/zh_TW.big5/XLC_LOCALE
lib/X11/locale/zh_TW/Compose
lib/X11/locale/zh_TW/XI18N_OBJS
lib/X11/locale/zh_TW/XLC_LOCALE
+lib/X11/xserver/SecurityPolicy.default
lib/libFS.a
lib/libFS.so
lib/libFS.so.6
@@ -550,8 +555,8 @@ lib/libX11.so.6
lib/libXRes.a
lib/libXRes.so
lib/libXRes.so.1
-%%XTHRSTUB:%%lib/libXThrStub.so
-%%XTHRSTUB:%%lib/libXThrStub.so.6
+lib/libXThrStub.so
+lib/libXThrStub.so.6
lib/libXTrap.a
lib/libXTrap.so
lib/libXTrap.so.6
@@ -623,6 +628,9 @@ lib/libXxf86misc.so.1
lib/libXxf86vm.a
lib/libXxf86vm.so
lib/libXxf86vm.so.1
+lib/libdmx.a
+lib/libdmx.so
+lib/libdmx.so.1
lib/libdps.a
lib/libdps.so
lib/libdps.so.1
@@ -647,4 +655,71 @@ lib/libxkbui.a
lib/libxkbui.so
lib/libxkbui.so.1
libdata/pkgconfig/xcursor.pc
+@dirrm include/DPS
+@dirrm include/GL
+@dirrm include/X11/ICE
+@dirrm include/X11/PM
+@dirrm include/X11/SM
+@dirrm include/X11/Xaw
+@dirrm include/X11/Xcursor
+@dirrm include/X11/Xmu
+@dirrm include/X11/extensions
+@dirrm include/X11/fonts
+@dirrm lib/X11/locale/C
+@dirrm lib/X11/locale/armscii-8
+@dirrm lib/X11/locale/el_GR.UTF-8
+@dirrm lib/X11/locale/en_US.UTF-8
+@dirrm lib/X11/locale/georgian-academy
+@dirrm lib/X11/locale/georgian-ps
+@dirrm lib/X11/locale/ibm-cp1133
+@dirrm lib/X11/locale/iscii-dev
+@dirrm lib/X11/locale/isiri-3342
+@dirrm lib/X11/locale/iso8859-1
+@dirrm lib/X11/locale/iso8859-10
+@dirrm lib/X11/locale/iso8859-11
+@dirrm lib/X11/locale/iso8859-13
+@dirrm lib/X11/locale/iso8859-14
+@dirrm lib/X11/locale/iso8859-15
+@dirrm lib/X11/locale/iso8859-2
+@dirrm lib/X11/locale/iso8859-3
+@dirrm lib/X11/locale/iso8859-4
+@dirrm lib/X11/locale/iso8859-5
+@dirrm lib/X11/locale/iso8859-6
+@dirrm lib/X11/locale/iso8859-7
+@dirrm lib/X11/locale/iso8859-8
+@dirrm lib/X11/locale/iso8859-9
+@dirrm lib/X11/locale/iso8859-9e
+@dirrm lib/X11/locale/ja
+@dirrm lib/X11/locale/ja.JIS
+@dirrm lib/X11/locale/ja.SJIS
+@dirrm lib/X11/locale/ja_JP.UTF-8
+@dirrm lib/X11/locale/ko
+@dirrm lib/X11/locale/ko_KR.UTF-8
+@dirrm lib/X11/locale/koi8-c
+@dirrm lib/X11/locale/koi8-r
+@dirrm lib/X11/locale/koi8-u
+@dirrm lib/X11/locale/lib/common
+@dirrm lib/X11/locale/lib
+@dirrm lib/X11/locale/microsoft-cp1251
+@dirrm lib/X11/locale/microsoft-cp1255
+@dirrm lib/X11/locale/microsoft-cp1256
+@dirrm lib/X11/locale/mulelao-1
+@dirrm lib/X11/locale/nokhchi-1
+@dirrm lib/X11/locale/tatar-cyr
+@dirrm lib/X11/locale/th_TH
+@dirrm lib/X11/locale/th_TH.UTF-8
+@dirrm lib/X11/locale/tscii-0
+@dirrm lib/X11/locale/vi_VN.tcvn
+@dirrm lib/X11/locale/vi_VN.viscii
+@dirrm lib/X11/locale/zh_CN
@dirrm lib/X11/locale/zh_CN.UTF-8
+@dirrm lib/X11/locale/zh_CN.gbk
+@dirrm lib/X11/locale/zh_HK.big5
+@dirrm lib/X11/locale/zh_HK.big5hkscs
+@dirrm lib/X11/locale/zh_TW
+@dirrm lib/X11/locale/zh_TW.UTF-8
+@dirrm lib/X11/locale/zh_TW.big5
+@dirrm lib/X11/locale
+@exec if [ ! -f %D/lib/X11/xserver/SecurityPolicy ]; then cp %D/lib/X11/xserver/SecurityPolicy.default %D/lib/X11/xserver/SecurityPolicy; fi
+@unexec rmdir %D/include/X11/bitmaps 2>/dev/null || true
+@unexec rmdir %D/lib/X11/xserver 2>/dev/null || true
diff --git a/x11/XFree86-4-manuals/Makefile b/x11/XFree86-4-manuals/Makefile
index 4959e739a31e..ebb149c5f1cd 100644
--- a/x11/XFree86-4-manuals/Makefile
+++ b/x11/XFree86-4-manuals/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= manuals
-PORTVERSION= 4.4.0
-PORTREVISION= 1
+PORTVERSION= 4.5.0
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XFREE}
MASTER_SITE_SUBDIR= ${PORTVERSION}
@@ -17,9 +16,9 @@ DISTFILES= XFree86-${PORTVERSION}-src-1.tgz
MAINTAINER= x11@FreeBSD.org
COMMENT= XFree86-4 man pages
-CONFLICTS= xorg-manpages-*
+CONFLICTS= xorg-manpages-[0-9]*
-USE_IMAKE= YES
+USE_IMAKE= yes
EXTRACT_TARGET= xc/doc/man \
xc/extras/ogl-sample/main/doc/man
EXTRACT_AFTER_ARGS= | ${TAR} -xf - ${EXTRACT_TARGET}
@@ -33,6 +32,7 @@ pre-configure:
@${MKDIR} ${CFGDIR}
@${CP} ${PREFIX}/lib/X11/config/* ${CFGDIR}
@${ECHO} "#define BuildHtmlManPages NO" >>${CFGDIR}/xf86site.def
+ @${ECHO} "#define PreprocessManPages YES" >>${CFGDIR}/xf86site.def
do-configure:
(cd ${WRKSRC} && \
@@ -45,7 +45,7 @@ do-configure:
.include <bsd.port.pre.mk>
.if ${X_WINDOW_SYSTEM:L} != xfree86-4
-IGNORE= is part of XFree86-4
+IGNORE= is part of XFree86-4
.endif
.include "${FILESDIR}/manpages"
diff --git a/x11/XFree86-4-manuals/distinfo b/x11/XFree86-4-manuals/distinfo
index 95d757b34b21..7f73580f3b79 100644
--- a/x11/XFree86-4-manuals/distinfo
+++ b/x11/XFree86-4-manuals/distinfo
@@ -1,2 +1,2 @@
-MD5 (xc/XFree86-4.4.0-src-1.tgz) = 97cea3d9e1197dde32ca34e3b6086469
-SIZE (xc/XFree86-4.4.0-src-1.tgz) = 11760814
+MD5 (xc/XFree86-4.5.0-src-1.tgz) = 6c0fcf8069c13d068276016bbf6ad712
+SIZE (xc/XFree86-4.5.0-src-1.tgz) = 10507331
diff --git a/x11/XFree86-4-manuals/files/manpages b/x11/XFree86-4-manuals/files/manpages
index 2adf970511dc..7b41f1e47574 100644
--- a/x11/XFree86-4-manuals/files/manpages
+++ b/x11/XFree86-4-manuals/files/manpages
@@ -8,6 +8,25 @@ MAN3= AllPlanes.3 \
ClientWhitePointOfCCC.3 \
ConnectionNumber.3 \
DBE.3 \
+ DMX.3 \
+ DMXAddBackendInput.3 \
+ DMXAddConsoleInput.3 \
+ DMXAddInput.3 \
+ DMXAddScreen.3 \
+ DMXChangeDesktopAttributes.3 \
+ DMXChangeScreensAttributes.3 \
+ DMXForceWindowCreation.3 \
+ DMXGetDesktopAttributes.3 \
+ DMXGetInputAttributes.3 \
+ DMXGetInputCount.3 \
+ DMXGetScreenAttributes.3 \
+ DMXGetScreenCount.3 \
+ DMXGetWindowAttributes.3 \
+ DMXQueryExtension.3 \
+ DMXQueryVersion.3 \
+ DMXRemoveInput.3 \
+ DMXRemoveScreen.3 \
+ DMXSync.3 \
DefaultColormap.3 \
DefaultColormapOfScreen.3 \
DefaultDepth.3 \
@@ -1500,8 +1519,5 @@ MAN3= AllPlanes.3 \
gluTessVertex.3 \
gluUnProject.3
MAN7= X.7 \
- X.Org.7 \
- XConsortium.7 \
- XProjectTeam.7 \
XStandards.7 \
Xsecurity.7
diff --git a/x11/XFree86-4/Makefile b/x11/XFree86-4/Makefile
index 262beb58ce6e..2b6e55034c76 100644
--- a/x11/XFree86-4/Makefile
+++ b/x11/XFree86-4/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= XFree86
-PORTVERSION= 4.4.0
-PORTREVISION= 1
+PORTVERSION= 4.5.0
PORTEPOCH= 1
CATEGORIES= x11
MASTER_SITES= # none
@@ -19,7 +18,7 @@ COMMENT= X11/XFree86 core distribution (complete, using mini/meta-ports)
LIB_DEPENDS= X11.6:${PORTSDIR}/x11/XFree86-4-libraries
RUN_DEPENDS= xvinfo:${PORTSDIR}/x11/XFree86-4-clients \
- ${X11BASE}/lib/X11/doc/ddx.txt:${PORTSDIR}/x11/XFree86-4-documents \
+ ${X11BASE}/share/doc/XFree86/ddx.txt:${PORTSDIR}/x11/XFree86-4-documents \
${X11BASE}/man/man7/X.7.gz:${PORTSDIR}/x11/XFree86-4-manuals \
${FONT100DPI}:${PORTSDIR}/x11-fonts/XFree86-4-font100dpi \
${FONT75DPI}:${PORTSDIR}/x11-fonts/XFree86-4-font75dpi \
@@ -30,8 +29,7 @@ RUN_DEPENDS= xvinfo:${PORTSDIR}/x11/XFree86-4-clients \
${X11BASE}/bin/xf86cfg:${PORTSDIR}/x11-servers/XFree86-4-Server \
${X11BASE}/bin/Xnest:${PORTSDIR}/x11-servers/XFree86-4-NestServer \
${X11BASE}/bin/Xvfb:${PORTSDIR}/x11-servers/XFree86-4-VirtualFramebufferServer \
- ${X11BASE}/bin/Xprt:${PORTSDIR}/x11-servers/XFree86-4-PrintServer \
- ${X11BASE}/bin/Xwrapper-4:${PORTSDIR}/x11/wrapper
+ ${X11BASE}/bin/Xprt:${PORTSDIR}/x11-servers/XFree86-4-PrintServer
NO_BUILD= yes
LATEST_LINK= XFree86