diff options
author | 2011-09-14 16:01:26 +0000 | |
---|---|---|
committer | 2011-09-14 16:01:26 +0000 | |
commit | c18efec73bea6f6c8f650cef7ef2118cf36bebca (patch) | |
tree | 2781e8189afd3e21edcc38dcc5c48f376ce65a9d /sci-libs/pgplot/files | |
parent | Stable for HPPA (bug #369573). (diff) | |
download | gentoo-2-c18efec73bea6f6c8f650cef7ef2118cf36bebca.tar.gz gentoo-2-c18efec73bea6f6c8f650cef7ef2118cf36bebca.tar.bz2 gentoo-2-c18efec73bea6f6c8f650cef7ef2118cf36bebca.zip |
Fix building with libpng15 wrt #378189 by Diego Elio Pettenò
(Portage version: 2.2.0_alpha55/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/pgplot/files')
-rw-r--r-- | sci-libs/pgplot/files/pgplot-libpng15.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sci-libs/pgplot/files/pgplot-libpng15.patch b/sci-libs/pgplot/files/pgplot-libpng15.patch new file mode 100644 index 000000000000..b1064cb4da12 --- /dev/null +++ b/sci-libs/pgplot/files/pgplot-libpng15.patch @@ -0,0 +1,11 @@ +--- drivers/pndriv.c ++++ drivers/pndriv.c +@@ -222,7 +222,7 @@ + return; + } + +- if (setjmp(png_ptr->jmpbuf)) { /* not really sure what I'm doing here... */ ++ if (setjmp(png_jmpbuf(png_ptr))) { + fprintf(stderr,"%s: error in libpng while writing file %s, plotting disabled\n", png_ident, filename); + png_destroy_write_struct(&png_ptr,&info_ptr); + dev->error = true; |