diff options
author | wiz <wiz> | 2010-06-13 22:43:46 +0000 |
---|---|---|
committer | wiz <wiz> | 2010-06-13 22:43:46 +0000 |
commit | c3512e82cfd1ef757581484eb740c7cd398411b9 (patch) | |
tree | 4a9b97c2969a25f1eeb6596ee96fc25429cef7d5 /ham/fldigi/patches | |
parent | e9a8c2a53822e7578f98d3ebcd4e60f3d153b02a (diff) | |
download | pkgsrc-c3512e82cfd1ef757581484eb740c7cd398411b9.tar.gz |
Bump PKGREVISION for libpng shlib name change.
Also add some patches to remove use of deprecated symbols and fix other
problems when looking for or compiling against libpng-1.4.x.
Diffstat (limited to 'ham/fldigi/patches')
-rw-r--r-- | ham/fldigi/patches/patch-ab | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/ham/fldigi/patches/patch-ab b/ham/fldigi/patches/patch-ab index 7a317986e19..42395360a10 100644 --- a/ham/fldigi/patches/patch-ab +++ b/ham/fldigi/patches/patch-ab @@ -1,7 +1,7 @@ -$NetBSD: patch-ab,v 1.1.1.1 2008/10/23 08:07:09 wulf Exp $ +$NetBSD: patch-ab,v 1.2 2010/06/13 22:44:47 wiz Exp $ ---- src/widgets/picture.cxx.orig 2008-10-23 15:59:18.000000000 +1030 -+++ src/widgets/picture.cxx 2008-10-23 15:54:17.000000000 +1030 +--- src/widgets/picture.cxx.orig 2008-09-14 13:26:15.000000000 +0000 ++++ src/widgets/picture.cxx @@ -31,8 +31,10 @@ #include <FL/fl_ask.H> @@ -13,3 +13,12 @@ $NetBSD: patch-ab,v 1.1.1.1 2008/10/23 08:07:09 wulf Exp $ #endif #if USE_LIBPNG # include <png.h> +@@ -317,7 +319,7 @@ int picture::save_png(const char* filena + return -1; + } + if ((info = png_create_info_struct(png)) == NULL) { +- png_destroy_write_struct(&png, png_infopp_NULL); ++ png_destroy_write_struct(&png, NULL); + fclose(fp); + return -1; + } |