Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
slang
slang-2.2.2-fsuid.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File slang-2.2.2-fsuid.dif of Package slang
diff -urN slang-2.2.2.orig/autoconf/configure.ac slang-2.2.2/autoconf/configure.ac --- slang-2.2.2.orig/autoconf/configure.ac 2010-08-15 13:13:18.000000000 +0200 +++ slang-2.2.2/autoconf/configure.ac 2010-08-15 13:23:24.000000000 +0200 @@ -116,9 +116,18 @@ netinet/in.h \ arpa/inet.h \ sys/un.h \ +sys/fsuid.h \ sys/resource.h \ ) +AC_CHECK_FUNCS(setfsuid setfsgid) + +if test "${ac_cv_func_setfsuid}" != "yes" || test "${ac_cv_func_setfsgid}" != "yes"; then + AC_MSG_ERROR([ +*** setfsguid and setfsgid cannot be found!!! + These are needed to support setuid/setgid applications ***]) +fi + AC_TYPE_MODE_T AC_TYPE_PID_T AC_TYPE_UID_T diff -urN slang-2.2.2.orig/src/config.hin slang-2.2.2/src/config.hin --- slang-2.2.2.orig/src/config.hin 2009-12-05 20:03:51.000000000 +0100 +++ slang-2.2.2/src/config.hin 2010-08-15 13:25:31.000000000 +0200 @@ -179,6 +179,8 @@ #undef HAVE_SYS_UN_H #undef socklen_t +#undef HAVE_SYS_FSUID_H +#undef HAVE_SETFSUID #undef HAVE_CONFSTR #undef HAVE_SYSCONF #undef HAVE_PATHCONF diff -urN slang-2.2.2.orig/src/slinclud.h slang-2.2.2/src/slinclud.h --- slang-2.2.2.orig/src/slinclud.h 2009-12-05 20:03:51.000000000 +0100 +++ slang-2.2.2/src/slinclud.h 2010-08-15 13:24:28.000000000 +0200 @@ -30,4 +30,8 @@ # include <memory.h> #endif +#ifdef HAVE_SYS_FSUID_H +# include <sys/fsuid.h> +#endif + #endif /* _SLANG_INCLUDE_H_ */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor