public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jon Ciesla <limburgher@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/grace] epel10: zlib, libpng fixes.
Date: Sat, 17 Oct 2026 16:17:49 GMT	[thread overview]
Message-ID: <179225386974.1.52069327328511041.rpms-grace-f4280dc0a6ef@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/grace
Branch : epel10
Commit : f4280dc0a6ef20c2abf6db4b5afb142d86ebca36
Author : Jon Ciesla <limburgher@gmail.com>
Date   : 2012-08-01T11:27:53-05:00
Stats  : +27/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/grace/c/f4280dc0a6ef20c2abf6db4b5afb142d86ebca36?branch=epel10

Log:
zlib, libpng fixes.

---
diff --git a/grace-zlib-libpng.patch b/grace-zlib-libpng.patch
new file mode 100644
index 0000000..33862b5
--- /dev/null
+++ b/grace-zlib-libpng.patch
@@ -0,0 +1,20 @@
+diff -Naur grace-5.1.22.orig/src/rstdrv.c grace-5.1.22/src/rstdrv.c
+--- grace-5.1.22.orig/src/rstdrv.c	2004-07-03 16:47:46.000000000 -0400
++++ grace-5.1.22/src/rstdrv.c	2012-07-26 17:17:53.081271670 -0400
+@@ -54,6 +54,7 @@
+ 
+ #ifdef HAVE_LIBPNG
+ #  include <png.h>
++#  include <zlib.h>
+ #endif
+ 
+ #ifndef NONE_GUI
+@@ -885,7 +886,7 @@
+         return;
+     }
+ 
+-    if (setjmp(png_ptr->jmpbuf)) {
++    if (setjmp(png_jmpbuf(png_ptr))) {
+         png_destroy_write_struct(&png_ptr, &info_ptr);
+         return;
+     }

diff --git a/grace.spec b/grace.spec
index 96444e2..0d779c2 100644
--- a/grace.spec
+++ b/grace.spec
@@ -3,7 +3,7 @@
 
 Name:           grace
 Version:        5.1.22
-Release:        13%{?dist}
+Release:        14%{?dist}
 Summary:        Numerical Data Processing and Visualization Tool
 
 License:        GPLv2+
@@ -17,6 +17,7 @@ Source4:        LICENSE.cephes
 Patch0:         %{name}-gracerc-no_auxiliary.diff
 Patch1:         %{name}-detect-netcdf.diff
 Patch2:         http://ftp.de.debian.org/debian/pool/main/g/grace/grace_5.1.22-1.diff.gz
+Patch3:         grace-zlib-libpng.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Group:          Applications/Engineering
 
@@ -67,6 +68,8 @@ Install these files if you need to compile software that requires grace.
 %patch2 -p1
 patch -p1 < debian/patches/tmpnam_to_mkstemp.diff
 
+%patch3 -p1 -b .zlib-libpng
+
 # remove stripping option to have meaningfull debuginfo packages
 sed -i -e 's/^\(.*INSTALL_PROGRAM.*\) -s /\1 /' */Makefile
 rm -rf Xbae T1lib
@@ -227,6 +230,9 @@ fi
 
 
 %changelog
+* Wed Aug 01 2012 Jon Ciesla <limburgher@gmail.com> - 5.1.22-14
+- Tom Lane's zlib, libpng15 fixes, BZ 843647.
+
 * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.22-13
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 

                 reply	other threads:[~2026-10-17 16:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179225386974.1.52069327328511041.rpms-grace-f4280dc0a6ef@fedoraproject.org \
    --to=limburgher@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox