```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
22 lines
1,009 B
Diff
22 lines
1,009 B
Diff
--- a/cinnamon-session/csm-session-fill.c 2012-02-02 15:33:01.000000000 +0100
|
|
+++ b/cinnamon-session/csm-session-fill.c 2012-06-10 02:39:46.184348462 +0200
|
|
@@ -36,7 +36,7 @@
|
|
#define CSM_KEYFILE_DEFAULT_PROVIDER_PREFIX "DefaultProvider"
|
|
|
|
/* See https://bugzilla.gnome.org/show_bug.cgi?id=641992 for discussion */
|
|
-#define CSM_RUNNABLE_HELPER_TIMEOUT 3000 /* ms */
|
|
+#define CSM_RUNNABLE_HELPER_TIMEOUT 10000 /* ms */
|
|
|
|
typedef void (*GsmFillHandleProvider) (const char *provides,
|
|
const char *default_provider,
|
|
--- a/tools/cinnamon-session-check-accelerated.c 2011-03-22 21:31:43.000000000 +0100
|
|
+++ b/tools/cinnamon-session-check-accelerated.c 2012-06-10 02:42:08.013218006 +0200
|
|
@@ -30,7 +30,7 @@
|
|
#include <X11/Xatom.h>
|
|
|
|
/* Wait up to this long for a running check to finish */
|
|
-#define PROPERTY_CHANGE_TIMEOUT 5000
|
|
+#define PROPERTY_CHANGE_TIMEOUT 12000
|
|
|
|
/* Values used for the _GNOME_SESSION_ACCELERATED root window property */
|
|
#define NO_ACCEL 0
|