diff options
Diffstat (limited to 'x11-terms/aterm/files')
-rw-r--r-- | x11-terms/aterm/files/aterm-1.0.1-dpy.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/x11-terms/aterm/files/aterm-1.0.1-dpy.patch b/x11-terms/aterm/files/aterm-1.0.1-dpy.patch new file mode 100644 index 000000000000..fbe9800d2189 --- /dev/null +++ b/x11-terms/aterm/files/aterm-1.0.1-dpy.patch @@ -0,0 +1,28 @@ +Resolve build failure. Patch from Fedora. + +Bug: https://bugs.gentoo.org/615836 + +diff -up aterm-1.0.1/src/main.c.orig aterm-1.0.1/src/main.c +--- aterm-1.0.1/src/main.c.orig 2011-02-19 09:12:01.000000000 +0200 ++++ aterm-1.0.1/src/main.c 2011-02-19 09:25:02.000000000 +0200 +@@ -2087,10 +2087,10 @@ main(int argc, char *argv[]) + #endif + + ConnectX ( &Scr, 0 ); +- Xdisplay = dpy ; +- Xscreen = Scr.screen ; ++ Xscreen = Scr.screen ; + asv = Scr.asv ; + ++ Xdisplay = asv->dpy; + Xcmap = asv->colormap; + Xdepth = asv->visual_info.depth; + Xvisual = asv->visual_info.visual; +@@ -2125,7 +2125,6 @@ main(int argc, char *argv[]) + XdisplayHeight = DisplayHeight (Xdisplay, Xscreen); + + #ifdef HAVE_AFTERIMAGE +- dpy = Xdisplay ; + asv = create_asvisual (Xdisplay, Xscreen, Xdepth, NULL); + Xcmap = asv->colormap; + Xdepth = asv->visual_info.depth; |