[zita-resampler/f13/master] * Wed Aug 04 2010 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.1.1-3 - Fix header incl
Orcan Ogetbil
oget at fedoraproject.org
Thu Aug 5 03:22:22 UTC 2010
commit 6e9d038b9eb53853ea4f37d74e2fceb0514daabf
Author: Orcan Ogetbil <oget.fedora at gmail.com>
Date: Wed Aug 4 23:22:14 2010 -0400
* Wed Aug 04 2010 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.1.1-3
- Fix header includes
zita-resampler-fix-include.patch | 22 ++++++++++++++++++++++
zita-resampler.spec | 9 ++++++++-
2 files changed, 30 insertions(+), 1 deletions(-)
---
diff --git a/zita-resampler-fix-include.patch b/zita-resampler-fix-include.patch
new file mode 100644
index 0000000..0a2a851
--- /dev/null
+++ b/zita-resampler-fix-include.patch
@@ -0,0 +1,22 @@
+diff -rupN zita-resampler-0.1.1.old/libs/zita-resampler.cc zita-resampler-0.1.1/libs/zita-resampler.cc
+--- zita-resampler-0.1.1.old/libs/zita-resampler.cc 2009-11-14 11:04:21.000000000 -0500
++++ zita-resampler-0.1.1/libs/zita-resampler.cc 2010-08-04 22:11:52.000000000 -0400
+@@ -19,7 +19,6 @@
+ //---------------------------------------------------------------------------------
+
+
+-#include <stdlib.h>
+ #include <stdio.h>
+ #include <string.h>
+ #include <math.h>
+diff -rupN zita-resampler-0.1.1.old/libs/zita-resampler.h zita-resampler-0.1.1/libs/zita-resampler.h
+--- zita-resampler-0.1.1.old/libs/zita-resampler.h 2009-08-13 11:20:20.000000000 -0400
++++ zita-resampler-0.1.1/libs/zita-resampler.h 2010-08-04 22:12:15.000000000 -0400
+@@ -23,6 +23,7 @@
+ #define __RESAMPLER_H
+
+
++#include <stdlib.h>
+ #include <pthread.h>
+
+
diff --git a/zita-resampler.spec b/zita-resampler.spec
index c84cdf2..39b00cf 100644
--- a/zita-resampler.spec
+++ b/zita-resampler.spec
@@ -1,11 +1,14 @@
Summary: Fast, high-quality sample rate conversion library
Name: zita-resampler
Version: 0.1.1
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPLv2+
Group: System Environment/Libraries
URL: http://www.kokkinizita.net/linuxaudio/zita-resampler/resampler.html
Source0: http://www.kokkinizita.net/linuxaudio/downloads/zita-resampler-%{version}.tar.bz2
+# abort() in undefined in the header file unless we #include <stdlib.h>
+# Patch sent upstream via email as there is no bug tracker
+Patch0: zita-resampler-fix-include.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libsndfile-devel
@@ -34,6 +37,7 @@ This package contains the headers and development libraries for %{name}.
%prep
%setup -q
+%patch0 -p1 -b .fix.include
# To make sure to have the correct Fedora specific flags:
sed -i 's|-O2|%{optflags} -I../libs|' libs/Makefile
@@ -76,6 +80,9 @@ rm -rf %{buildroot}
%{_libdir}/lib%{name}.so
%changelog
+* Wed Aug 04 2010 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.1.1-3
+- Fix header includes
+
* Sat Apr 10 2010 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.1.1-2
- Fix libdir on non-*x86* systems
More information about the scm-commits
mailing list