You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-terms/aterm/files/aterm-1.0.1-dpy.patch

29 lines
848 B

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;