robert pushed to arj (el5). "- Fix missing prototype compiler warnings"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Apr 3 14:06:46 UTC 2015


>From 46a09fe4092152456a714bbb5f886b8c1a795067 Mon Sep 17 00:00:00 2001
From: Hans de Goede <jwrdegoede at fedoraproject.org>
Date: Mon, 31 Mar 2008 13:37:51 +0000
Subject: - Fix missing prototype compiler warnings


diff --git a/arj-3.10.22-missing-protos.patch b/arj-3.10.22-missing-protos.patch
new file mode 100644
index 0000000..90061e5
--- /dev/null
+++ b/arj-3.10.22-missing-protos.patch
@@ -0,0 +1,34 @@
+diff -up arj-3.10.22/environ.c~ arj-3.10.22/environ.c
+--- arj-3.10.22/environ.c~	2008-03-31 15:19:36.000000000 +0200
++++ arj-3.10.22/environ.c	2008-03-31 15:19:36.000000000 +0200
+@@ -12,6 +12,8 @@
+ #include <conio.h>
+ #include <io.h>
+ #include <process.h>
++#else
++#include <sys/wait.h>
+ #endif
+ 
+ #include <fcntl.h>
+diff -up arj-3.10.22/arjsfx.c~ arj-3.10.22/arjsfx.c
+--- arj-3.10.22/arjsfx.c~	2008-03-31 15:17:45.000000000 +0200
++++ arj-3.10.22/arjsfx.c	2008-03-31 15:17:45.000000000 +0200
+@@ -5,6 +5,7 @@
+  *
+  */
+ 
++#define _GNU_SOURCE
+ #include <stdio.h>
+ #include <signal.h>
+ 
+diff -up arj-3.10.22/arj.c~ arj-3.10.22/arj.c
+--- arj-3.10.22/arj.c~	2008-03-31 15:17:14.000000000 +0200
++++ arj-3.10.22/arj.c	2008-03-31 15:17:14.000000000 +0200
+@@ -5,6 +5,7 @@
+  *
+  */
+ 
++#define _GNU_SOURCE
+ #include <stdio.h>
+ #include <signal.h>
+ 
diff --git a/arj.spec b/arj.spec
index ad2d477..b981161 100644
--- a/arj.spec
+++ b/arj.spec
@@ -1,15 +1,16 @@
 Name:           arj
 Version:        3.10.22
-Release:        2%{?dist}
+Release:        4%{?dist}
 Summary:        Archiver for .arj files
 Group:          Applications/Archiving
 License:        GPL+
 URL:            http://arj.sourceforge.net/
-Source0:        http://dl.sf.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
+Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 # unarj.* from Debian.
 Source1:        unarj.sh
 Source2:        unarj.1
 Patch0:         http://ftp.debian.org/debian/pool/main/a/%{name}/%{name}_%{version}-2.diff.gz
+Patch1:         arj-3.10.22-missing-protos.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  autoconf
 Provides:       unarj = %{version}-%{release}
@@ -28,6 +29,7 @@ provided by ARJ Software, Inc.
 for i in debian/patches/00*.patch; do
   patch -p1 < $i
 done
+%patch1 -p1
 pushd gnu
   autoconf
 popd
@@ -67,7 +69,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
-* Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 3.10.22-2
+* Mon Mar 31 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 3.10.22-4
+- Fix missing prototype compiler warnings
+
+* Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 3.10.22-3
 - Autorebuild for GCC 4.3
 
 * Fri Aug  3 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 3.10.22-2
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/arj.git/commit/?h=el5&id=46a09fe4092152456a714bbb5f886b8c1a795067


More information about the scm-commits mailing list