Commit graph

266 commits

Author SHA1 Message Date
Eric Anholt
b7f4234b95 Switch MAINTAINER to x11@FreeBSD.org for group maintaining of these ports. 2003-11-12 01:04:37 +00:00
Eric Anholt
573ede432f Disable the patch from XFree86 bug 641 to copy the terminal's settings in
luit to its new pty.  This code doesn't work for some reason and produces
"Couldn't copy terminal settings" when luit is run manually or the symptom
of an xterm -lc flashing on screen and exiting.

Submitted by:	Guido Berhoerster <ich@guido-berhoerster.org>
2003-11-11 04:09:42 +00:00
Eric Anholt
4c54a5df65 Update luit (helper app that does locale translation for xterm) in
XFree86-4-clients from XFree86 CVS.  This allows luit to be used setuid, which
closes a security hole (tty left world-writable) that luit complains about on
startup if not setuid.  Setting WITH_SETUID_LUIT installs luit setuid.

PR:		ports/51632
Submitted by:	Guido Berhoerster <ich@guido-berhoerster.org>
Help from:	ITO Tsuyoshi <tsuyoshi@is.s.u-tokyo.ac.jp>
2003-11-09 04:44:30 +00:00
Mikhail Teterin
8a54ffccd9 Fix a bug in my last commit -- the second coma in -Wl,rpath,DIRECTORY
was missing.

Reported by:	Andy Fawcett (who watches the ports cluster logs)
		Uwe Laverenz
2003-11-05 19:09:58 +00:00
Mikhail Teterin
038bfd6832 Add a patch for Mesa's glheader.h to teach it about the Intel
compiler(s) (no __cdecl, INLINE means inline). Add a hunk to the
FreeBSD.cf patch to make always prepend -rpath with the -Wl, --
GCC understands it either way, but Intel's icc, for example,
does not -- and need not.

Approved by:		enholt (maintainer)
Also reviewed by:	netchild (icc guru)
2003-11-05 05:29:28 +00:00
Eric Anholt
02d69ca9fe Fix XFree86-4-clients build. It was failing depending on lib*.a which weren't
being built due to the split build.  Remove the dependencies on them, and it'll
pick them up from ${X11BASE}/lib.  I don't know why this broke now but worked
in the past.

Reported by:	everyone
Tested on:	ref5 (libraries,clients)
2003-10-14 00:45:30 +00:00
Eric Anholt
b19ea7a6ff Somehow the typo in the previous commit didn't make the build fail. Fix it. 2003-10-12 23:41:06 +00:00
Eric Anholt
b0c17c5aef Suppress warnings in system headers with gcc 3.x. 2003-10-12 23:12:43 +00:00
Eric Anholt
bf3c312523 Allow the patch directory to be overridden.
Approved by:	portmgr (will)
2003-09-17 02:38:44 +00:00
Eric Anholt
97b4e7a649 Fixes for potential integer overflows in font libraries.
Obtained from:	XFree86 CVS
2003-09-03 22:12:51 +00:00
Eric Anholt
abb67d14e8 Remove the disabling of MTRRs on amd64, as MTRR support has been added to
-current.  No PORTREVISION bump because the installed base is small enough.

Submitted by:	peter
2003-08-23 03:05:24 +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
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
b19121dfab Removing -lc from the link line of libGL.so broke on -alpha. Revert the patch
until a solution can be found.

Reported by:	kris (bento)
2003-05-17 08:41:31 +00:00
Eric Anholt
2ccb4eaa88 Convert .for/.endfor to shell script to fix building of XFree86-4-Server,
which sets the variables involved after including this file.  No PORTREVISION
bump because the last XFree86-4-Server bump was for packaging and packaging
was broken in the last revision.

Reported by:	Kent Stewart <kstewart@owt.com>
2003-05-14 22:22:10 +00:00
Eric Anholt
346aa45573 [1] Make the HTML manpages get put into the packages again.
[2] Check that XFREE86_VERSION=4 is set when building, rather than setting it.
[3] Move many common Makefile bits to XFree86-4-libraries/Makefile.inc
[4] Make the XFree86-4-Server port not install libXfont.so.
[5] Move the xcursor.pc file to its proper location in ${X11BASE}/libdata/pkgconfig
[6] Don't explicitly link libGL.so against libc, for the sake of 4.x's pthreads.

