patches to make jdk8 build on NetBSD

Christos Zoulas christos at zoulas.com
Sun May 8 23:34:20 UTC 2016


On May 8,  5:56pm, christos at zoulas.com (Christos Zoulas) wrote:
-- Subject: patches to make jdk8 build on NetBSD

One more...

christos

diff -r 1d5f67927c26 src/solaris/native/com/sun/media/sound/PLATFORM_API_LinuxOS_ALSA_PCM.c
--- a/src/solaris/native/com/sun/media/sound/PLATFORM_API_LinuxOS_ALSA_PCM.c	Sun May 01 23:36:07 2016 -0700
+++ b/src/solaris/native/com/sun/media/sound/PLATFORM_API_LinuxOS_ALSA_PCM.c	Sun May 08 19:33:17 2016 -0400
@@ -672,6 +672,7 @@
             return -1;
         }
         return 1;
+#ifdef ESTRPIPE
     } else if (err == -ESTRPIPE) {
         TRACE0("xrun_recovery: suspended.\n");
         ret = snd_pcm_resume(info->handle);
@@ -687,6 +688,7 @@
             return -1;
         }
         return 1;
+#endif
     } else if (err == -EAGAIN) {
         TRACE0("xrun_recovery: EAGAIN try again flag.\n");
         return 0;


More information about the bsd-port-dev mailing list