pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pangoterm: fix build with newer libvterm.



Module Name:	pkgsrc-wip
Committed By:	coypu <coypu%sdf.org@localhost>
Pushed By:	coypu
Date:		Sun Mar 17 12:09:31 2019 +0200
Changeset:	061e1fadced656807d28d0a8d76e39a8940e0391

Modified Files:
	pangoterm/distinfo
	pangoterm/patches/patch-pangoterm.c

Log Message:
pangoterm: fix build with newer libvterm.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=061e1fadced656807d28d0a8d76e39a8940e0391

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 pangoterm/distinfo                  |  2 +-
 pangoterm/patches/patch-pangoterm.c | 13 +++++++++++--
 2 files changed, 12 insertions(+), 3 deletions(-)

diffs:
diff --git a/pangoterm/distinfo b/pangoterm/distinfo
index 31be7ee363..4adb78974d 100644
--- a/pangoterm/distinfo
+++ b/pangoterm/distinfo
@@ -5,4 +5,4 @@ RMD160 (pangoterm-0.0_pre20160305.tar.gz) = 2ebc9ccc2e9d1133eb0cea716639757a1436
 SHA512 (pangoterm-0.0_pre20160305.tar.gz) = 570c8fe1f7233884a849aa9b9160930b77682a9c3ef6f9c26891eb604c861e01a3ce13d418c8febc92e1cdb2794d5a1cf0097c27183395098c505540146f8467
 Size (pangoterm-0.0_pre20160305.tar.gz) = 22802 bytes
 SHA1 (patch-Makefile) = 76101dd2d5b46edffdf6ff0cc5b705c45c23fe96
-SHA1 (patch-pangoterm.c) = f7122ead69651ebe10ddda32dab1ad82f6f27680
+SHA1 (patch-pangoterm.c) = c99ee4b212646586f9cb32226cf2f34aa13026b0
diff --git a/pangoterm/patches/patch-pangoterm.c b/pangoterm/patches/patch-pangoterm.c
index 772cb4c2a0..4f705b6fff 100644
--- a/pangoterm/patches/patch-pangoterm.c
+++ b/pangoterm/patches/patch-pangoterm.c
@@ -1,10 +1,11 @@
 $NetBSD$
 
 Switch to default off chording.
+Fix build with newer libvterm
 
 --- pangoterm.c.orig	2016-03-05 14:25:19.000000000 +0000
 +++ pangoterm.c
-@@ -54,9 +54,9 @@ CONF_BOOL(doubleclick_fullword, 0, FALSE
+@@ -54,15 +54,15 @@ CONF_BOOL(doubleclick_fullword, 0, FALSE
  
  CONF_STRING(geometry, 0, "", "Initial window geometry", "GEOM");
  
@@ -16,4 +17,12 @@ Switch to default off chording.
 +CONF_BOOL(chord_shift_enter,     0, FALSE, "Shift-Enter chording");
  
  #define VTERM_COLOR_FROM_GDK_COLOR(c) \
-   ((VTermColor){ .red = (c).red / 257, .green = (c).green / 257, .blue = (c).blue / 257 })
+-  ((VTermColor){ .red = (c).red / 257, .green = (c).green / 257, .blue = (c).blue / 257 })
++  ((VTermColor){ .rgb.red = (c).red / 257, .rgb.green = (c).green / 257, .rgb.blue = (c).blue / 257 })
+ 
+ #define GDK_COLOR_FROM_VTERM_COLOR(c) \
+-  ((GdkColor){ .red = 257 * (c).red, .green = 257 * (c).green, .blue = 257 * (c).blue })
++  ((GdkColor){ .red = 257 * (c).rgb.red, .green = 257 * (c).rgb.green, .blue = 257 * (c).rgb.blue })
+ 
+ #ifdef DEBUG
+ # define DEBUG_PRINT_INPUT


Home | Main Index | Thread Index | Old Index