diff options
author | jmz <jmz@FreeBSD.org> | 2002-03-06 07:37:02 +0800 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 2002-03-06 07:37:02 +0800 |
commit | d44acb917042a7c90de8a1d126e92386df69bc06 (patch) | |
tree | 8206d827d37db2e3f040b7853ce0221c3c5d0b2b /x11/XFree86-4 | |
parent | 3226582dfd386f08c026e93b82b7dc1deec286a7 (diff) | |
download | freebsd-ports-gnome-d44acb917042a7c90de8a1d126e92386df69bc06.tar.gz freebsd-ports-gnome-d44acb917042a7c90de8a1d126e92386df69bc06.tar.zst freebsd-ports-gnome-d44acb917042a7c90de8a1d126e92386df69bc06.zip |
Add support for SYSV IPC. This patch is REQUIRED for GL to work with the
FreeBSD NVIDIA drivers.
Submitted by: mdodd
Diffstat (limited to 'x11/XFree86-4')
-rw-r--r-- | x11/XFree86-4/Makefile | 2 | ||||
-rw-r--r-- | x11/XFree86-4/files/patch-shm | 23 |
2 files changed, 24 insertions, 1 deletions
diff --git a/x11/XFree86-4/Makefile b/x11/XFree86-4/Makefile index d144e509e2af..85b434974e92 100644 --- a/x11/XFree86-4/Makefile +++ b/x11/XFree86-4/Makefile @@ -7,7 +7,7 @@ PORTNAME= XFree86 PORTVERSION= 4.1.0 -PORTREVISION= 12 +PORTREVISION= 13 PORTEPOCH= 1 CATEGORIES= x11 MASTER_SITES= ${MASTER_SITE_XFREE} diff --git a/x11/XFree86-4/files/patch-shm b/x11/XFree86-4/files/patch-shm new file mode 100644 index 000000000000..c0eac621e593 --- /dev/null +++ b/x11/XFree86-4/files/patch-shm @@ -0,0 +1,23 @@ +--- programs/Xserver/hw/xfree86/os-support/shared/libc_wrapper.c.orig Mon Mar 4 05:03:27 2002 ++++ programs/Xserver/hw/xfree86/os-support/shared/libc_wrapper.c Mon Mar 4 05:03:40 2002 +@@ -1871,7 +1871,9 @@ + + if (xf86shmflg & XF86SHM_RDONLY) shmflg |= SHM_RDONLY; + if (xf86shmflg & XF86SHM_RND) shmflg |= SHM_RND; ++#ifdef SHM_REMAP + if (xf86shmflg & XF86SHM_REMAP) shmflg |= SHM_REMAP; ++#endif + + return shmat(id,addr,shmflg); + } +--- programs/Xserver/hw/xfree86/os-support/bsd/Imakefile.orig Mon Mar 4 05:02:06 2002 ++++ programs/Xserver/hw/xfree86/os-support/bsd/Imakefile Mon Mar 4 05:03:11 2002 +@@ -130,7 +130,7 @@ + #endif + + DEFINES = $(CONSDEFINES) $(APDEFINES) $(IOPERMDEFINES) $(RESDEFINES) \ +- $(MTRRDEFINES) $(USBMOUSEDEFINES) ++ $(MTRRDEFINES) $(USBMOUSEDEFINES) -DHAVE_SYSV_IPC + + #if defined(AlphaArchitecture) + SpecialObjectRule(bsd_ev56.o, bsd_ev56.c, -mcpu=ev56) |