Submitted by:	[5,6] Ports Fury
2003-05-14 07:02:07 +00:00
Eric Anholt
c5df92d1ee Add a patch to work around a gcc/gas problem on sparc64. No revision bump
necessary as this is a build fix.

Submitted by:	tmm
2003-05-07 22:34:43 +00:00
Eric Anholt
ff8b37ce7a Fix a small memory leak in XvQueryAdaptors()
PR:		ports/51579
Submitted by:	Alexey Dokuchaev <danfe@regency.nsu.ru>
2003-04-30 00:15:06 +00:00
Eric Anholt
e5aa7d1091 Fix a memory leak in libX11.
Obtained from:	RedHat
2003-04-26 08:00:21 +00:00
Eric Anholt
c53a3fe9fd Add a fix for a possible buffer overflow in _XlcLocaleDirName(). Privileged
binaries are not vulnerable.

Approved by:	portmgr (kris)
Obtained from:	XFree86 CVS xf-4_3-branch
2003-03-15 04:32:37 +00:00
Eric Anholt
3d8d694509 Re-add patch-xdm_session.c which was accidentally dropped in the 4.3.0 upgrade.
This fixes problems with environment not being set in xdm sessions.

Submitted by:	many
Approved by:	portmgr (kris)
2003-03-15 04:30:03 +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
Ade Lovett
3195b6f71c Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2003-03-07 06:36:20 +00:00
Eric Anholt
3d4a7aef38 Fix XFree86-4-libraries after Xft renaming removal:
Add `pkg-config xft --cflags` and --libs to Imakefiles of programs that use Xft
and remove a bit of code not needed for Xft2, remove xftcache program.

Reported by:	many
2003-02-19 08:06:54 +00:00
Eric Anholt
38805e871a Remove the renaming of Xft headers and library from the Xft (Xft2) port.
Remove installing of Xft1 from XFree86-4-libraries, and add dependencies
to the Xft port by all the ports that use it along with whatever patches are
necessary.

Approved by:	portmgr (kris), marcus
2003-02-18 04:51:34 +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
ea31c1a98e Fix build for IA64. Should not affect architectures where this is already
building.

Requested by:	kkenn, marcel
Obtained from:	XFree86 CVS r1.5
2003-01-16 01:59:00 +00:00
Kiriyama Kazuhiko
d5c6b822d1 Back to previous one because of unofficial patch. 2002-12-24 10:16:19 +00:00
Kiriyama Kazuhiko
4a0c15001d Add XIM patch to files/patch-XlcDL.c 2002-12-24 01:18:49 +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
33148d48ff Make XFree86-4-libraries build on ia64
Submitted by:	marcel
Approved by:	portmgr
2002-12-04 03:42:34 +00:00
Eric Anholt
9a25b6b5b9 [1] Fix the en_US.ISO8859-15 locale support.
[2] Fix the gb_GB.CP1251 locale support.
Bump PORTREVISION.

PR:		[1] 36565, [2] 40189
Submitted by:	[1] Simon 'corecode' Schubert <corecode@corecode.ath.cx>
		[2] Stanislav Grozev <tacho@factline.com>
2002-11-25 00:07:40 +00:00
Eric Anholt
050e36f275 Make using an outdated imake a little harder: depend on version.def being
installed rather than the imake binary.
2002-11-24 08:32:32 +00:00
Eric Anholt
be87be8a52 Disable building of libXThrStub on current newer than 500043
Submitted by:	dfr
2002-11-02 00:45:49 +00:00
Eric Anholt
d0cc39f7c8 [1] Make the 4.2.1 ports all use the merged 4.2.1+mitshm patch.
[2] Make the ports respect CFLAGS better.  Now CFLAGS (and CC/CXX) are set for
the build during the configure stage.

PR:		[2] 40271, 43369
2002-10-17 07:20:03 +00:00
Eric Anholt
00ecf842f6 Fix XFree86-4-clients build on alpha by disabling SharedLibXdmGreet.
No difference on non-alpha, and gets alpha building with this version, so
no PORTREVISION bump.

