diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-21 02:56:46 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-21 02:56:46 +0800 |
commit | abd1042d5ae9324de8516776b4d7adf258c60516 (patch) | |
tree | 933be44842cdd364dcf6fe0dd310255b45949f41 /x11/gnome-screensaver/files | |
parent | 0b6c3e1d5644fa3faef7002483c80f94b9070d51 (diff) | |
download | marcuscom-ports-abd1042d5ae9324de8516776b4d7adf258c60516.tar marcuscom-ports-abd1042d5ae9324de8516776b4d7adf258c60516.tar.gz marcuscom-ports-abd1042d5ae9324de8516776b4d7adf258c60516.tar.bz2 marcuscom-ports-abd1042d5ae9324de8516776b4d7adf258c60516.tar.lz marcuscom-ports-abd1042d5ae9324de8516776b4d7adf258c60516.tar.xz marcuscom-ports-abd1042d5ae9324de8516776b4d7adf258c60516.tar.zst marcuscom-ports-abd1042d5ae9324de8516776b4d7adf258c60516.zip |
Update to 2.17.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7831 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gnome-screensaver/files')
-rw-r--r-- | x11/gnome-screensaver/files/patch-data_Makefile.in | 73 | ||||
-rw-r--r-- | x11/gnome-screensaver/files/patch-src_gs-auth-pam.c | 11 | ||||
-rw-r--r-- | x11/gnome-screensaver/files/patch-src_gs-job.c | 12 |
3 files changed, 96 insertions, 0 deletions
diff --git a/x11/gnome-screensaver/files/patch-data_Makefile.in b/x11/gnome-screensaver/files/patch-data_Makefile.in new file mode 100644 index 000000000..a474e9ef2 --- /dev/null +++ b/x11/gnome-screensaver/files/patch-data_Makefile.in @@ -0,0 +1,73 @@ +--- data/Makefile.in.orig Mon Nov 7 05:37:01 2005 ++++ data/Makefile.in Mon Nov 7 05:37:38 2005 +@@ -737,38 +737,38 @@ + @GCONF_SCHEMAS_INSTALL_FALSE@install-data-local: + + install-data-hook: +- @system=`uname`; \ +- if test -f /usr/include/security/pam_appl.h; then \ +- if test '!' -d $(DESTDIR)$(PAM_PREFIX)/pam.d; then \ +- $(mkinstalldirs) $(DESTDIR)$(PAM_PREFIX)/pam.d; \ +- chmod 755 $(DESTDIR)$(PAM_PREFIX)/pam.d; \ +- fi; \ +- if test $$system = Linux; then \ +- if test '!' -f $(DESTDIR)$(PAM_PREFIX)/pam.d/gnome-screensaver; then \ +- $(INSTALL_DATA) gnome-screensaver $(DESTDIR)$(PAM_PREFIX)/pam.d/gnome-screensaver; \ +- fi; \ +- if test "x$(PAM_PREFIX)" != "x/etc/pam.d"; then \ +- echo "***" ; \ +- echo "*** Warning: gnome-screensaver has been compiled with support for" ; \ +- echo "*** Pluggable Authentication Modules (PAM). However, you may need to" ; \ +- echo "*** manually install $(PAM_PREFIX)/pam.d/gnome-screensaver" ; \ +- echo "*** to /etc/pam.d/gnome-screensaver. Otherwise, unlocking might" ; \ +- echo "*** not work." ; \ +- echo "***" ; \ +- echo "*** Note: If you are using SuSE/Novell you may have to modify this file." ; \ +- echo "***" ; \ +- fi; \ +- fi; \ +- if test $$system = SunOS; then \ +- echo "***" ; \ +- echo "*** Warning: gnome-screensaver has been compiled with support for" ; \ +- echo "*** Pluggable Authentication Modules (PAM). However, you" ; \ +- echo "*** need to manually add authentication for gnome-screensaver in" ; \ +- echo "*** $(PAM_PREFIX)/pam.conf or /etc/pam.conf." ; \ +- echo "*** Otherwise, unlocking might not work." ; \ +- echo "***" ; \ +- fi; \ +- fi ++# @system=`uname`; \ ++# if test -f /usr/include/security/pam_appl.h; then \ ++# if test '!' -d $(DESTDIR)$(PAM_PREFIX)/pam.d; then \ ++# $(mkinstalldirs) $(DESTDIR)$(PAM_PREFIX)/pam.d; \ ++# chmod 755 $(DESTDIR)$(PAM_PREFIX)/pam.d; \ ++# fi; \ ++# if test $$system = Linux; then \ ++# if test '!' -f $(DESTDIR)$(PAM_PREFIX)/pam.d/gnome-screensaver; then \ ++# $(INSTALL_DATA) gnome-screensaver $(DESTDIR)$(PAM_PREFIX)/pam.d/gnome-screensaver; \ ++# fi; \ ++# if test "x$(PAM_PREFIX)" != "x/etc/pam.d"; then \ ++# echo "***" ; \ ++# echo "*** Warning: gnome-screensaver has been compiled with support for" ; \ ++# echo "*** Pluggable Authentication Modules (PAM). However, you may need to" ; \ ++# echo "*** manually install $(PAM_PREFIX)/pam.d/gnome-screensaver" ; \ ++# echo "*** to /etc/pam.d/gnome-screensaver. Otherwise, unlocking might" ; \ ++# echo "*** not work." ; \ ++# echo "***" ; \ ++# echo "*** Note: If you are using SuSE/Novell you may have to modify this file." ; \ ++# echo "***" ; \ ++# fi; \ ++# fi; \ ++# if test $$system = SunOS; then \ ++# echo "***" ; \ ++# echo "*** Warning: gnome-screensaver has been compiled with support for" ; \ ++# echo "*** Pluggable Authentication Modules (PAM). However, you" ; \ ++# echo "*** need to manually add authentication for gnome-screensaver in" ; \ ++# echo "*** $(PAM_PREFIX)/pam.conf or /etc/pam.conf." ; \ ++# echo "*** Otherwise, unlocking might not work." ; \ ++# echo "***" ; \ ++# fi; \ ++# fi + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: diff --git a/x11/gnome-screensaver/files/patch-src_gs-auth-pam.c b/x11/gnome-screensaver/files/patch-src_gs-auth-pam.c new file mode 100644 index 000000000..94d68b8f3 --- /dev/null +++ b/x11/gnome-screensaver/files/patch-src_gs-auth-pam.c @@ -0,0 +1,11 @@ +--- src/gs-auth-pam.c.orig Mon Aug 14 19:57:29 2006 ++++ src/gs-auth-pam.c Mon Aug 14 20:07:43 2006 +@@ -204,7 +204,7 @@ pam_conversation (int + if (res) { + reply [replies].resp_retcode = PAM_SUCCESS; + } else { +- reply [replies].resp_retcode = PAM_INCOMPLETE; ++ reply [replies].resp_retcode = PAM_TRY_AGAIN; + } + } + } diff --git a/x11/gnome-screensaver/files/patch-src_gs-job.c b/x11/gnome-screensaver/files/patch-src_gs-job.c new file mode 100644 index 000000000..39e303d27 --- /dev/null +++ b/x11/gnome-screensaver/files/patch-src_gs-job.c @@ -0,0 +1,12 @@ +--- src/gs-job.c.orig Wed Sep 7 09:23:59 2005 ++++ src/gs-job.c Mon Sep 12 13:24:11 2005 +@@ -29,7 +29,8 @@ + #include <sys/wait.h> + #include <errno.h> + +-#if defined(HAVE_SETPRIORITY) && defined(PRIO_PROCESS) ++#if defined(HAVE_SETPRIORITY) ++#include <sys/time.h> + #include <sys/resource.h> + #endif + |