Commit graph

33 commits

Author SHA1 Message Date
Dejan Lesjak
2408d1ada9 Fix the fix for CAN-2005-2495.
Obtained from:	XFree86 CVS
2005-09-20 19:26:47 +00:00
Dejan Lesjak
4c1f989fdc Fix integer overflow when allocating large pixmaps.
(Freedesktop.org bug #594)

Obtained from:	Red Hat via simon
Security:	CAN-2005-2495
2005-09-12 14:21:40 +00:00
Dejan Lesjak
b450fc1e84 - Install X server setuid root by default, and provide a switch
NO_SUID_XSERVER to disable this. The end result is same as it was before
  with x11/wrapper installed as the code from there is included in X
  server. It is also the same as xorg-server port does (from which this
  changes were taken). This should conclude removal of dependency on
  x11/wrapper from meta port for above reasons. [1]

- (patch-bsdResource.c) Correct the ranges of the bus resource windows on
  sparc64. This makes PCI video cards work that hang off directly from
  the Host-to-PCI bridge in machines like the Blade 100. [2]

- (patch-HALlib_bindings.c patch-mga_driver.c) Revert the MGA HALlib
  MGASetDisplayStart interface back to HALSetDisplayStart (taken from
  upstream CVS) [3]

Noticed by:	(bugsgrief at bugsgrief.net) [1]
Submitted by:	marius [2]
Reported and tested by:	Steven Friedrich (FreeBSD at InsightBB.com) [3]
2005-06-20 18:30:39 +00:00
Dejan Lesjak
2552b8e5f9 Upgrade to XFree86 4.5.0.
Ports changes:
- Drop dependency on x11/wrapper. X server already contains this code
(programs/Xserver/os/utils.c rev. 3.58).
- Install default SecurityPolicy with XFree86-4-libraries, thus avoiding
plists and who-owns-what complications between different fooServer ports.
Copy default file to real one if that doesn't exist and remove both upon
uninstall if they are the same.
- Revert change to Imake.rules rev. 3.132 in devel/imake-4 port, since
couple of ports break with this change
(devel/imake-4/files/patch-Imake.rules)
- Add grehans patches for PPC [1]
- Several of directories that were previously in /etc/mtree/BSD.x11-4.dist
were moved to respective ports pkg-plists

PR:		[1] 78345, 78346, 78348, 78352, 78353, 78354, 78355, 78356
2005-06-15 02:40:03 +00:00
Dejan Lesjak
e65741a49f - Grab a fix for ati driver panel mode decoding from Marc La France. [1]
- Install driver manpages with 'x' postfix so the ones that clash with
  FreeBSD ones are easier to obtain. [2]
- Fix plist.

PR:		ports/25576 [2]
Obtained from:	XFree86 CVS [1]
Reported and tested by:	julian [1]
2005-02-16 03:54:16 +00:00
Dejan Lesjak
40ace6f64a Enable use of cirrus driver on NEC PC-9821 with CLGD755x. Patch was
submitted by Satoshi Kimura to both x11@freebsd.org and XFree86. It is
already in XFree86 CVS (Changelog #125) so the diff was taken from there.
Also install two files with Japanese documentation.

Submitted by:	Satoshi Kimura
2004-11-11 19:40:20 +00:00
Dejan Lesjak
4710f1d03f Don't refer people to nonexistant 'Monitors' file in xf86config.
(XFree86 Bugzilla #1498)

Reported by:	znerd
PR:		ports/56275
2004-11-04 16:54:34 +00:00
Dejan Lesjak
35a98cc891 Fix behaviour of keyboard under pc98 where keycodes differ from i386. [1]
Fix behaviour of keyboard under sparc64, where keycodes were off by one
(i.e., when pressing 'd' on keyboard, server would get code for 'f'). [2]

PR:		ports/71937 [1]
Submitted by:	Satoshi Kimura [1], marius [2]
Approved by:	portmgr (linimon), mentor (anholt)
2004-09-26 14:15:00 +00:00
Dejan Lesjak
baee44bc4d Fix problem with XVideo (insufficient resources for operation).
PR:		ports/70317
Approved by:	anholt (mentor)
Obtained from:	Free Desktop.Org Bugzilla #474
2004-09-02 21:34:24 +00:00
Dejan Lesjak
4e26b6c5f6 Fix missing symbol with SiS driver.
PR:		ports/69790
Submitted by:	Andreas Kohn (andreas AT syndrom23.de)
Approved by:	anholt (mentor)
2004-08-31 00:34:39 +00:00
Joe Marcus Clarke
42c2cdc260 Update XFree86 clients to 4.4 release. Release notes are available at
http://www.xfree86.org/4.4.0/RELNOTES.html

PR:		ports/67733 imake
		ports/67508 libraries
		ports/67510 clients
		ports/67513 server
		ports/67776 100dpi fonts
		ports/67777 75dpi fonts
		ports/67778 cyrillic fonts
		ports/67779 default bitmap fonts
		ports/67781 font encodings
		ports/67783 scalable fonts
		ports/67784 font server
		ports/67785 XFree86 meta-port
		ports/67775 documents
		ports/67786 manpages
		ports/67787 nest server
		ports/67788 print server
		ports/67789 virtual framebuffer server
		ports/56487 (Upgrading Xfree86-clients from ports overwrites xdm config files)
		ports/44252 (XFree86-4-Server port removes/overwrites config files)
Submitted by:	Dejan Lesjak (dejan DOT lesjak AT ijs DOT si)
Additional changes by:	anholt
			Jung-uk Kim (jkim AT niksun DOT com)
			arved
Tested by:	pointyhat
		linimon
2004-08-10 01:29:22 +00:00
Greg Lewis
0ca27b5702 . Use the correct prototype for sysarch(2). Should fix the build on
CURRENT/alpha.

Submitted by:	bento via kris
2004-02-21 21:40:01 +00:00
Dag-Erling Smørgrav
64c03a02ad Fix several buffer overflow issues in the fontpath handling code.
Remove an earlier patch which only partially addressed these issues.

Approved by:	so
2004-02-12 20:16:05 +00:00
Dag-Erling Smørgrav
a9a3b3d099 Fix buffer overflow in font alias handling code.
Approved by:	so
2004-02-09 12:04:25 +00:00
Dag-Erling Smørgrav
e6403486a1 GC a patch that no longer applies. 2004-02-04 23:55:04 +00:00
Eric Anholt
001a52184d The DRI client drivers are now provided by graphics/dri. RUN_DEPENDS on them
instead of installing them from this port.
2003-11-09 08:27:26 +00:00
Peter Wemm
9cfe10d80c Having the Xserver open /dev/io on amd64 as well would help. The nv
driver (among others) do not appreciate the lack of this.
2003-10-16 18:01:46 +00:00
Eric Anholt
f6c848659e [1] Fix xdmcp queries in the X servers (bug 277)
[2] Fix underlining in the freetype backend (bug 330)

PR:		[1] ports/52387
		[2] ports/55134
Submitted by:	[1] Joel Ray Holveck <joelh@piqnet.org>
		[2] Ariff Abdullah <skywizard@MyBSD.org.my>
2003-08-12 18:35:37 +00:00
Kris Kennaway
3378745c51 Add support for sparc64.
Submitted by:	jake (based on)
2003-07-27 09:44:00 +00:00
Eric Anholt
3bd887cd28 Add missing newlines which got lost somehow in my patching.
Noticed by:	peter
2003-07-17 00:28:54 +00:00
Eric Anholt
085cfa9e04 Fix compile of XFree86-4-Server on -current and add amd64 patches.
Submitted by:	peter (amd64)
2003-07-16 21:06:13 +00:00
Eric Anholt
00157b17ec Fix a crash with the siliconmotion (smi) driver.
PR:		ports/51450
Tested by:	Stacey Roberts <stacey@vickiandstacey.com>
Obtained from:	XFree86 bug #50
2003-05-03 22:18:03 +00:00
Eric Anholt
916ce7b9c6 Fix a small memory leak in __driUtilCreateScreen()
PR:		ports/51580
Submitted by:	Alexey Dokuchaev <danfe@regency.nsu.ru>
2003-04-30 00:16:01 +00:00
Eric Anholt
ccc32eb8fb Fix a typo which caused problems on Radeon R300 cards, including text mode
restoring not working.

Obtained from:	RedHat
2003-04-26 08:29:41 +00:00
Eric Anholt
d42a8c1c29 [1] Fix a hang in int10 on starting the server with multiple cards
[2] Fix a server hang on reset with DRI enabled on Radeons
[3] Fix a server hang on reset with DRI enabled on Matrox
[4] Fix screen going into powersaving with Xinerama, Xcursor, and Radeons
[5] Fix an unresolved symbol in the nv driver
[6] Fix a crash in DDC with Riva 128 cards (XFree86 bug 71)
[7] Add some missing manpages to the MAN4 list

PR:		[7] ports/50113
Obtained from:	[1] XFree86 bug 6
		[2] XFree86 bug 94
		[3] Panagiotis Papadakos <papadako@csd.uoc.gr>
		[4] XFree86 bug 90
		[5,6] XFree86 CVS
2003-04-06 08:48:25 +00:00
Eric Anholt
cae7bed1c6 Add a patch to fix xkb initialization.
Approved by:	portmgr (kris)
Obtained from:	XFree86 CVS
2003-03-18 23:41:24 +00:00
Eric Anholt
f9deefe2e9 [1] Add a fix for a hang with Radeon cards in specific apps.
[2] Fix unresolved symbols messages in mga and r128 drivers.

Approved by:	portmgr (kris)
Obtained from:	[1] DRI CVS
		[2] Leif Delgass
2003-03-15 04:28:02 +00:00
Eric Anholt
62d3b1c1fc Update XFree86 ports, including linux_dri, to 4.3.0. Set IGNORE= in dri-devel
for being outdated.  Thank you to all the testers and people who submitted
patches for this update.

Approved by:	portmgr
2003-03-11 23:38:11 +00:00
Eric Anholt
a0f7fe90a0 [1] Fix missing symbols in i810 driver
[2] Fix xdm on Alpha by using NetBSD's version of Wraphelp.c
[3] Report buttons 7 and when using sysmouse protocol
[4] Fix missing symbols in r128 driver.
[5] Reset /usr/X11R6/bin/X to Xwrapper-4 after install if Xwrapper-4 exists.

PR:		[1] i386/44203
		[2] ports/43664
		[3] ports/43232
2003-01-24 04:14:16 +00:00
Eric Anholt
236b06cf9b [1] Move the recently committed patch-common_x86.c to XFree86-4-libraries
so it covers libOSMesa, too.
[2] Reduce stack usage in libX11 (helps JDK 1.4)

PR:		[1] ports/46037
Submitted by:	[2] phantom
Approved by:	portmgr
2002-12-08 05:37:30 +00:00
Eric Anholt
af21c9400b [1] Quiet some prolific debug output in cirrus driver.
[2] Stop SIGILLs when running GL clients on systems with SSE but no
    CPU_ENABLE_SSE in the kernel.
[3] Fix imake complaints after XFree86-4-libraries patch to stop libXThrStub
    build on post-500043 -current.

PR:		[1] 38590
Approved by:	portmgr
2002-12-05 01:25:32 +00:00
Eric Anholt
23bd3ea704 Fix Matrox G550 cursor in the non-WITH_MATROX_GXX_DRIVER case.
PR:		37542
Submitted by:	Peter Johnson <freebsd@bilogic.org>
2002-09-19 07:55:42 +00:00
David E. O'Brien
8ff4eda1d0 FreeBSD'ize the XFree86 v4 server configuration programs.
Sponsored by:	FreeBSD Mall, Inc.
2002-06-09 02:21:26 +00:00