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/xorg-vfbserver | |
parent | fe62e6c2dfffcffbb6dcd693504a1f8f44600597 (diff) | |
download | ports-86dbaa26e4956740992f361e8ed5175889903cb2.tar.gz ports-86dbaa26e4956740992f361e8ed5175889903cb2.zip |
Notes
Diffstat (limited to 'x11-servers/xorg-vfbserver')
-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 |
3 files changed, 36 insertions, 0 deletions
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 + |