[BACK]Return to patch-we__xterm.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / editors / xwpe / patches

File: [cvs.NetBSD.org] / pkgsrc / editors / xwpe / patches / patch-we__xterm.c (download)

Revision 1.1, Thu Dec 8 08:51:56 2022 UTC (16 months, 1 week ago) by vins
Branch: MAIN
CVS Tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, HEAD

editors/xwpe: update to xwpe-1.5.30a.

# Changes (upstream)

1.5.30a
* Some additional comments
* Fedora compile fix

# Local Changes

* Fixed a couple of compile-time warnings.
* Fixed bug in error handling.
* Fixed a typo in header causing linker error on Linux.
* Honor package's own LIBS definition, while still passing LDFLAGS to
  properly set the runtime library path for X11 libs.
* Add missing LICENSE.
* Specify missing dependencies to allow the package to link against
  libICE/libSM.
* Add a post-install target to install .desktop file (borrowed from
  from AUR) and relevant pixmap (taken from the official site).
* Taking maintainership.

$NetBSD: patch-we__xterm.c,v 1.1 2022/12/08 08:51:56 vins Exp $

Fix warning about incompatible pointer type.

--- we_xterm.c.orig	2005-07-07 01:53:09.000000000 +0000
+++ we_xterm.c
@@ -95,7 +95,7 @@ int WpeDllInit(int *argc, char **argv)
  e_u_ini_size = e_ini_size;
  e_u_setlastpic = e_setlastpic;
  WpeMouseChangeShape = (void (*)(WpeMouseShape))WpeNullFunction;
- WpeMouseRestoreShape = (void (*)(WpeMouseShape))WpeNullFunction;
+ WpeMouseRestoreShape = WpeNullFunction;
 /* WpeMouseChangeShape = WpeXMouseChangeShape;
  WpeMouseRestoreShape = WpeXMouseRestoreShape;*/
  WpeDisplayEnd = WpeNullFunction;