PR:		43663
2002-10-07 02:13:29 +00:00
Eric Anholt
fc8cc1d008 Add patch to support XFree86-4-libraries and -clients on sparc64
Submitted by:	tmm
2002-09-19 01:41:58 +00:00
Eric Anholt
a31c36d93d Actually remove these files. 2002-09-18 04:24:21 +00:00
Eric Anholt
372f7910fb Update XFree86-4-* ports which share XFree86-4-libraries's patches:
- Reduce build times by not rebuilding some programs/libraries in each port.
- Move some files from -clients to -libraries and from -libraries to -server.
- Make package-building in XFree86-4 more intuitive

PR:	41606 (package building)
2002-09-18 04:23:00 +00:00
Maxim Sobolev
4fe6852b8f Due to popular demant into each port which might be inserted into dependency
list by bsd.port.mk insert anti foot-shooting device, which prevents
infinite fork loop when the user defines corresponding USE_XXX in global
make.conf, command line or environment.

Similar devices should probably be inserted into ports that might be inserted
into dependency list by others bsd.foo.mk files (bsd.ruby.mk, bsd.python.mk
and so on.)
2002-09-14 13:32:06 +00:00
Eric Anholt
0edad80fe0 Update XFree86-4-clients, -Servers, and -libraries to 4.2.1.
The most notable update is fixing what appears to be possible privelege
escalation with libX11 and setuid clients (xterm is one).
2002-09-05 03:48:31 +00:00
Maxim Sobolev
acb70a00da When initialising s3 driver call fbPictureInit() like other drivers do. This
fixes a problem with RENDER extention not working with s3 driver. Bump
PORTREVISION.

Approved by:	maintainer (implicitly)
2002-08-26 17:41:46 +00:00
Eric Anholt
f129bef08d Fix the us_intl keymap.
Submitted by:	Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
Obtained from:	Andoni Zubimendi <andoni@lpsat.net>
2002-08-21 21:58:44 +00:00
Eric Anholt
6efbfe0d64 gzip the new patches to help users who are getting mangled text files from
${MASTER_SITE_LOCAL}

PR:		41408
2002-08-15 20:44:27 +00:00
Eric Anholt
6c42faf2e8 Add patches for last commit (fixing scrollwheel on -current, and enabling
SYSVIPC to aid nv binary drivers)

Approved by:	mdodd
2002-08-05 07:33:22 +00:00
Eric Anholt
05f2c750e9 1. Use XlcDL.c from X CVS to help people with Korean or Japanese XIM and GTK+
2. Update PCI IDs and nv driver to include newer nv chipsets
3. Add SHM to XFree86's libc wrapper on bsd to help with nv binary drivers.
4. Fix mouse scrollwheels on -current (new gcc)

Submitted by:	[1] Hye-Shik Chang <perky@FreeBSD.org>
		[2] Chris Dillon <cdillon@wolves.k12.mo.us>
		[3] Matthew N. Dodd <mdodd@freebsd.org>
		[4] Ted Lindgreen <ted@sanne.nlnetlabs.nl>
Approved by:	mdodd
2002-08-05 07:26:11 +00:00
Eric Anholt
21aa2d1516 gzip Wraphelp.c and put it in local_distfiles, to help users having troubles
downloading it.  Move freebsd-glide3headers there too.  Update BUILD_DEPENDS
for font ports to catch new requirements as of 4.2.0.

PR:		40362, 40759
Approved by:	des (mentor)
2002-08-02 02:57:26 +00:00
Eric Anholt
a5596482c6 Make XFree86-4 miniports use imake-4's HasXdmAuth setting (default is YES).
Clean up Wraphelp.c inclusion in the ports that need it.
Add USE_PERL5 to imake-4.

Approved by:	des
2002-07-18 20:30:22 +00:00
Eric Anholt
6ef550dcec Take over maintainership of XFree86-4 ports. Add patches to fix libGLU on
-current, fix the DRI with Wine, update the config files for the X ports, and
fix many of them to allow continuing of the X build after interruption (it
used to clean and rebuild).

Approved by:	will, des (mentor)
2002-07-14 20:26:33 +00:00
Kris Kennaway
916e9395d7 Allow this port to build in -current (i.e. with gcc 3.1)
Submitted by:	Motoyuki Konno <motoyuki@bsdclub.org>
2002-06-07 03:26:24 +00:00