This commit is contained in:
parent
9c23b7dbef
commit
81e9ef725a
13
sffview-gcc43.diff
Normal file
13
sffview-gcc43.diff
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: sffview-0.4/sfffile.cpp
|
||||||
|
===================================================================
|
||||||
|
--- sffview-0.4.orig/sfffile.cpp
|
||||||
|
+++ sffview-0.4/sfffile.cpp
|
||||||
|
@@ -33,6 +33,8 @@
|
||||||
|
|
||||||
|
#include <vector>
|
||||||
|
#include <iostream>
|
||||||
|
+#include <cstdlib>
|
||||||
|
+#include <cstring>
|
||||||
|
|
||||||
|
#include "sfftypes.h"
|
||||||
|
#include "common.h"
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 11 14:37:11 CEST 2007 - kkeil@suse.de
|
||||||
|
|
||||||
|
- fixes for GCC 4.3
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 6 00:58:44 CET 2007 - kkeil@suse.de
|
Tue Mar 6 00:58:44 CET 2007 - kkeil@suse.de
|
||||||
|
|
||||||
|
11
sffview.spec
11
sffview.spec
@ -14,14 +14,15 @@ Name: sffview
|
|||||||
BuildRequires: SDL-devel boost-devel gcc-c++ libtiff-devel update-desktop-files wxGTK-devel xorg-x11
|
BuildRequires: SDL-devel boost-devel gcc-c++ libtiff-devel update-desktop-files wxGTK-devel xorg-x11
|
||||||
License: X11/MIT
|
License: X11/MIT
|
||||||
Group: Hardware/ISDN
|
Group: Hardware/ISDN
|
||||||
Autoreqprov: on
|
AutoReqProv: on
|
||||||
Version: 0.4
|
Version: 0.4
|
||||||
Release: 29
|
Release: 109
|
||||||
Summary: Simple viewer for Structured Fax Files (.sff) used by ISDN applications
|
Summary: Simple viewer for Structured Fax Files (.sff) used by ISDN applications
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
URL: http://sfftools.sourceforge.net/
|
Url: http://sfftools.sourceforge.net/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Patch0: %{name}-%{version}.diff
|
Patch0: %{name}-%{version}.diff
|
||||||
|
Patch1: %{name}-gcc43.diff
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The CAPI interface for programming ISDN hardware expects and gives you
|
The CAPI interface for programming ISDN hardware expects and gives you
|
||||||
@ -41,6 +42,7 @@ Authors:
|
|||||||
%prep
|
%prep
|
||||||
%setup
|
%setup
|
||||||
%patch -p1
|
%patch -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make
|
make
|
||||||
@ -58,8 +60,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
/usr/bin/sffview
|
/usr/bin/sffview
|
||||||
%doc %{_defaultdocdir}/sffview
|
%doc %{_defaultdocdir}/sffview
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 11 2007 - kkeil@suse.de
|
||||||
|
- fixes for GCC 4.3
|
||||||
* Tue Mar 06 2007 - kkeil@suse.de
|
* Tue Mar 06 2007 - kkeil@suse.de
|
||||||
- fix string type issue for gcc42
|
- fix string type issue for gcc42
|
||||||
* Mon Oct 30 2006 - kkeil@suse.de
|
* Mon Oct 30 2006 - kkeil@suse.de
|
||||||
|
Loading…
Reference in New Issue
Block a user