+osspd (1.3.2-10) UNRELEASED; urgency=medium
+
+ * Fix build on MIPS. (Closes: #916231)
+
+ -- Ralf Jung <post@ralfj.de> Tue, 25 Dec 2018 18:51:35 +0100
+
osspd (1.3.2-9) unstable; urgency=medium
* Fix using target-architecture pkg-config. Patch by
Forwarded: Committed upstream as 097dc7b6
---
- ossp-slave.c | 4 ++--
- osspd.c | 2 +-
+ ossp-slave.c | 4 ++--
+ osspd.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ossp-slave.c b/ossp-slave.c
Forwarded: Committed upstream as 3a9a0196
---
- Makefile | 2 +-
+ Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
From: Ralf Jung <post@ralfj.de>
Date: Thu, 13 Sep 2012 19:13:25 +0200
-Subject: PA recommends users *not* to be in the audio group, so allow
- everyone to use these devices
+Subject: PA recommends users *not* to be in the audio group,
+ so allow everyone to use these devices
Forwarded: not-needed
---
- 98-osscuse.rules | 9 ++++-----
+ 98-osscuse.rules | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/98-osscuse.rules b/98-osscuse.rules
Forwarded: not-needed
---
- Makefile | 8 +++++---
- osspd.c | 12 ++----------
+ Makefile | 8 +++++---
+ osspd.c | 12 ++----------
2 files changed, 7 insertions(+), 13 deletions(-)
diff --git a/Makefile b/Makefile
(based on patch in Ubuntu by Logan Rosen <logan@ubuntu.com>)
Forwarded: http://sourceforge.net/mailarchive/forum.php?thread_name=518E3901.8050206%40ralfj.de&forum_name=osspd-users
---
- Makefile | 4 ++--
+ Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
+++ /dev/null
-From: Helmut Grohne <helmut@subdivi.de>
-Date: Tue, 21 Nov 2017 21:20:20 +0100
-Subject: fix using target-architecture pkg-config
-
-Index: osspd-1.3.2/Makefile
-===================================================================
---- osspd-1.3.2.orig/Makefile
-+++ osspd-1.3.2/Makefile
-@@ -2,6 +2,7 @@
- # DESTDIR is completely respected
- CC := gcc
- AR := ar
-+PKG_CONFIG ?= pkg-config
- CFLAGS := -Wall -pthread $(CFLAGS) $(CPPFLAGS)
- XLDFLAGS := $(LDFLAGS)
- LDFLAGS := -L. -lossp -pthread $(LDFLAGS)
-@@ -11,27 +12,27 @@
- SLAVESDIR := $(prefix)/sbin
-
- ifeq "$(origin OSSPD_CFLAGS)" "undefined"
--OSSPD_CFLAGS := $(shell pkg-config --cflags fuse)
-+OSSPD_CFLAGS := $(shell $(PKG_CONFIG) --cflags fuse)
- endif
-
- ifeq "$(origin OSSPD_LDFLAGS)" "undefined"
--OSSPD_LDFLAGS := $(shell pkg-config --libs fuse)
-+OSSPD_LDFLAGS := $(shell $(PKG_CONFIG) --libs fuse)
- endif
-
- ifeq "$(origin OSSP_PADSP_CFLAGS)" "undefined"
--OSSP_PADSP_CFLAGS := $(shell pkg-config --cflags libpulse)
-+OSSP_PADSP_CFLAGS := $(shell $(PKG_CONFIG) --cflags libpulse)
- endif
-
- ifeq "$(origin OSSP_PADSP_LDFLAGS)" "undefined"
--OSSP_PADSP_LDFLAGS := $(shell pkg-config --libs libpulse)
-+OSSP_PADSP_LDFLAGS := $(shell $(PKG_CONFIG) --libs libpulse)
- endif
-
- ifeq "$(origin OSSP_ALSAP_CFLAGS)" "undefined"
--OSSP_ALSAP_CFLAGS := $(shell pkg-config --libs alsa)
-+OSSP_ALSAP_CFLAGS := $(shell $(PKG_CONFIG) --libs alsa)
- endif
-
- ifeq "$(origin OSSP_ALSAP_LDFLAGS)" "undefined"
--OSSP_ALSAP_LDFLAGS := $(shell pkg-config --libs alsa)
-+OSSP_ALSAP_LDFLAGS := $(shell $(PKG_CONFIG) --libs alsa)
- endif
-
- headers := ossp.h ossp-util.h ossp-slave.h
--- /dev/null
+From: Ralf Jung <post@ralfj.de>
+Date: Tue, 25 Dec 2018 18:51:01 +0100
+Subject: fix build on MIPS
+
+---
+ osspd.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/osspd.c b/osspd.c
+index 6b63c07..70eff98 100644
+--- a/osspd.c
++++ b/osspd.c
+@@ -22,6 +22,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <signal.h>
++#include <sys/ioctl.h>
+ #include <sys/mman.h>
+ #include <sys/stat.h>
+ #include <sys/epoll.h>
0003-PA-recommends-users-not-to-be-in-the-audio-group-so-.patch
0004-Allow-to-set-slave-installation-path-during-compilat.patch
0005-Add-pthread-compiler-and-linker-flag.patch
-0006-cross.patch
+0006-fix-build-on-MIPS.patch