public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Gwyn Ciesla <gwync@protonmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/freeimage] epel10: Libraw rebuild
Date: Tue, 17 Nov 2026 23:57:03 GMT	[thread overview]
Message-ID: <179495982344.1.11608533461389554840.rpms-freeimage-ccc7d51ecdcf@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/freeimage
Branch : epel10
Commit : ccc7d51ecdcf6443716fc39385b9ede53f20ebbf
Author : Gwyn Ciesla <gwync@protonmail.com>
Date   : 2020-05-11T15:40:55-05:00
Stats  : +62/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/freeimage/c/ccc7d51ecdcf6443716fc39385b9ede53f20ebbf?branch=epel10

Log:
Libraw rebuild

---
diff --git a/freeimage.spec b/freeimage.spec
index f4ad336..c76f99f 100644
--- a/freeimage.spec
+++ b/freeimage.spec
@@ -5,7 +5,7 @@
 
 Name:           freeimage
 Version:        3.18.0
-Release:        7%{?dist}
+Release:        8%{?dist}
 Summary:        Multi-format image decoder library
 
 # freeimage is tripple-licensed, see
@@ -23,6 +23,7 @@ Patch2:         FreeImage_bigendian.patch
 # Backport fixes for CVE-2019-12211 and 2019-12213
 # https://sourceforge.net/p/freeimage/svn/1825/tree//FreeImage/trunk/Source/FreeImage/PluginTIFF.cpp?diff=5a0ca8dd5a4a1f6b3942a079:1824
 Patch3:         CVE-2019-12211_2019-12213.patch
+Patch4:         substream.patch
 
 BuildRequires:  doxygen
 BuildRequires:  gcc-c++
@@ -146,6 +147,9 @@ ldconfig -n %{buildroot}%{_libdir}
 
 
 %changelog
+* Mon May 11 2020 Gwyn Ciesla <gwync@protonmail.com> - 3.18.0-8
+- Rebuild for new LibRaw
+
 * Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.18.0-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
 

diff --git a/substream.patch b/substream.patch
new file mode 100644
index 0000000..d14b4c8
--- /dev/null
+++ b/substream.patch
@@ -0,0 +1,57 @@
+--- a/Source/FreeImage/PluginRAW.cpp~	2020-05-08 08:27:31.000000000 -0500
++++ a/Source/FreeImage/PluginRAW.cpp	2020-05-08 08:47:09.011816310 -0500
+@@ -63,17 +63,17 @@
+ 	}
+ 
+     int read(void *buffer, size_t size, size_t count) { 
+-		if(substream) return substream->read(buffer, size, count);
++		//if(substream) return substream->read(buffer, size, count);
+ 		return _io->read_proc(buffer, (unsigned)size, (unsigned)count, _handle);
+ 	}
+ 
+     int seek(INT64 offset, int origin) { 
+-        if(substream) return substream->seek(offset, origin);
++        //if(substream) return substream->seek(offset, origin);
+ 		return _io->seek_proc(_handle, (long)offset, origin);
+ 	}
+ 
+     INT64 tell() { 
+-		if(substream) return substream->tell();
++		//if(substream) return substream->tell();
+         return _io->tell_proc(_handle);
+     }
+ 	
+@@ -83,13 +83,13 @@
+ 
+     int get_char() { 
+ 		int c = 0;
+-		if(substream) return substream->get_char();
++		//if(substream) return substream->get_char();
+ 		if(!_io->read_proc(&c, 1, 1, _handle)) return -1;
+ 		return c;
+    }
+ 	
+ 	char* gets(char *buffer, int length) { 
+-		if (substream) return substream->gets(buffer, length);
++		//if (substream) return substream->gets(buffer, length);
+ 		memset(buffer, 0, length);
+ 		for(int i = 0; i < length; i++) {
+ 			if(!_io->read_proc(&buffer[i], 1, 1, _handle))
+@@ -104,7 +104,7 @@
+ 		std::string buffer;
+ 		char element = 0;
+ 		bool bDone = false;
+-		if(substream) return substream->scanf_one(fmt,val);				
++		//if(substream) return substream->scanf_one(fmt,val);				
+ 		do {
+ 			if(_io->read_proc(&element, 1, 1, _handle) == 1) {
+ 				switch(element) {
+@@ -127,7 +127,7 @@
+ 	}
+ 
+ 	int eof() { 
+-		if(substream) return substream->eof();
++		//if(substream) return substream->eof();
+         return (_io->tell_proc(_handle) >= _eof);
+     }
+ 

             reply	other threads:[~2026-11-17 23:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-17 23:57 Gwyn Ciesla [this message]
2026-11-17 23:57 [rpms/freeimage] epel10: LibRaw rebuild Gwyn Ciesla
2026-11-17 23:57 Gwyn Ciesla
2026-11-17 23:57 [rpms/freeimage] epel10: Libraw rebuild Gwyn Ciesla

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=179495982344.1.11608533461389554840.rpms-freeimage-ccc7d51ecdcf@fedoraproject.org \
    --to=gwync@protonmail.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