Jan Engelhardt 2017-07-11 22:25:20 +00:00 committed by Git OBS Bridge
parent 850190d1e9
commit cd8170860d
7 changed files with 12 additions and 37 deletions

View File

@ -1,31 +0,0 @@
From 230f7d56284a703c65c4fecf7e6f23b791043f81 Mon Sep 17 00:00:00 2001
From: Zero King <l2dy@macports.org>
Date: Sun, 30 Apr 2017 11:01:13 +0100
Subject: [PATCH] Fix thinko introduced in 8833634f4.
This prevented compilation with Gtk 2.
---
unix/gtkwin.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/unix/gtkwin.c b/unix/gtkwin.c
index 69e33509..bca6daa4 100644
--- a/unix/gtkwin.c
+++ b/unix/gtkwin.c
@@ -2188,11 +2188,11 @@ void set_gtk_widget_background(GtkWidget *widget, const GdkColor *col)
free(data);
free(col_css);
#else
- if (gtk_widget_get_window(win)) {
+ if (gtk_widget_get_window(widget)) {
/* For GTK1, which doesn't have a 'const' on
* gdk_window_set_background's second parameter type. */
GdkColor col_mutable = *col;
- gdk_window_set_background(gtk_widget_get_window(win), &col_mutable);
+ gdk_window_set_background(gtk_widget_get_window(widget), &col_mutable);
}
#endif
}
--
2.12.2

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b7dad241ff01b0cbb9dc4c1471ec7cacf8f08d98a581aeb2f336da3c0eb96ad1
size 2122306

Binary file not shown.

3
putty-0.70.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bb8aa49d6e96c5a8e18a057f3150a1695ed99a24eef699e783651d1f24e7b0be
size 2386108

BIN
putty-0.70.tar.gz.gpg Normal file

Binary file not shown.

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Jul 11 22:22:08 UTC 2017 - jengelh@inai.de
- Update to new upstream release 0.70
* Update Unicode data to version 9
- Remove gtk-buildfix.diff (merged upstream)
-------------------------------------------------------------------
Tue May 2 13:07:52 UTC 2017 - bwiedemann@suse.com

View File

@ -17,7 +17,7 @@
Name: putty
Version: 0.69
Version: 0.70
Release: 0
Summary: GTK-based terminal emulator program
License: MIT
@ -30,7 +30,6 @@ Source: http://the.earth.li/~sgtatham/putty/latest/%name-%version.tar.gz
Source2: http://the.earth.li/~sgtatham/putty/latest/%name-%version.tar.gz.gpg
Source4: %name.keyring
Patch1: putty-03-config.diff
Patch2: gtk-buildfix.diff
Patch3: reproducible.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ImageMagick
@ -46,7 +45,7 @@ serial console client.
%prep
%setup -q
%patch -P 1 -P 2 -P 3 -p1
%patch -P 1 -P 3 -p1
%build
%configure