[Midnightbsd-cvs] mports [24106] trunk/audio/esound: fix build issue
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Mon Sep 3 10:26:23 EDT 2018
Revision: 24106
http://svnweb.midnightbsd.org/mports/?rev=24106
Author: laffer1
Date: 2018-09-03 10:26:22 -0400 (Mon, 03 Sep 2018)
Log Message:
-----------
fix build issue
Modified Paths:
--------------
trunk/audio/esound/Makefile
Added Paths:
-----------
trunk/audio/esound/files/patch-audio__oss.c
Removed Paths:
-------------
trunk/audio/esound/files/patch-audio_oss.c
Modified: trunk/audio/esound/Makefile
===================================================================
--- trunk/audio/esound/Makefile 2018-09-03 14:05:23 UTC (rev 24105)
+++ trunk/audio/esound/Makefile 2018-09-03 14:26:22 UTC (rev 24106)
@@ -13,13 +13,14 @@
LICENSE= gpl2
-LIB_DEPENDS= libaudiofile.so:${PORTSDIR}/audio/libaudiofile
+LIB_DEPENDS= libaudiofile.so:audio/libaudiofile
-USES= alias libtool:keepla pathfix pkgconfig:both tar:bzip2
+USES= libtool:keepla pathfix pkgconfig:both tar:bzip2
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= JW=false
-CONFIGURE_TARGET= ${ARCH}-portbld-freebsd10.4
+#CONFIGURE_TARGET= ${ARCH}-portbld-freebsd10.4
+#CONFIGURE_ARGS+= --host=${ARCH}-portbld-freebsd10.4
INSTALL_TARGET= install-strip
CONFLICTS= py*-ro-[0-9]*
Added: trunk/audio/esound/files/patch-audio__oss.c
===================================================================
--- trunk/audio/esound/files/patch-audio__oss.c (rev 0)
+++ trunk/audio/esound/files/patch-audio__oss.c 2018-09-03 14:26:22 UTC (rev 24106)
@@ -0,0 +1,18 @@
+--- audio_oss.c.orig 2008-07-29 14:07:50.000000000 -0400
++++ audio_oss.c 2008-09-07 22:22:15.000000000 -0400
+@@ -12,8 +13,14 @@
+
+ #include <errno.h>
+
++#if defined(__sparc__) || defined(__powerpc__)
++#define AFMT_S16_NE AFMT_S16_BE
++#else
++#define AFMT_S16_NE AFMT_S16_LE
++#endif
++
+ /* FreeBSD uses a different identifier? what other BSDs? */
+-#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
++#ifndef SNDCTL_DSP_SETDUPLEX
+ #define SNDCTL_DSP_SETDUPLEX DSP_CAP_DUPLEX
+ #endif
+
Property changes on: trunk/audio/esound/files/patch-audio__oss.c
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Deleted: trunk/audio/esound/files/patch-audio_oss.c
===================================================================
--- trunk/audio/esound/files/patch-audio_oss.c 2018-09-03 14:05:23 UTC (rev 24105)
+++ trunk/audio/esound/files/patch-audio_oss.c 2018-09-03 14:26:22 UTC (rev 24106)
@@ -1,18 +0,0 @@
---- audio_oss.c.orig 2008-07-29 14:07:50.000000000 -0400
-+++ audio_oss.c 2008-09-07 22:22:15.000000000 -0400
-@@ -12,8 +13,14 @@
-
- #include <errno.h>
-
-+#if defined(__sparc__) || defined(__powerpc__)
-+#define AFMT_S16_NE AFMT_S16_BE
-+#else
-+#define AFMT_S16_NE AFMT_S16_LE
-+#endif
-+
- /* FreeBSD uses a different identifier? what other BSDs? */
--#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
-+#ifndef SNDCTL_DSP_SETDUPLEX
- #define SNDCTL_DSP_SETDUPLEX DSP_CAP_DUPLEX
- #endif
-
More information about the Midnightbsd-cvs
mailing list