diff --git a/srcpkgs/putty/patches/fix-build.patch b/srcpkgs/putty/patches/fix-build.patch new file mode 100644 index 00000000000..4cfd85a2aa1 --- /dev/null +++ b/srcpkgs/putty/patches/fix-build.patch @@ -0,0 +1,16 @@ +--- unix/gtkwin.c.orig 2017-04-24 13:52:45.000000000 +0000 ++++ unix/gtkwin.c 2017-04-30 22:43:56.901428607 +0000 +@@ -2188,11 +2188,11 @@ + 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 + } diff --git a/srcpkgs/putty/template b/srcpkgs/putty/template index b2e6407830a..cc26cf1598e 100644 --- a/srcpkgs/putty/template +++ b/srcpkgs/putty/template @@ -1,6 +1,6 @@ # Template file for 'putty' pkgname=putty -version=0.68 +version=0.69 revision=1 build_style=gnu-configure hostmakedepends="pkg-config" @@ -10,7 +10,7 @@ maintainer="Juan RP " license="MIT" homepage="http://www.chiark.greenend.org.uk/~sgtatham/putty/" distfiles="http://the.earth.li/~sgtatham/putty/latest/putty-${version}.tar.gz" -checksum=7ba256f46e5a353cafe811ce7914d0e22a52bdfc0e6e2d183ad28b5af44cd09c +checksum=b7dad241ff01b0cbb9dc4c1471ec7cacf8f08d98a581aeb2f336da3c0eb96ad1 CFLAGS="-Wno-error"