SHA256
1
0
forked from pool/dssi

4 Commits

4 changed files with 54 additions and 7 deletions

22
dssi-C99.diff Normal file
View File

@@ -0,0 +1,22 @@
Index: dssi-1.1.1/jack-dssi-host/jack-dssi-host.c
===================================================================
--- dssi-1.1.1.orig/jack-dssi-host/jack-dssi-host.c
+++ dssi-1.1.1/jack-dssi-host/jack-dssi-host.c
@@ -119,7 +119,7 @@ LADSPA_Data get_port_default(const LADSP
void osc_error(int num, const char *m, const char *path);
int osc_message_handler(const char *path, const char *types, lo_arg **argv, int
- argc, void *data, void *user_data) ;
+ argc, lo_message data, void *user_data) ;
int osc_debug_handler(const char *path, const char *types, lo_arg **argv, int
argc, void *data, void *user_data) ;
@@ -1921,7 +1921,7 @@ int osc_debug_handler(const char *path,
}
int osc_message_handler(const char *path, const char *types, lo_arg **argv,
- int argc, void *data, void *user_data)
+ int argc, lo_message data, void *user_data)
{
int i;
d3h_instance_t *instance = NULL;

View File

@@ -0,0 +1,10 @@
--- a/dssi/dssi.h 2009-01-09 23:41:41.000000000 +0100
+++ b/dssi/dssi.h 2024-12-28 14:45:17.639348744 +0100
@@ -24,6 +24,7 @@
#ifndef DSSI_INCLUDED
#define DSSI_INCLUDED
+#include <stddef.h>
#include <ladspa.h>
#include <alsa/seq_event.h>

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sat Dec 28 13:53:23 UTC 2024 - munix9@googlemail.com
- Add dssi-add-missing-include.patch:
Fix for "error: unknown type name size_t"
-------------------------------------------------------------------
Fri Aug 16 11:57:20 UTC 2024 - Martin Jambor <mjambor@suse.com>
- Added dssi-C99.diff which fixed a callback prototype so that the
source code adher to C99 and builds with GCC 14.
-------------------------------------------------------------------
Mon Feb 26 08:08:20 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package dssi
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# 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)
# 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,14 +20,18 @@ Name: dssi
Version: 1.1.1
Release: 0
Summary: Disposable Soft Synth Interface
License: GPL-2.0+ and LGPL-2.1+ and SUSE-Public-Domain
License: GPL-2.0-or-later AND LGPL-2.1-or-later AND SUSE-Public-Domain
Group: Development/Libraries/C and C++
Url: http://dssi.sf.net/
URL: http://dssi.sf.net/
Source: http://downloads.sourceforge.net/project/dssi/dssi/1.1.1/%{name}-%{version}.tar.gz
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch0: dssi-add-missing-closedir.diff
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch1: dssi-linking.patch
# PATCH-FIX-UPSTREAM -- Make the package build with GCC 14
Patch2: dssi-C99.diff
# PATCH-FIX-OPENSUSE -- Fix for "error: unknown type name size_t"
Patch3: dssi-add-missing-include.patch
BuildRequires: alsa-devel
BuildRequires: gcc-c++
BuildRequires: ladspa-devel
@@ -36,7 +40,6 @@ BuildRequires: liblo-devel
BuildRequires: libsndfile-devel
BuildRequires: libtool
BuildRequires: pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Disposable Soft Synth Interface (DSSI, pronounced "dizzy") is a
@@ -60,6 +63,8 @@ This package contains files to be needed for building DSSI plugins.
%setup -q
%patch -P 0 -p1
%patch -P 1
%patch -P 2 -p1
%patch -P 3 -p1
%build
mkdir m4
@@ -75,7 +80,6 @@ rm -rf examples/.deps
rm -f examples/.cvsignore
%files
%defattr(-,root,root)
%doc COPYING README
%doc examples
%dir %{_libdir}/dssi
@@ -84,7 +88,6 @@ rm -f examples/.cvsignore
%{_libdir}/dssi
%files devel
%defattr(-,root,root)
%{_includedir}/dssi.h
%{_libdir}/pkgconfig/*.pc