FreeBSD Bugzilla – Attachment 177251 Details for
Bug 214591
[exp-run] x11-servers/xorg-server: Update to 1.18.4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
update x11-servers/xorg-server to 1.18.4
x11-servers_xorg-server.patch (text/plain), 16.91 KB, created by
Matthew Rezny
on 2016-11-21 22:34:44 UTC
(
hide
)
Description:
update x11-servers/xorg-server to 1.18.4
Filename:
MIME Type:
Creator:
Matthew Rezny
Created:
2016-11-21 22:34:44 UTC
Size:
16.91 KB
patch
obsolete
>Index: x11-servers/xorg-server/Makefile >=================================================================== >--- x11-servers/xorg-server/Makefile (revision 426760) >+++ x11-servers/xorg-server/Makefile (working copy) >@@ -2,7 +2,7 @@ > # $FreeBSD$ > > PORTNAME?= xorg-server >-PORTVERSION= 1.17.4 >+PORTVERSION= 1.18.4 > PORTREVISION?= 0 > PORTEPOCH?= 1 > CATEGORIES= x11-servers >@@ -35,7 +35,7 @@ > > .include <bsd.port.options.mk> > >-USES= gmake libtool perl5 tar:bzip2 >+USES= gmake libtool perl5 ssl tar:bzip2 > USE_PERL5= build > USE_GL= gbm egl gl > USE_XORG?= xf86driproto glproto xdmcp x11 xkbfile xxf86misc xxf86vm xaw7 \ >@@ -46,7 +46,6 @@ > videoproto compositeproto trapproto presentproto recordproto \ > xineramaproto xinerama evieproto xfont fontenc xkbui pixman \ > pciaccess xshmfence >-USE_OPENSSL= yes > CONFIGURE_ARGS?=--disable-dmx --disable-xvfb --disable-xnest \ > --without-xmlto --disable-docs --disable-devel-docs \ > --localstatedir=/var --without-dtrace --disable-xephyr \ >@@ -81,21 +80,8 @@ > # We handle Xorg setuid in the plist. This allows to build xorg-server as a user. > CONFIGURE_ARGS+=--disable-install-setuid > >-.if ${ARCH} == i386 >-EXTRA_PATCHES+= ${FILESDIR}/extra-arch-i386 >-.endif >- >-.if ${ARCH} == ia64 >-EXTRA_PATCHES+= ${FILESDIR}/extra-arch-ia64 >-.endif >- >-.if ${ARCH} == powerpc || ${ARCH} == powerpc64 >-EXTRA_PATCHES+= ${FILESDIR}/extra-arch-powerpc >-.endif >- > .if ${ARCH} == sparc64 > PLIST_SUB+= SPARC64="" >-EXTRA_PATCHES+= ${FILESDIR}/extra-arch-sparc64 > .else > PLIST_SUB+= SPARC64="@comment " > .endif >Index: x11-servers/xorg-server/distinfo >=================================================================== >--- x11-servers/xorg-server/distinfo (revision 426760) >+++ x11-servers/xorg-server/distinfo (working copy) >@@ -1,2 +1,3 @@ >-SHA256 (xorg/xserver/xorg-server-1.17.4.tar.bz2) = 0c4b45c116a812a996eb432d8508cf26c2ec8c3916ff2a50781796882f8d6457 >-SIZE (xorg/xserver/xorg-server-1.17.4.tar.bz2) = 5791384 >+TIMESTAMP = 1469260730 >+SHA256 (xorg/xserver/xorg-server-1.18.4.tar.bz2) = 278459b2c31d61a15655d95a72fb79930c480a6bb8cf9226e48a07df8b1d31c8 >+SIZE (xorg/xserver/xorg-server-1.18.4.tar.bz2) = 6009508 >Index: x11-servers/xorg-server/files/extra-arch-i386 >=================================================================== >--- x11-servers/xorg-server/files/extra-arch-i386 (revision 426760) >+++ x11-servers/xorg-server/files/extra-arch-i386 (nonexistent) >@@ -1,70 +0,0 @@ >---- hw/xfree86/common/compiler.h.orig 2015-06-05 17:19:40.000000000 +0200 >-+++ hw/xfree86/common/compiler.h 2015-10-12 15:41:30.817470000 +0200 >-@@ -968,6 +968,59 @@ inl(unsigned PORT_SIZE port) >- #endif /* NDS32_MMIO_SWAP */ >- >- #elif defined(__i386__) || defined(__ia64__) >-+#if defined(__clang__) >-+ >-+/* >-+ * If gcc uses gas rather than the native assembler, the syntax of these >-+ * inlines has to be different. DHD >-+ */ >-+ >-+static __inline__ void >-+outb(unsigned short port, unsigned char val) >-+{ >-+ __asm__ __volatile__("outb %0,%1"::"a"(val), "d"(port)); >-+} >-+ >-+static __inline__ void >-+outw(unsigned short port, unsigned short val) >-+{ >-+ __asm__ __volatile__("outw %0,%1"::"a"(val), "d"(port)); >-+} >-+ >-+static __inline__ void >-+outl(unsigned short port, unsigned int val) >-+{ >-+ __asm__ __volatile__("outl %0,%1"::"a"(val), "d"(port)); >-+} >-+ >-+static __inline__ unsigned int >-+inb(unsigned short port) >-+{ >-+ unsigned char ret; >-+ __asm__ __volatile__("inb %1,%0":"=a"(ret):"d"(port)); >-+ >-+ return ret; >-+} >-+ >-+static __inline__ unsigned int >-+inw(unsigned short port) >-+{ >-+ unsigned short ret; >-+ __asm__ __volatile__("inw %1,%0":"=a"(ret):"d"(port)); >-+ >-+ return ret; >-+} >-+ >-+static __inline__ unsigned int >-+inl(unsigned short port) >-+{ >-+ unsigned int ret; >-+ __asm__ __volatile__("inl %1,%0":"=a"(ret):"d"(port)); >-+ >-+ return ret; >-+} >-+ >-+#else /* !__clang__, presumable GAS */ >- >- static __inline__ void >- outb(unsigned short port, unsigned char val) >-@@ -1014,6 +1067,7 @@ inl(unsigned short port) >- return ret; >- } >- >-+#endif /* !__clang__, GAS part */ >- #endif /* arch madness */ >- >- #else /* !GNUC */ > >Property changes on: x11-servers/xorg-server/files/extra-arch-i386 >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: x11-servers/xorg-server/files/extra-arch-ia64 >=================================================================== >--- x11-servers/xorg-server/files/extra-arch-ia64 (revision 426760) >+++ x11-servers/xorg-server/files/extra-arch-ia64 (nonexistent) >@@ -1,205 +0,0 @@ >---- configure.dist 2009-06-18 17:05:59.000000000 -0700 >-+++ configure 2009-06-18 17:08:47.000000000 -0700 >-@@ -1097,6 +1097,8 @@ >- SPARC64_VIDEO_TRUE >- PPC_VIDEO_FALSE >- PPC_VIDEO_TRUE >-+IA64_VIDEO_FALSE >-+IA64_VIDEO_TRUE >- I386_VIDEO_FALSE >- I386_VIDEO_TRUE >- ARM_VIDEO_FALSE >-@@ -19134,6 +19136,7 @@ >- GLX_ARCH_DEFINES="-D__GLX_ALIGN64" >- ;; >- ia64*) >-+ IA64_VIDEO=yes >- GLX_ARCH_DEFINES="-D__GLX_ALIGN64" >- ;; >- s390*) >-@@ -19166,6 +19169,14 @@ >- I386_VIDEO_FALSE= >- fi >- >-+ if test "x$IA64_VIDEO" = xyes; then >-+ IA64_VIDEO_TRUE= >-+ IA64_VIDEO_FALSE='#' >-+else >-+ IA64_VIDEO_TRUE='#' >-+ IA64_VIDEO_FALSE= >-+fi >-+ >- if test "x$PPC_VIDEO" = xyes; then >- PPC_VIDEO_TRUE= >- PPC_VIDEO_FALSE='#' >---- hw/xfree86/os-support/bsd/Makefile.in.dist 2009-06-18 17:45:13.000000000 -0700 >-+++ hw/xfree86/os-support/bsd/Makefile.in 2009-06-18 17:45:19.000000000 -0700 >-@@ -63,6 +63,7 @@ >- @ALPHA_VIDEO_FALSE@@ARM_VIDEO_FALSE@@I386_VIDEO_FALSE@@PPC_VIDEO_FALSE@@SPARC64_VIDEO_TRUE@am__objects_1 = sparc64_video.lo \ >- @ALPHA_VIDEO_FALSE@@ARM_VIDEO_FALSE@@I386_VIDEO_FALSE@@PPC_VIDEO_FALSE@@SPARC64_VIDEO_TRUE@ ioperm_noop.lo >- @ALPHA_VIDEO_FALSE@@ARM_VIDEO_FALSE@@I386_VIDEO_FALSE@@PPC_VIDEO_TRUE@am__objects_1 = ppc_video.lo >-+@IA64_VIDEO_TRUE@am__objects_1 = ia64_video.lo >- @ALPHA_VIDEO_FALSE@@ARM_VIDEO_FALSE@@I386_VIDEO_TRUE@am__objects_1 = i386_video.lo >- @ALPHA_VIDEO_FALSE@@ARM_VIDEO_TRUE@am__objects_1 = arm_video.lo >- @ALPHA_VIDEO_TRUE@am__objects_1 = alpha_video.lo bsd_ev56.lo \ >-@@ -393,6 +394,7 @@ >- >- @ARM_VIDEO_TRUE@ARCH_SOURCES = arm_video.c >- @I386_VIDEO_TRUE@ARCH_SOURCES = i386_video.c >-+@IA64_VIDEO_TRUE@ARCH_SOURCES = ia64_video.c >- @PPC_VIDEO_TRUE@ARCH_SOURCES = ppc_video.c >- >- # Cheat here and piggyback other sparc64 bits on SPARC64_VIDEO. >---- /dev/null 2009-06-18 18:27:23.000000000 -0700 >-+++ hw/xfree86/os-support/bsd/ia64_video.c 2009-06-18 18:26:02.000000000 -0700 >-@@ -0,0 +1,150 @@ >-+#ifdef HAVE_XORG_CONFIG_H >-+#include <xorg-config.h> >-+#endif >-+ >-+#include <X11/X.h> >-+#include "xf86.h" >-+#include "xf86Priv.h" >-+ >-+#include "xf86_OSlib.h" >-+#include "xf86OSpriv.h" >-+ >-+#include "bus/Pci.h" >-+ >-+#ifndef MAP_FAILED >-+#define MAP_FAILED ((caddr_t)-1) >-+#endif >-+ >-+ >-+/***************************************************************************/ >-+/* Video Memory Mapping section */ >-+/***************************************************************************/ >-+ >-+#define DEV_MEM "/dev/mem" >-+ >-+static pointer ia64MapVidMem(int, unsigned long, unsigned long, int flags); >-+static void ia64UnmapVidMem(int, pointer, unsigned long); >-+ >-+Bool xf86EnableIO(void); >-+void xf86DisableIO(void); >-+ >-+void >-+xf86OSInitVidMem(VidMemInfoPtr pVidMem) >-+{ >-+ pVidMem->linearSupported = TRUE; >-+ pVidMem->mapMem = ia64MapVidMem; >-+ pVidMem->unmapMem = ia64UnmapVidMem; >-+ pVidMem->initialised = TRUE; >-+ xf86EnableIO(); >-+} >-+ >-+ >-+_X_EXPORT volatile unsigned char *ioBase = MAP_FAILED; >-+ >-+static pointer >-+ia64MapVidMem(int ScreenNum, unsigned long Base, unsigned long Size, int flags) >-+{ >-+ int fd = xf86Info.screenFd; >-+ pointer base; >-+#ifdef DEBUG >-+ xf86MsgVerb(X_INFO, 3, "mapVidMem %lx, %lx, fd = %d", >-+ Base, Size, fd); >-+#endif >-+ >-+ base = mmap(0, Size, >-+ (flags & VIDMEM_READONLY) ? >-+ PROT_READ : (PROT_READ | PROT_WRITE), >-+ MAP_SHARED, fd, Base); >-+ if (base == MAP_FAILED) >-+ FatalError("%s: could not mmap screen [s=%lx,a=%lx] (%s)", >-+ "xf86MapVidMem", Size, Base, strerror(errno)); >-+ >-+ return base; >-+} >-+ >-+static void >-+ia64UnmapVidMem(int ScreenNum, pointer Base, unsigned long Size) >-+{ >-+ munmap(Base, Size); >-+} >-+ >-+_X_EXPORT int >-+xf86ReadBIOS(unsigned long Base, unsigned long Offset, unsigned char *Buf, >-+ int Len) >-+{ >-+ int rv; >-+ static int kmem = -1; >-+ >-+ if (kmem == -1) { >-+ kmem = open(DEV_MEM, 2); >-+ if (kmem == -1) { >-+ FatalError("xf86ReadBIOS: open %s", DEV_MEM); >-+ } >-+ } >-+ >-+#ifdef DEBUG >-+ xf86MsgVerb(X_INFO, 3, "xf86ReadBIOS() %lx %lx, %x\n", >-+ Base, Offset, Len); >-+#endif >-+ >-+ >-+ lseek(kmem, Base + Offset, 0); >-+ rv = read(kmem, Buf, Len); >-+ >-+ return rv; >-+} >-+ >-+Bool xf86EnableIO() >-+{ >-+ int fd = xf86Info.screenFd; >-+ >-+ xf86MsgVerb(X_WARNING, 3, "xf86EnableIO %d\n", fd); >-+ if (ioBase == MAP_FAILED) >-+ { >-+ ioBase=mmap(NULL, 0x10000, PROT_READ|PROT_WRITE, MAP_SHARED, fd, >-+ 0); >-+ xf86MsgVerb(X_INFO, 3, "xf86EnableIO: %p\n", ioBase); >-+ if (ioBase == MAP_FAILED) { >-+ xf86MsgVerb(X_WARNING, 3, "Can't map IO space!\n"); >-+ return FALSE; >-+ } >-+ } >-+ return TRUE; >-+} >-+ >-+void xf86DisableIO() >-+{ >-+ >-+ if (ioBase != MAP_FAILED) >-+ { >-+ munmap((void *)(uintptr_t)(void *)ioBase, 0x10000); >-+ ioBase = MAP_FAILED; >-+ } >-+} >-+ >-+void outb(unsigned long port, unsigned char val) >-+{ >-+} >-+ >-+void outw(unsigned long port, unsigned short val) >-+{ >-+} >-+ >-+void outl(unsigned long port, unsigned int val) >-+{ >-+} >-+ >-+unsigned int inb(unsigned long port) >-+{ >-+ return 0xff; >-+} >-+ >-+unsigned int inw(unsigned long port) >-+{ >-+ return 0xffff; >-+} >-+ >-+unsigned int inl(unsigned long port) >-+{ >-+ return 0xffffffff; >-+} > >Property changes on: x11-servers/xorg-server/files/extra-arch-ia64 >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: x11-servers/xorg-server/files/extra-arch-powerpc >=================================================================== >--- x11-servers/xorg-server/files/extra-arch-powerpc (revision 426760) >+++ x11-servers/xorg-server/files/extra-arch-powerpc (nonexistent) >@@ -1,14 +0,0 @@ >---- hw/xfree86/os-support/bsd/ppc_video.c.orig 2015-06-05 17:19:40.000000000 +0200 >-+++ hw/xfree86/os-support/bsd/ppc_video.c 2015-10-12 15:23:47.470110000 +0200 >-@@ -79,7 +79,11 @@ xf86DisableIO() >- { >- >- if (ioBase != MAP_FAILED) { >-+#if defined(__FreeBSD__) >-+ munmap(__DEVOLATILE(unsigned char *, ioBase), 0x10000); >-+#else >- munmap(__UNVOLATILE(ioBase), 0x10000); >-+#endif >- ioBase = MAP_FAILED; >- } >- } > >Property changes on: x11-servers/xorg-server/files/extra-arch-powerpc >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: x11-servers/xorg-server/files/extra-arch-sparc64 >=================================================================== >--- x11-servers/xorg-server/files/extra-arch-sparc64 (revision 426760) >+++ x11-servers/xorg-server/files/extra-arch-sparc64 (nonexistent) >@@ -1,12 +0,0 @@ >---- hw/xfree86/os-support/bsd/bsd_init.c.orig 2012-05-17 19:09:03.000000000 +0200 >-+++ hw/xfree86/os-support/bsd/bsd_init.c 2013-09-01 20:45:36.000000000 +0200 >-@@ -230,6 +230,9 @@ >- * Add cases for other *BSD that behave the same. >- */ >- #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) >-+#if defined(__sparc64__) >-+ pci_system_init_dev_mem(fd); >-+#endif >- uname(&uts); >- i = atof(uts.release) * 100; >- if (i >= 310) > >Property changes on: x11-servers/xorg-server/files/extra-arch-sparc64 >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: x11-servers/xorg-server/files/patch-Xserver-hw-xfree86-os-support-bsd-bsd_init.c >=================================================================== >--- x11-servers/xorg-server/files/patch-Xserver-hw-xfree86-os-support-bsd-bsd_init.c (nonexistent) >+++ x11-servers/xorg-server/files/patch-Xserver-hw-xfree86-os-support-bsd-bsd_init.c (working copy) >@@ -0,0 +1,12 @@ >+--- hw/xfree86/os-support/bsd/bsd_init.c.orig 2012-05-17 19:09:03.000000000 +0200 >++++ hw/xfree86/os-support/bsd/bsd_init.c 2013-09-01 20:45:36.000000000 +0200 >+@@ -230,6 +230,9 @@ >+ * Add cases for other *BSD that behave the same. >+ */ >+ #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) >++#if defined(__sparc64__) >++ pci_system_init_dev_mem(fd); >++#endif >+ uname(&uts); >+ i = atof(uts.release) * 100; >+ if (i >= 310) > >Property changes on: x11-servers/xorg-server/files/patch-Xserver-hw-xfree86-os-support-bsd-bsd_init.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: x11-servers/xorg-server/files/patch-Xserver-hw-xfree86-os-support-bsd-ppc_video.c >=================================================================== >--- x11-servers/xorg-server/files/patch-Xserver-hw-xfree86-os-support-bsd-ppc_video.c (nonexistent) >+++ x11-servers/xorg-server/files/patch-Xserver-hw-xfree86-os-support-bsd-ppc_video.c (working copy) >@@ -0,0 +1,14 @@ >+--- hw/xfree86/os-support/bsd/ppc_video.c.orig 2015-06-05 17:19:40.000000000 +0200 >++++ hw/xfree86/os-support/bsd/ppc_video.c 2015-10-12 15:23:47.470110000 +0200 >+@@ -79,7 +79,11 @@ xf86DisableIO() >+ { >+ >+ if (ioBase != MAP_FAILED) { >++#if defined(__FreeBSD__) >++ munmap(__DEVOLATILE(unsigned char *, ioBase), 0x10000); >++#else >+ munmap(__UNVOLATILE(ioBase), 0x10000); >++#endif >+ ioBase = MAP_FAILED; >+ } >+ } > >Property changes on: x11-servers/xorg-server/files/patch-Xserver-hw-xfree86-os-support-bsd-ppc_video.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: x11-servers/xorg-server/files/patch-hw_xfree86_common_xf86Xinput.c >=================================================================== >--- x11-servers/xorg-server/files/patch-hw_xfree86_common_xf86Xinput.c (revision 426760) >+++ x11-servers/xorg-server/files/patch-hw_xfree86_common_xf86Xinput.c (working copy) >@@ -1,5 +1,15 @@ >-Index: hw/xfree86/common/xf86Xinput.c >-@@ -942,6 +942,7 @@ >+--- hw/xfree86/common/xf86Xinput.c.orig 2015-10-28 19:15:36.000000000 +0100 >++++ hw/xfree86/common/xf86Xinput.c 2015-11-18 23:51:11.993397000 +0100 >+@@ -841,7 +841,7 @@ xf86NewInputDevice(InputInfoPtr pInfo, D >+ { >+ InputDriverPtr drv = NULL; >+ DeviceIntPtr dev = NULL; >+- Bool paused; >++ Bool paused = 0; >+ int rval; >+ const char *path; >+ >+@@ -993,6 +993,7 @@ NewInputDeviceRequest(InputOption *optio > if (strcmp(key, "_source") == 0 && > (strcmp(value, "server/hal") == 0 || > strcmp(value, "server/udev") == 0 || >Index: x11-servers/xorg-server/pkg-plist >=================================================================== >--- x11-servers/xorg-server/pkg-plist (revision 426760) >+++ x11-servers/xorg-server/pkg-plist (working copy) >@@ -22,6 +22,7 @@ > include/xorg/damagestr.h > include/xorg/dbestruct.h > include/xorg/dgaproc.h >+include/xorg/displaymode.h > include/xorg/dix.h > include/xorg/dixaccess.h > include/xorg/dixevents.h >@@ -75,6 +76,7 @@ > include/xorg/misyncshm.h > include/xorg/misyncstr.h > include/xorg/mizerarc.h >+include/xorg/nonsdk_extinit.h > include/xorg/opaque.h > include/xorg/optionstr.h > include/xorg/os.h >@@ -106,14 +108,11 @@ > include/xorg/shadowfb.h > include/xorg/shmint.h > include/xorg/site.h >-include/xorg/swaprep.h >-include/xorg/swapreq.h > include/xorg/syncsdk.h > include/xorg/validate.h > include/xorg/vbe.h > include/xorg/vbeModes.h > include/xorg/vgaHW.h >-include/xorg/vidmodeproc.h > include/xorg/wfbrename.h > include/xorg/window.h > include/xorg/windowstr.h >@@ -151,7 +150,6 @@ > include/xorg/xf86xv.h > include/xorg/xf86xvmc.h > include/xorg/xf86xvpriv.h >-include/xorg/xfixes.h > include/xorg/xisb.h > include/xorg/xkbfile.h > include/xorg/xkbrules.h
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 214591
:
177097
|
177098
|
177251
|
177258
|
177480
|
179056
|
179074
|
179293