From: Danny Milosavljevic Date: Thu, 2 Apr 2022 12:10:00 +0200 Subject: Make xterm use libxcursor directly Fixes . This patch makes xterm use libxcursor directly. Without it, libx11 would try to dlopen("libXcursor.so.1") and fail. --- xterm-370/misc.c.orig 2022-04-02 11:52:26.225131854 +0200 +++ xterm-370/misc.c 2022-04-02 12:06:13.091482385 +0200 @@ -79,6 +79,9 @@ #ifdef HAVE_LIBXPM #include #endif +#ifdef HAVE_LIB_XCURSOR +#include +#endif #ifdef HAVE_LANGINFO_CODESET #include @@ -866,7 +869,14 @@ * 0, 2 a shape, 3 a mask for 2, etc. * contains defined names for each shape. */ - c = XCreateGlyphCursor(dpy, + c = XcursorTryShapeCursor(dpy, + myFont.fs->fid, /* source_font */ + myFont.fs->fid, /* mask_font */ + c_index + 0, /* source_char */ + c_index + 1, /* mask_char */ + &foreground, + &background); + if (c == None) c = XCreateGlyphCursor(dpy, myFont.fs->fid, /* source_font */ myFont.fs->fid, /* mask_font */ c_index + 0, /* source_char */ environment-gdb.scm'>logtreecommitdiff
blob: 9517200ffdbcaf26324b3dc986e562d35a7a82ca (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
(use-modules (guix)
             (gnu packages gdb)
             (gnu packages autotools)
             (gnu packages texinfo))

;; Augment the package definition of GDB with the build tools
;; needed when developing GDB (and which are not needed when
;; simply installing it.)
(package
  (inherit gdb)
  (native-inputs (modify-inputs (package-native-inputs gdb)
                   (prepend autoconf-2.69 automake texinfo))))