Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 700838 | Differences between
and this patch

Collapse All | Expand All

(-)a/configure.ac (-1 / +1 lines)
Lines 159-165 dnl Checks for library functions. Link Here
159
AC_CHECK_FUNCS([backtrace geteuid getuid issetugid getresuid \
159
AC_CHECK_FUNCS([backtrace geteuid getuid issetugid getresuid \
160
	getdtablesize getifaddrs getpeereid getpeerucred getprogname getzoneid \
160
	getdtablesize getifaddrs getpeereid getpeerucred getprogname getzoneid \
161
	mmap posix_fallocate seteuid shmctl64 strncasecmp vasprintf vsnprintf \
161
	mmap posix_fallocate seteuid shmctl64 strncasecmp vasprintf vsnprintf \
162
	walkcontext setitimer poll epoll_create1 mkostemp memfd_create])
162
	walkcontext setitimer poll epoll_create1 mkostemp memfd_create isastream])
163
AC_CONFIG_LIBOBJ_DIR([os])
163
AC_CONFIG_LIBOBJ_DIR([os])
164
AC_REPLACE_FUNCS([reallocarray strcasecmp strcasestr strlcat strlcpy strndup\
164
AC_REPLACE_FUNCS([reallocarray strcasecmp strcasestr strlcat strlcpy strndup\
165
	timingsafe_memcmp])
165
	timingsafe_memcmp])
(-)a/hw/xfree86/os-support/shared/sigio.c (-2 / +2 lines)
Lines 208-214 xf86InstallSIGIOHandler(int fd, void (*f) (int, void *), void *closure) Link Here
208
                }
208
                }
209
            }
209
            }
210
#endif
210
#endif
211
#ifdef I_SETSIG                 /* System V Streams - used on Solaris for input devices */
211
#ifdef HAVE_ISASTREAM           /* System V Streams - used on Solaris for input devices */
212
            if (!installed && isastream(fd)) {
212
            if (!installed && isastream(fd)) {
213
                if (ioctl(fd, I_SETSIG, S_INPUT | S_ERROR | S_HANGUP) == -1) {
213
                if (ioctl(fd, I_SETSIG, S_INPUT | S_ERROR | S_HANGUP) == -1) {
214
                    xf86Msg(X_WARNING, "fcntl(%d, I_SETSIG): %s\n",
214
                    xf86Msg(X_WARNING, "fcntl(%d, I_SETSIG): %s\n",
Lines 279-285 xf86RemoveSIGIOHandler(int fd) Link Here
279
#ifdef O_ASYNC
279
#ifdef O_ASYNC
280
        fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) & ~O_ASYNC);
280
        fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) & ~O_ASYNC);
281
#endif
281
#endif
282
#ifdef I_SETSIG
282
#ifdef HAVE_ISASTREAM
283
        if (isastream(fd)) {
283
        if (isastream(fd)) {
284
            if (ioctl(fd, I_SETSIG, 0) == -1) {
284
            if (ioctl(fd, I_SETSIG, 0) == -1) {
285
                xf86Msg(X_WARNING, "fcntl(%d, I_SETSIG, 0): %s\n",
285
                xf86Msg(X_WARNING, "fcntl(%d, I_SETSIG, 0): %s\n",
(-)a/include/meson.build (-1 / +1 lines)
Lines 119-124 conf_data.set('HAVE_CBRT', cc.has_function('cbrt')) Link Here
119
conf_data.set('HAVE_EPOLL_CREATE1', cc.has_function('epoll_create1'))
119
conf_data.set('HAVE_EPOLL_CREATE1', cc.has_function('epoll_create1'))
120
conf_data.set('HAVE_GETUID', cc.has_function('getuid'))
120
conf_data.set('HAVE_GETUID', cc.has_function('getuid'))
121
conf_data.set('HAVE_GETEUID', cc.has_function('geteuid'))
121
conf_data.set('HAVE_GETEUID', cc.has_function('geteuid'))
122
conf_data.set('HAVE_ISASTREAM', cc.has_function('isastream'))
122
conf_data.set('HAVE_ISSETUGID', cc.has_function('issetugid'))
123
conf_data.set('HAVE_ISSETUGID', cc.has_function('issetugid'))
123
conf_data.set('HAVE_GETIFADDRS', cc.has_function('getifaddrs'))
124
conf_data.set('HAVE_GETIFADDRS', cc.has_function('getifaddrs'))
124
conf_data.set('HAVE_GETPEEREID', cc.has_function('getpeereid'))
125
conf_data.set('HAVE_GETPEEREID', cc.has_function('getpeereid'))
125
- 

Return to bug 700838