pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[PATCH] audio/portaudio-devel (Re: wip/fldigi has problem on Mac OS X 10.6.8



audio/portaudio-devel
does not have maintainer, and the package is way old
and has problem compiling Mac OS X 10.6.0

So, I would like to bump it, may I ?
(updated one packages on Mac OS X 10.6 fine.)
---
Makoto Fujiwara, 
Chiba, Japan, Narita Airport and Disneyland prefecture.

rm patch/patch-ac

Index: audio/portaudio-devel/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/audio/portaudio-devel/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- audio/portaudio-devel/Makefile      2 Oct 2012 23:48:04 -0000       1.6
+++ audio/portaudio-devel/Makefile      7 Jan 2013 10:08:46 -0000
@@ -1,8 +1,7 @@
 # $NetBSD: Makefile,v 1.6 2012/10/02 23:48:04 asau Exp $
 
 DISTNAME=      pa_snapshot_v19
-PKGNAME=       portaudio-devel-20060521
-PKGREVISION=   1
+PKGNAME=       portaudio-devel-20111121
 CATEGORIES=    audio
 MASTER_SITES=  http://www.portaudio.com/archives/
 DIST_SUBDIR=   ${PKGNAME_NOREV}
Index: audio/portaudio-devel/PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/audio/portaudio-devel/PLIST,v
retrieving revision 1.3
diff -u -r1.3 PLIST
--- audio/portaudio-devel/PLIST 14 Jun 2009 17:32:20 -0000      1.3
+++ audio/portaudio-devel/PLIST 7 Jan 2013 10:08:46 -0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2009/06/14 17:32:20 joerg Exp $
+@comment $NetBSD$
 include/portaudio2/portaudio.h
-lib/pkgconfig/portaudio-2.0.pc
 lib/portaudio2/libportaudio.la
+lib/portaudio2/pkgconfig/portaudio-2.0.pc
Index: audio/portaudio-devel/distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/audio/portaudio-devel/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- audio/portaudio-devel/distinfo      11 Jan 2012 20:15:36 -0000      1.5
+++ audio/portaudio-devel/distinfo      7 Jan 2013 10:08:46 -0000
@@ -1,7 +1,6 @@
 $NetBSD: distinfo,v 1.5 2012/01/11 20:15:36 hans Exp $
 
-SHA1 (portaudio-devel-20060521/pa_snapshot_v19.tar.gz) = 
05c35c7add9f95c79491fbacb80b057be339ed6f
-RMD160 (portaudio-devel-20060521/pa_snapshot_v19.tar.gz) = 
dea1e921189bd788815c3012498fc035f3df8bad
-Size (portaudio-devel-20060521/pa_snapshot_v19.tar.gz) = 722148 bytes
-SHA1 (patch-aa) = b29699d78e1216bb3d129f1736e8c7b56e8c322b
-SHA1 (patch-ac) = 6dece8b29f30465ad12404c87436e4530b723272
+SHA1 (portaudio-devel-20111121/pa_snapshot_v19.tar.gz) = 
4920f7cdb44a62554a0b3a6b274d1ccdda97913d
+RMD160 (portaudio-devel-20111121/pa_snapshot_v19.tar.gz) = 
0a9a91cb934f663f05e0f87f97186b3381c85ea2
+Size (portaudio-devel-20111121/pa_snapshot_v19.tar.gz) = 1130205 bytes
+SHA1 (patch-aa) = a6e9be1b3b5e2e8497a51214e5af47806e010276
Index: audio/portaudio-devel/patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/audio/portaudio-devel/patches/patch-aa,v
retrieving revision 1.2
diff -u -r1.2 patch-aa
--- audio/portaudio-devel/patches/patch-aa      6 Jun 2006 15:48:34 -0000       
1.2
+++ audio/portaudio-devel/patches/patch-aa      7 Jan 2013 10:08:46 -0000
@@ -1,24 +1,13 @@
-$NetBSD: patch-aa,v 1.2 2006/06/06 15:48:34 joerg Exp $
-
---- configure.orig     2006-05-19 16:20:07.000000000 +0000
-+++ configure
-@@ -18957,7 +18957,7 @@ fi
- 
- 
- 
--PKG_CHECK_MODULES(JACK, jack, have_jack=yes, have_jack=no)
-+have_jack=no
- 
- 
- echo "$as_me:$LINENO: checking for short" >&5
-@@ -20503,13 +20503,13 @@ _ACEOF
+--- configure.orig     2008-03-07 02:14:06.000000000 +0900
++++ configure  2013-01-07 18:51:31.000000000 +0900
+@@ -21471,13 +21471,13 @@ _ACEOF
  
    irix* )
  
--echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
--echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
-+echo "$as_me:$LINENO: checking for pthread_create in ${PTHREAD_LDFLAGS} 
${PTHREAD_LIBS}" >&5
-+echo $ECHO_N "checking for pthread_create in ${PTHREAD_LDFLAGS} 
${PTHREAD_LIBS}... $ECHO_C" >&6
+-{ echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
+-echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
++{ echo "$as_me:$LINENO: checking for pthread_create in ${PTHREAD_LDFLAGS} 
${PTHREAD_LIBS}" >&5
++echo $ECHO_N "checking for pthread_create in ${PTHREAD_LDFLAGS} 
${PTHREAD_LIBS}... $ECHO_C" >&6; }
  if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
@@ -28,7 +17,7 @@
  cat >conftest.$ac_ext <<_ACEOF
  /* confdefs.h.  */
  _ACEOF
-@@ -20572,7 +20572,7 @@ if test $ac_cv_lib_pthread_pthread_creat
+@@ -21537,7 +21537,7 @@ if test $ac_cv_lib_pthread_pthread_creat
  #define HAVE_LIBPTHREAD 1
  _ACEOF
  
@@ -37,22 +26,22 @@
  
  else
    { { echo "$as_me:$LINENO: error: IRIX posix thread library not found!" >&5
-@@ -20746,20 +20746,20 @@ _ACEOF
+@@ -21705,20 +21705,20 @@ _ACEOF
  
-       OTHER_OBJS="pa_sgi/pa_sgi.o src/os/unix/pa_unix_hostapis.o 
src/os/unix/pa_unix_util.o";
+         OTHER_OBJS="pa_sgi/pa_sgi.o src/os/unix/pa_unix_hostapis.o 
src/os/unix/pa_unix_util.o"
  
--                      LIBS="-lm -ldmedia -laudio -lpthread";
-+                      LIBS="-lm -ldmedia -laudio ${PTHREAD_LDFLAGS} 
${PTHREAD_LIBS}";
-       PADLL="libportaudio.so";
-       SHARED_FLAGS="";
-       ;;
+-                        LIBS="-lm -ldmedia -laudio -lpthread"
++                        LIBS="-lm -ldmedia -laudio ${PTHREAD_LDFLAGS} 
${PTHREAD_LIBS}";
+         PADLL="libportaudio.so"
+         SHARED_FLAGS=""
+         ;;
  
    *)
  
--   echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
--echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
-+   echo "$as_me:$LINENO: checking for pthread_create in ${PTHREAD_LDFLAGS} 
${PTHREAD_LIBS}" >&5
-+echo $ECHO_N "checking for pthread_create in ${PTHREAD_LDFLAGS} 
${PTHREAD_LIBS}... $ECHO_C" >&6
+-        { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
+-echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
++{   echo "$as_me:$LINENO: checking for pthread_create in ${PTHREAD_LDFLAGS} 
${PTHREAD_LIBS}" >&5
++echo $ECHO_N "checking for pthread_create in ${PTHREAD_LDFLAGS} 
${PTHREAD_LIBS}... $ECHO_C" >&6; }
  if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
@@ -62,14 +51,14 @@
  cat >conftest.$ac_ext <<_ACEOF
  /* confdefs.h.  */
  _ACEOF
-@@ -20854,8 +20854,8 @@ _ACEOF
+@@ -21824,8 +21824,8 @@ _ACEOF
+ 
+         fi
  
-       fi
-       THREAD_CFLAGS="-pthread"
--      DLL_LIBS="$DLL_LIBS -lm -lpthread";
--      LIBS="$LIBS -lm -lpthread";
+-        DLL_LIBS="$DLL_LIBS -lm -lpthread"
+-        LIBS="$LIBS -lm -lpthread"
 +      DLL_LIBS="$DLL_LIBS -lm ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}";
 +      LIBS="$LIBS -lm ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}";
-       PADLL="libportaudio.so";
-       SHARED_FLAGS="-shared -fPIC";
+         PADLL="libportaudio.so"
  
+         ## support sun cc compiler flags



Home | Main Index | Thread Index | Old Index