Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 9be341b545 | |||
| bee3d4f6fd |
12
resample-compile-gcc14.patch
Normal file
12
resample-compile-gcc14.patch
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
Index: resample-1.8.1/src/sndlibextra.c
|
||||||
|
===================================================================
|
||||||
|
--- resample-1.8.1.orig/src/sndlibextra.c
|
||||||
|
+++ resample-1.8.1/src/sndlibextra.c
|
||||||
|
@@ -6,6 +6,7 @@
|
||||||
|
|
||||||
|
- John Gibson (jgg9c@virginia.edu)
|
||||||
|
*/
|
||||||
|
+#include <stdlib.h>
|
||||||
|
#include <assert.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include "sndlibextra.h"
|
||||||
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 3 08:15:36 UTC 2024 - Angel Yankov <angel.yankov@suse.com>
|
||||||
|
|
||||||
|
- Fix compiling with gcc14
|
||||||
|
* Add resample-compile-gcc14.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 23 11:51:50 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
Fri Feb 23 11:51:50 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package resample
|
# spec file for package resample
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@@ -20,12 +20,13 @@ Name: resample
|
|||||||
Version: 1.8.1
|
Version: 1.8.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Sampling-rate conversion program
|
Summary: Sampling-rate conversion program
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1-or-later
|
||||||
Group: Productivity/Multimedia/Video/Editors and Convertors
|
Group: Productivity/Multimedia/Video/Editors and Convertors
|
||||||
Url: http://www-ccrma.stanford.edu/~jos/resample
|
URL: http://www-ccrma.stanford.edu/~jos/resample
|
||||||
#Url2: https://ccrma.stanford.edu/~jos/resample/Free_Resampling_Software.html
|
#Url2: https://ccrma.stanford.edu/~jos/resample/Free_Resampling_Software.html
|
||||||
Source: http://ccrma.stanford.edu/~jos/gz/%name-%version.tar.gz
|
Source: http://ccrma.stanford.edu/~jos/gz/%name-%version.tar.gz
|
||||||
Patch0: resample-filename-length-fix.diff
|
Patch0: resample-filename-length-fix.diff
|
||||||
|
Patch1: resample-compile-gcc14.patch
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@@ -40,7 +41,10 @@ machines) to 44.1 kHz (the standard sampling rate for Compact Discs).
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
|
%check
|
||||||
|
%make_build check
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
@@ -48,7 +52,8 @@ chmod 0644 [A-Z]*
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README INSTALL AUTHORS COPYING ChangeLog NEWS
|
%doc README INSTALL AUTHORS ChangeLog NEWS
|
||||||
|
%license COPYING
|
||||||
%_bindir/*
|
%_bindir/*
|
||||||
%_mandir/man?/*
|
%_mandir/man?/*
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user