103ab731ab
* runit is kept at -Np0 ```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 ```
24 lines
819 B
Diff
24 lines
819 B
Diff
# from gentoo: http://bugs.gentoo.org/attachment.cgi?id=209904
|
|
# 2010-01-15: Bug with proposed fix already upstream:
|
|
# http://sourceforge.net/tracker/?func=detail&aid=2889699&group_id=172357&atid=861428
|
|
|
|
--- a/src/rmd_getzpixmap.c 2008-12-13 17:04:10.000000000 +0100
|
|
+++ b/src/rmd_getzpixmap.c 2009-11-11 11:30:18.000000000 +0100
|
|
@@ -32,7 +32,7 @@
|
|
|
|
#include <X11/Xlib.h>
|
|
#include <X11/Xlibint.h>
|
|
-#include <X11/extensions/shmstr.h>
|
|
+#include <X11/extensions/shmproto.h>
|
|
#include <X11/extensions/XShm.h>
|
|
|
|
|
|
--- a/src/rmd_update_image.c 2008-12-13 17:20:49.000000000 +0100
|
|
+++ b/src/rmd_update_image.c 2009-11-11 11:30:34.000000000 +0100
|
|
@@ -32,7 +32,7 @@
|
|
#include "rmd_types.h"
|
|
|
|
#include <X11/Xlibint.h>
|
|
-#include <X11/extensions/shmstr.h>
|
|
+#include <X11/extensions/shmproto.h>
|
|
#include <X11/extensions/XShm.h>
|