- added patch to compile with gcc43
This commit is contained in:
parent
59c6bcad44
commit
a88c3a826b
11
libcdio-0.79-gcc43.patch
Normal file
11
libcdio-0.79-gcc43.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
diff -ur libcdio-0.79/include/cdio++/iso9660.hpp libcdio-0.79.new/include/cdio++/iso9660.hpp
|
||||||
|
--- libcdio-0.79/include/cdio++/iso9660.hpp 2006-03-07 22:04:01.000000000 +0100
|
||||||
|
+++ libcdio-0.79.new/include/cdio++/iso9660.hpp 2008-02-14 14:53:36.000000000 +0100
|
||||||
|
@@ -31,6 +31,7 @@
|
||||||
|
#include <cdio++/cdio.hpp>
|
||||||
|
#include <string.h>
|
||||||
|
#include <vector> // vector class library
|
||||||
|
+#include <cstdlib>
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
/** ISO 9660 class.
|
13
libcdio.spec
13
libcdio.spec
@ -1,6 +1,6 @@
|
|||||||
Name: libcdio
|
Name: libcdio
|
||||||
Version: 0.79
|
Version: 0.79
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: CD-ROM input and control library
|
Summary: CD-ROM input and control library
|
||||||
|
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
@ -10,9 +10,8 @@ Source0: http://ftp.gnu.org/gnu/libcdio/libcdio-0.79.tar.gz
|
|||||||
Source1: http://ftp.gnu.org/gnu/libcdio/libcdio-0.79.tar.gz.sig
|
Source1: http://ftp.gnu.org/gnu/libcdio/libcdio-0.79.tar.gz.sig
|
||||||
Source2: libcdio-no_date_footer.hml
|
Source2: libcdio-no_date_footer.hml
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
Patch: libcdio-info-buffer.patch
|
Patch0: libcdio-info-buffer.patch
|
||||||
|
Patch1: libcdio-0.79-gcc43.patch
|
||||||
#BuildRequires: libcddb-devel >= 0.9.4
|
|
||||||
BuildRequires: pkgconfig doxygen
|
BuildRequires: pkgconfig doxygen
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
Requires(post): /sbin/ldconfig
|
Requires(post): /sbin/ldconfig
|
||||||
@ -36,7 +35,8 @@ This package contains header files and static libraries for %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch -p3
|
%patch0 -p3
|
||||||
|
%patch1 -p1
|
||||||
f=src/cd-paranoia/doc/ja/cd-paranoia.1.in
|
f=src/cd-paranoia/doc/ja/cd-paranoia.1.in
|
||||||
iconv -f euc-jp -t utf-8 -o $f.utf8 $f && mv $f.utf8 $f
|
iconv -f euc-jp -t utf-8 -o $f.utf8 $f && mv $f.utf8 $f
|
||||||
|
|
||||||
@ -113,6 +113,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 14 2008 Adrian Reber <adrian@lisas.de> - 0.79-3
|
||||||
|
- added patch to compile with gcc43
|
||||||
|
|
||||||
* Fri Jan 04 2008 Adrian Reber <adrian@lisas.de> - 0.79-2
|
* Fri Jan 04 2008 Adrian Reber <adrian@lisas.de> - 0.79-2
|
||||||
- fixed security fix (was off by two)
|
- fixed security fix (was off by two)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user