diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2017-07-05 12:41:57 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2017-07-05 12:41:57 +0000 |
commit | 86dbaa26e4956740992f361e8ed5175889903cb2 (patch) | |
tree | df44b97ce16d3d5b4001b335bbdc79df5e39cfc5 /x11-servers | |
parent | fe62e6c2dfffcffbb6dcd693504a1f8f44600597 (diff) | |
download | ports-86dbaa26e4956740992f361e8ed5175889903cb2.tar.gz ports-86dbaa26e4956740992f361e8ed5175889903cb2.zip |
Notes
Diffstat (limited to 'x11-servers')
-rw-r--r-- | x11-servers/xorg-nestserver/files/patch-Xext_shm.c | 14 | ||||
-rw-r--r-- | x11-servers/xorg-nestserver/files/patch-configure | 10 | ||||
-rw-r--r-- | x11-servers/xorg-nestserver/files/patch-include_dix-config.h.in | 12 | ||||
-rw-r--r-- | x11-servers/xorg-server/Makefile | 2 | ||||
-rw-r--r-- | x11-servers/xorg-server/files/patch-Xext_shm.c | 14 | ||||
-rw-r--r-- | x11-servers/xorg-server/files/patch-configure | 8 | ||||
-rw-r--r-- | x11-servers/xorg-server/files/patch-include_dix-config.h.in | 12 | ||||
-rw-r--r-- | x11-servers/xorg-vfbserver/files/patch-Xext_shm.c | 14 | ||||
-rw-r--r-- | x11-servers/xorg-vfbserver/files/patch-configure | 10 | ||||
-rw-r--r-- | x11-servers/xorg-vfbserver/files/patch-include_dix-config.h.in | 12 | ||||
-rw-r--r-- | x11-servers/xwayland/files/patch-Xext_shm.c | 14 | ||||
-rw-r--r-- | x11-servers/xwayland/files/patch-configure | 10 | ||||
-rw-r--r-- | x11-servers/xwayland/files/patch-include_dix-config.h.in | 12 |
13 files changed, 143 insertions, 1 deletions
diff --git a/x11-servers/xorg-nestserver/files/patch-Xext_shm.c b/x11-servers/xorg-nestserver/files/patch-Xext_shm.c new file mode 100644 index 000000000000..04106a049ab7 --- /dev/null +++ b/x11-servers/xorg-nestserver/files/patch-Xext_shm.c @@ -0,0 +1,14 @@ +--- Xext/shm.c.orig 2016-07-19 17:14:21 UTC ++++ Xext/shm.c +@@ -1210,7 +1210,11 @@ shm_tmpfile(void) + } + ErrorF ("Not using O_TMPFILE\n"); + #endif ++#ifdef HAVE_MKOSTEMP ++ fd = mkostemp(template, O_CLOEXEC); ++#else + fd = mkstemp(template); ++#endif + if (fd < 0) + return -1; + unlink(template); diff --git a/x11-servers/xorg-nestserver/files/patch-configure b/x11-servers/xorg-nestserver/files/patch-configure new file mode 100644 index 000000000000..f59122539cd9 --- /dev/null +++ b/x11-servers/xorg-nestserver/files/patch-configure @@ -0,0 +1,10 @@ +--- configure.orig 2017-01-11 21:16:40 UTC ++++ configure +@@ -22758,6 +22758,7 @@ fi + for ac_func in backtrace ffs geteuid getuid issetugid getresuid \ + getdtablesize getifaddrs getpeereid getpeerucred getprogname getzoneid \ + mmap posix_fallocate seteuid shmctl64 strncasecmp vasprintf vsnprintf \ ++ mkostemp \ + walkcontext setitimer poll epoll_create1 + do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` diff --git a/x11-servers/xorg-nestserver/files/patch-include_dix-config.h.in b/x11-servers/xorg-nestserver/files/patch-include_dix-config.h.in new file mode 100644 index 000000000000..270890f9bcbc --- /dev/null +++ b/x11-servers/xorg-nestserver/files/patch-include_dix-config.h.in @@ -0,0 +1,12 @@ +--- include/dix-config.h.in.orig 2016-07-19 17:07:29 UTC ++++ include/dix-config.h.in +@@ -140,6 +140,9 @@ + /* Define to 1 if you have the <linux/fb.h> header file. */ + #undef HAVE_LINUX_FB_H + ++/* Define to 1 if you have the `mkostemp' function. */ ++#undef HAVE_MKOSTEMP ++ + /* Define to 1 if you have the `mmap' function. */ + #undef HAVE_MMAP + diff --git a/x11-servers/xorg-server/Makefile b/x11-servers/xorg-server/Makefile index ae2014010ddd..9070971962ea 100644 --- a/x11-servers/xorg-server/Makefile +++ b/x11-servers/xorg-server/Makefile @@ -3,7 +3,7 @@ PORTNAME?= xorg-server PORTVERSION?= 1.18.4 -PORTREVISION?= 1 +PORTREVISION?= 2 PORTEPOCH?= 1 CATEGORIES= x11-servers MASTER_SITES= XORG/individual/xserver diff --git a/x11-servers/xorg-server/files/patch-Xext_shm.c b/x11-servers/xorg-server/files/patch-Xext_shm.c new file mode 100644 index 000000000000..04106a049ab7 --- /dev/null +++ b/x11-servers/xorg-server/files/patch-Xext_shm.c @@ -0,0 +1,14 @@ +--- Xext/shm.c.orig 2016-07-19 17:14:21 UTC ++++ Xext/shm.c +@@ -1210,7 +1210,11 @@ shm_tmpfile(void) + } + ErrorF ("Not using O_TMPFILE\n"); + #endif ++#ifdef HAVE_MKOSTEMP ++ fd = mkostemp(template, O_CLOEXEC); ++#else + fd = mkstemp(template); ++#endif + if (fd < 0) + return -1; + unlink(template); diff --git a/x11-servers/xorg-server/files/patch-configure b/x11-servers/xorg-server/files/patch-configure index 10674bc6034d..af362d5653c4 100644 --- a/x11-servers/xorg-server/files/patch-configure +++ b/x11-servers/xorg-server/files/patch-configure @@ -1,5 +1,13 @@ --- configure.orig 2016-07-19 17:27:31 UTC +++ configure +@@ -22742,6 +22742,7 @@ fi + for ac_func in backtrace ffs geteuid getuid issetugid getresuid \ + getdtablesize getifaddrs getpeereid getpeerucred getprogname getzoneid \ + mmap posix_fallocate seteuid shmctl64 strncasecmp vasprintf vsnprintf \ ++ mkostemp \ + walkcontext + do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` @@ -23168,9 +23168,14 @@ $as_echo "#define USE_ALPHA_PIO 1" >>con esac GLX_ARCH_DEFINES="-D__GLX_ALIGN64 -mieee" diff --git a/x11-servers/xorg-server/files/patch-include_dix-config.h.in b/x11-servers/xorg-server/files/patch-include_dix-config.h.in new file mode 100644 index 000000000000..270890f9bcbc --- /dev/null +++ b/x11-servers/xorg-server/files/patch-include_dix-config.h.in @@ -0,0 +1,12 @@ +--- include/dix-config.h.in.orig 2016-07-19 17:07:29 UTC ++++ include/dix-config.h.in +@@ -140,6 +140,9 @@ + /* Define to 1 if you have the <linux/fb.h> header file. */ + #undef HAVE_LINUX_FB_H + ++/* Define to 1 if you have the `mkostemp' function. */ ++#undef HAVE_MKOSTEMP ++ + /* Define to 1 if you have the `mmap' function. */ + #undef HAVE_MMAP + diff --git a/x11-servers/xorg-vfbserver/files/patch-Xext_shm.c b/x11-servers/xorg-vfbserver/files/patch-Xext_shm.c new file mode 100644 index 000000000000..04106a049ab7 --- /dev/null +++ b/x11-servers/xorg-vfbserver/files/patch-Xext_shm.c @@ -0,0 +1,14 @@ +--- Xext/shm.c.orig 2016-07-19 17:14:21 UTC ++++ Xext/shm.c +@@ -1210,7 +1210,11 @@ shm_tmpfile(void) + } + ErrorF ("Not using O_TMPFILE\n"); + #endif ++#ifdef HAVE_MKOSTEMP ++ fd = mkostemp(template, O_CLOEXEC); ++#else + fd = mkstemp(template); ++#endif + if (fd < 0) + return -1; + unlink(template); diff --git a/x11-servers/xorg-vfbserver/files/patch-configure b/x11-servers/xorg-vfbserver/files/patch-configure new file mode 100644 index 000000000000..f59122539cd9 --- /dev/null +++ b/x11-servers/xorg-vfbserver/files/patch-configure @@ -0,0 +1,10 @@ +--- configure.orig 2017-01-11 21:16:40 UTC ++++ configure +@@ -22758,6 +22758,7 @@ fi + for ac_func in backtrace ffs geteuid getuid issetugid getresuid \ + getdtablesize getifaddrs getpeereid getpeerucred getprogname getzoneid \ + mmap posix_fallocate seteuid shmctl64 strncasecmp vasprintf vsnprintf \ ++ mkostemp \ + walkcontext setitimer poll epoll_create1 + do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` diff --git a/x11-servers/xorg-vfbserver/files/patch-include_dix-config.h.in b/x11-servers/xorg-vfbserver/files/patch-include_dix-config.h.in new file mode 100644 index 000000000000..270890f9bcbc --- /dev/null +++ b/x11-servers/xorg-vfbserver/files/patch-include_dix-config.h.in @@ -0,0 +1,12 @@ +--- include/dix-config.h.in.orig 2016-07-19 17:07:29 UTC ++++ include/dix-config.h.in +@@ -140,6 +140,9 @@ + /* Define to 1 if you have the <linux/fb.h> header file. */ + #undef HAVE_LINUX_FB_H + ++/* Define to 1 if you have the `mkostemp' function. */ ++#undef HAVE_MKOSTEMP ++ + /* Define to 1 if you have the `mmap' function. */ + #undef HAVE_MMAP + diff --git a/x11-servers/xwayland/files/patch-Xext_shm.c b/x11-servers/xwayland/files/patch-Xext_shm.c new file mode 100644 index 000000000000..04106a049ab7 --- /dev/null +++ b/x11-servers/xwayland/files/patch-Xext_shm.c @@ -0,0 +1,14 @@ +--- Xext/shm.c.orig 2016-07-19 17:14:21 UTC ++++ Xext/shm.c +@@ -1210,7 +1210,11 @@ shm_tmpfile(void) + } + ErrorF ("Not using O_TMPFILE\n"); + #endif ++#ifdef HAVE_MKOSTEMP ++ fd = mkostemp(template, O_CLOEXEC); ++#else + fd = mkstemp(template); ++#endif + if (fd < 0) + return -1; + unlink(template); diff --git a/x11-servers/xwayland/files/patch-configure b/x11-servers/xwayland/files/patch-configure new file mode 100644 index 000000000000..f59122539cd9 --- /dev/null +++ b/x11-servers/xwayland/files/patch-configure @@ -0,0 +1,10 @@ +--- configure.orig 2017-01-11 21:16:40 UTC ++++ configure +@@ -22758,6 +22758,7 @@ fi + for ac_func in backtrace ffs geteuid getuid issetugid getresuid \ + getdtablesize getifaddrs getpeereid getpeerucred getprogname getzoneid \ + mmap posix_fallocate seteuid shmctl64 strncasecmp vasprintf vsnprintf \ ++ mkostemp \ + walkcontext setitimer poll epoll_create1 + do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` diff --git a/x11-servers/xwayland/files/patch-include_dix-config.h.in b/x11-servers/xwayland/files/patch-include_dix-config.h.in new file mode 100644 index 000000000000..270890f9bcbc --- /dev/null +++ b/x11-servers/xwayland/files/patch-include_dix-config.h.in @@ -0,0 +1,12 @@ +--- include/dix-config.h.in.orig 2016-07-19 17:07:29 UTC ++++ include/dix-config.h.in +@@ -140,6 +140,9 @@ + /* Define to 1 if you have the <linux/fb.h> header file. */ + #undef HAVE_LINUX_FB_H + ++/* Define to 1 if you have the `mkostemp' function. */ ++#undef HAVE_MKOSTEMP ++ + /* Define to 1 if you have the `mmap' function. */ + #undef HAVE_MMAP + |