new packages: esound, flatbuffers, fstrcmp, goom, libaacs, shairplay, waylandpp

This commit is contained in:
suvari
2023-08-27 11:57:05 +03:00
parent 945b747989
commit 1e486729cf
30 changed files with 3431 additions and 1322 deletions
@@ -0,0 +1,11 @@
--- esound-0.2.38/audio_alsa09.c.old 2007-06-11 12:22:24.000000000 +0200
+++ esound-0.2.38/audio_alsa09.c 2007-06-11 12:22:49.000000000 +0200
@@ -486,7 +486,7 @@ void esd_audio_flush(void)
}
if (alsa_playback_handle != NULL)
- snd_pcm_drain( alsa_playback_handle );
+ snd_pcm_drop( alsa_playback_handle );
if (alsadbg)
print_state();
@@ -0,0 +1,10 @@
--- esound-0.2.38/esddsp.c 2007-04-19 16:43:59.000000000 +0200
+++ esound-0.2.38.lennart/esddsp.c 2007-08-09 17:47:11.000000000 +0200
@@ -252,6 +252,7 @@
return (*func) (pathname, flags, mode);
}
+#undef open
int
open (const char *pathname, int flags, ...)
{
@@ -0,0 +1,10 @@
diff -urN esound-0.2.39/audio_oss.c esound-0.2.39.new/audio_oss.c
--- esound-0.2.39/audio_oss.c 2008-07-15 18:00:03.000000000 +0200
+++ esound-0.2.39.new/audio_oss.c 2008-07-21 13:17:58.000000000 +0200
@@ -1,4 +1,5 @@
#include "config.h"
+#include <errno.h>
#ifdef HAVE_MACHINE_SOUNDCARD_H
# include <machine/soundcard.h>
@@ -0,0 +1,12 @@
diff -up esound-0.2.41/esd_config.c.nospawn esound-0.2.41/esd_config.c
--- esound-0.2.41/esd_config.c.nospawn 2009-03-31 23:57:35.860368388 -0400
+++ esound-0.2.41/esd_config.c 2009-03-31 23:57:51.032658859 -0400
@@ -6,7 +6,7 @@
#include <ctype.h>
#include <string.h>
-int esd_no_spawn=0; /* If we can't even find the system config file,
+int esd_no_spawn=1; /* If we can't even find the system config file,
things are screwed up - don't try to make things
worse. */
int esd_spawn_wait_ms=100; /* Time to wait trying to connect to an
@@ -0,0 +1,11 @@
diff -up esound-0.2.38/esdlib.c.spew esound-0.2.38/esdlib.c
--- esound-0.2.38/esdlib.c.spew 2007-04-19 10:43:59.000000000 -0400
+++ esound-0.2.38/esdlib.c 2007-09-19 08:45:44.000000000 -0400
@@ -479,7 +479,6 @@ esd_connect_tcpip(const char *host)
strcpy ( connect_host, "localhost" );
if ( getaddrinfo ( connect_host, NULL, &hints, &result ) != 0 ) {
- printf ("Usage:program_name [address][:port]");
return (-1);
}