public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Ian Burrell <iburrell@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/jigdo] epel10.2: Add patch for gcc 4.3 support
Date: Fri, 21 Aug 2026 18:59:22 GMT	[thread overview]
Message-ID: <178733876299.1.1497670373478903880.rpms-jigdo-27c01e27168b@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/jigdo
Branch : epel10.2
Commit : 27c01e27168b62157e98c7ffad1aa0b4aad405e9
Author : Ian Burrell <iburrell@fedoraproject.org>
Date   : 2008-03-13T02:36:34+00:00
Stats  : +86/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/jigdo/c/27c01e27168b62157e98c7ffad1aa0b4aad405e9?branch=epel10.2

Log:
Add patch for gcc 4.3 support

---
diff --git a/jigdo-0.7.3-gcc43.patch b/jigdo-0.7.3-gcc43.patch
new file mode 100644
index 0000000..07356f0
--- /dev/null
+++ b/jigdo-0.7.3-gcc43.patch
@@ -0,0 +1,80 @@
+diff -ur jigdo-0.7.3.orig/src/compat.hh jigdo-0.7.3/src/compat.hh
+--- jigdo-0.7.3.orig/src/compat.hh	2005-07-02 10:21:35.000000000 -0700
++++ jigdo-0.7.3/src/compat.hh	2008-03-11 23:01:45.000000000 -0700
+@@ -20,6 +20,7 @@
+ 
+ #include <string>
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <unistd-jigdo.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
+diff -ur jigdo-0.7.3.orig/src/gtk/gtk-single-url.cc jigdo-0.7.3/src/gtk/gtk-single-url.cc
+--- jigdo-0.7.3.orig/src/gtk/gtk-single-url.cc	2005-10-15 14:27:39.000000000 -0700
++++ jigdo-0.7.3/src/gtk/gtk-single-url.cc	2008-03-11 23:05:48.000000000 -0700
+@@ -15,6 +15,7 @@
+ 
+ #include <time.h>
+ #include <errno.h>
++#include <string.h>
+ 
+ #include <autoptr.hh>
+ #include <gtk-single-url.hh>
+diff -ur jigdo-0.7.3.orig/src/gtk/jigdo.cc jigdo-0.7.3/src/gtk/jigdo.cc
+--- jigdo-0.7.3.orig/src/gtk/jigdo.cc	2005-07-09 15:21:04.000000000 -0700
++++ jigdo-0.7.3/src/gtk/jigdo.cc	2008-03-11 23:06:26.000000000 -0700
+@@ -16,6 +16,8 @@
+ #  include <unistd-jigdo.h>
+ #endif
+ 
++#include <string.h>
++
+ #include <iostream>
+ #include <string>
+ #include <vector>
+diff -ur jigdo-0.7.3.orig/src/recursedir.cc jigdo-0.7.3/src/recursedir.cc
+--- jigdo-0.7.3.orig/src/recursedir.cc	2006-05-14 11:23:31.000000000 -0700
++++ jigdo-0.7.3/src/recursedir.cc	2008-03-11 23:04:21.000000000 -0700
+@@ -32,6 +32,7 @@
+ #include <recursedir.hh>
+ 
+ #include <iostream>
++#include <string.h>
+ #include <errno.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
+diff -ur jigdo-0.7.3.orig/src/util/configfile.cc jigdo-0.7.3/src/util/configfile.cc
+--- jigdo-0.7.3.orig/src/util/configfile.cc	2003-09-27 14:31:04.000000000 -0700
++++ jigdo-0.7.3/src/util/configfile.cc	2008-03-11 23:05:00.000000000 -0700
+@@ -19,6 +19,8 @@
+ #include <iostream>
+ #include <fstream>
+ 
++#include <string.h>
++
+ #include <configfile.hh>
+ #include <string.hh>
+ //______________________________________________________________________
+diff -ur jigdo-0.7.3.orig/src/util/md5sum.hh jigdo-0.7.3/src/util/md5sum.hh
+--- jigdo-0.7.3.orig/src/util/md5sum.hh	2005-04-09 16:09:52.000000000 -0700
++++ jigdo-0.7.3/src/util/md5sum.hh	2008-03-11 23:07:04.000000000 -0700
+@@ -28,6 +28,8 @@
+ 
+ #include <config.h>
+ 
++#include <string.h>
++
+ #include <cstdlib>
+ #include <iosfwd>
+ #include <string>
+diff -ur jigdo-0.7.3.orig/src/util/string-utf.cc jigdo-0.7.3/src/util/string-utf.cc
+--- jigdo-0.7.3.orig/src/util/string-utf.cc	2004-09-11 16:26:30.000000000 -0700
++++ jigdo-0.7.3/src/util/string-utf.cc	2008-03-11 23:07:43.000000000 -0700
+@@ -15,6 +15,7 @@
+ #include <glib.h>
+ #include <stdarg.h>
+ #include <stdio.h>
++#include <string.h>
+ 
+ #include <debug.hh>
+ #include <string-utf.hh>

diff --git a/jigdo.spec b/jigdo.spec
index 8c430be..299082f 100644
--- a/jigdo.spec
+++ b/jigdo.spec
@@ -1,6 +1,6 @@
 Name:		jigdo
 Version:	0.7.3
-Release:	5%{?dist}
+Release:	6%{?dist}
 Summary:	Ease distribution of large files over the Internet
 
 Group:		Applications/Internet
@@ -9,6 +9,7 @@ URL:		http://atterer.net/jigdo/
 Source0:	http://atterer.net/jigdo/%{name}-%{version}.tar.bz2
 Source1:    jigdo.desktop
 Patch1:		jigdo-0.7.1-debug.patch
+Patch2:     jigdo-0.7.3-gcc43.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	db4-devel, bzip2-devel, curl-devel, /bin/awk, gettext
 BuildRequires:	desktop-file-utils, gtk2-devel >= 0:2.0.6
@@ -28,6 +29,7 @@ file very easy for users who only have the pieces.
 %prep
 %setup -q
 %patch1 -p1 -b .debug
+%patch2 -p1 -b .gcc43
 
 %build
 %configure
@@ -65,6 +67,9 @@ rm -rf $RPM_BUILD_ROOT
 %attr(0644,root,root) %{_mandir}/man[^3]/*
 
 %changelog
+* Tue Mar 11 2008 Ian Burrell <ianburrell@gmail.com> - 0.7.3-6
+- Add patch for gcc 4.3 support
+
 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.7.3-5
 - Autorebuild for GCC 4.3
 

                 reply	other threads:[~2026-08-21 18:59 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=178733876299.1.1497670373478903880.rpms-jigdo-27c01e27168b@fedoraproject.org \
    --to=iburrell@fedoraproject.org \
    --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