Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Feb 2014 17:20:33 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342793 - head/x11-toolkits/plib/files
Message-ID:  <201402051720.s15HKXe9050600@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Wed Feb  5 17:20:33 2014
New Revision: 342793
URL: http://svnweb.freebsd.org/changeset/ports/342793
QAT: https://qat.redports.org/buildarchive/r342793/

Log:
  x11-toolkits/plib: Add dports patches for dragonfly support

Added:
  head/x11-toolkits/plib/files/patch-src_sl_slDSP.cxx   (contents, props changed)
  head/x11-toolkits/plib/files/patch-src_sl_slPortability.h   (contents, props changed)

Added: head/x11-toolkits/plib/files/patch-src_sl_slDSP.cxx
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/plib/files/patch-src_sl_slDSP.cxx	Wed Feb  5 17:20:33 2014	(r342793)
@@ -0,0 +1,11 @@
+--- src/sl/slDSP.cxx.orig	2008-03-11 02:06:24.000000000 +0000
++++ src/sl/slDSP.cxx
+@@ -413,7 +413,7 @@ void slDSP::stop ()
+ /* NetBSD/OpenBSD 2.3 this should be very close to SUN Audio    */
+ /* ------------------------------------------------------------ */
+ 
+-#elif (defined(UL_BSD) && !defined(__FreeBSD__)) || defined(UL_SOLARIS)
++#elif (defined(UL_BSD) && !defined(__FreeBSD__) && !defined(__DragonFly__)) || defined(UL_SOLARIS)
+ void slDSP::open ( const char *device, int _rate, int _stereo, int _bps )
+ {
+ 

Added: head/x11-toolkits/plib/files/patch-src_sl_slPortability.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/plib/files/patch-src_sl_slPortability.h	Wed Feb  5 17:20:33 2014	(r342793)
@@ -0,0 +1,29 @@
+--- src/sl/slPortability.h.orig	2008-03-11 02:06:24.000000000 +0000
++++ src/sl/slPortability.h
+@@ -51,7 +51,7 @@
+ #include <limits.h>
+ #include <math.h>
+ 
+-#if (defined(UL_LINUX) || defined(UL_BSD)) && !defined(__NetBSD__)
++#if (defined(UL_LINUX) || defined(UL_BSD) || defined(__DragonFly__)) && !defined(__NetBSD__)
+ #define SL_USING_OSS_AUDIO 1
+ #endif
+ 
+@@ -59,7 +59,7 @@
+ #  if defined(UL_LINUX)
+ #    include <linux/soundcard.h>
+ #    include <sys/ioctl.h>
+-#  elif defined(__FreeBSD__)
++#  elif defined(__FreeBSD__) || defined(__DragonFly__)
+ #    include <sys/soundcard.h>
+ #  else
+     /*
+@@ -75,7 +75,7 @@
+ #endif
+ 
+ #ifdef UL_BSD
+-#ifndef __FreeBSD__
++#if !defined(__FreeBSD__) && !defined(__DragonFly__)
+ #  include <sys/audioio.h>
+ #endif
+ #endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402051720.s15HKXe9050600>