diff options
Diffstat (limited to 'x11-wm/xfce4/files')
-rw-r--r-- | x11-wm/xfce4/files/patch-ag | 8 | ||||
-rw-r--r-- | x11-wm/xfce4/files/patch-aj | 37 | ||||
-rw-r--r-- | x11-wm/xfce4/files/patch-ak | 11 |
3 files changed, 15 insertions, 41 deletions
diff --git a/x11-wm/xfce4/files/patch-ag b/x11-wm/xfce4/files/patch-ag index ab2b757db7e2..46130dc9b8c6 100644 --- a/x11-wm/xfce4/files/patch-ag +++ b/x11-wm/xfce4/files/patch-ag @@ -1,11 +1,11 @@ ---- libs/configure.h.orig Tue Sep 5 02:26:09 2000 -+++ libs/configure.h Wed Feb 7 00:53:01 2001 +--- libs/configure.h.orig Sat Apr 14 04:55:30 2001 ++++ libs/configure.h Sun May 6 08:03:18 2001 @@ -22,7 +22,7 @@ #define CLOSE_STRING4 "quit" /* #ifdef __alpha */ --#if defined(__alpha) && !defined(linux) -+#if defined(__alpha) && !(defined(linux) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)) +-#if defined(__alpha) && !defined(linux) && !defined(__DECC) ++#if defined(__alpha) && !(defined(linux) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)) && !defined(__DECC) #define NEEDS_ALPHA_HEADER #undef BROKEN_SUN_HEADERS #endif /* (__alpha) */ diff --git a/x11-wm/xfce4/files/patch-aj b/x11-wm/xfce4/files/patch-aj deleted file mode 100644 index c1dedfccf4cf..000000000000 --- a/x11-wm/xfce4/files/patch-aj +++ /dev/null @@ -1,37 +0,0 @@ ---- xfwm/session.c.orig Wed Jan 31 04:50:16 2001 -+++ xfwm/session.c Tue Feb 6 04:56:10 2001 -@@ -566,8 +566,10 @@ - callback_save_yourself2 (SmcConn sm_conn, SmPointer client_data) - { - char *path = NULL; -- char *filename = NULL; -- FILE *f = NULL; -+ char *filename; -+ FILE *f; -+ int fd; -+ - Bool success = True; - struct passwd *pwd; - -@@ -578,16 +580,18 @@ - path = pwd->pw_dir; - } - -- filename = tempnam (path, ".fs-"); -+ sprintf (filename, "path/.fs-XXXXXXXX"); -+ fd = mkstemp (filename); - - if (Scr.Options & SessionMgt) - { -- f = fopen (filename, "w"); -+ f = fdopen (fd, "w"); - success = save_session_state (sm_conn, filename, f); - fclose (f); - } -- if (!success) -+ if (!success || fd < 0) - xfwm_msg (WARN, "SaveSession", "Can't save session\n"); -+ close (fd); - /* also save session for builtin session mgt, so user will get - * back to his environmnent even if he doesn't use ICE - */ diff --git a/x11-wm/xfce4/files/patch-ak b/x11-wm/xfce4/files/patch-ak new file mode 100644 index 000000000000..3591d0908c48 --- /dev/null +++ b/x11-wm/xfce4/files/patch-ak @@ -0,0 +1,11 @@ +--- xfce/setup.c.orig Sun May 6 08:51:24 2001 ++++ xfce/setup.c Sun May 6 08:51:34 2001 +@@ -132,7 +132,7 @@ + list = g_list_append(list, "xfce"); + + /* Try to find the location of gtk engines */ +- if ((pdata=popen("gtk-config --prefix","r")) != NULL ++ if ((pdata=popen("gtk12-config --prefix","r")) != NULL + && fgets(buffer, sizeof(buffer), pdata) != NULL) + { + char *path; |