pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/libvisual Add DragonFly support. Also check for ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7e8cb032cdfc
branches:  trunk
changeset: 500554:7e8cb032cdfc
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Oct 10 14:07:38 2005 +0000

description:
Add DragonFly support. Also check for -pthread as thread library.

diffstat:

 audio/libvisual/distinfo         |   4 ++--
 audio/libvisual/patches/patch-ab |  28 +++++++++++++++++++++++++++-
 2 files changed, 29 insertions(+), 3 deletions(-)

diffs (54 lines):

diff -r 909f768df71f -r 7e8cb032cdfc audio/libvisual/distinfo
--- a/audio/libvisual/distinfo  Mon Oct 10 14:05:22 2005 +0000
+++ b/audio/libvisual/distinfo  Mon Oct 10 14:07:38 2005 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.6 2005/05/24 12:29:40 wiz Exp $
+$NetBSD: distinfo,v 1.7 2005/10/10 14:07:38 joerg Exp $
 
 SHA1 (libvisual-0.2.0.tar.gz) = 8867f743c7407890c8cc571acab2fbcab869f3a1
 RMD160 (libvisual-0.2.0.tar.gz) = d933e849ffb8ce8f21d9d58e92fd104b137b718d
 Size (libvisual-0.2.0.tar.gz) = 431141 bytes
 SHA1 (patch-aa) = f7a0b011fa39996813bb7a8fe00aefdfaa680583
-SHA1 (patch-ab) = cdb5e59ddb38e6bd144f643ef1b1b6dc524fd4fb
+SHA1 (patch-ab) = d4014e06622f59e31f4ee42dd24ce729e27b580d
diff -r 909f768df71f -r 7e8cb032cdfc audio/libvisual/patches/patch-ab
--- a/audio/libvisual/patches/patch-ab  Mon Oct 10 14:05:22 2005 +0000
+++ b/audio/libvisual/patches/patch-ab  Mon Oct 10 14:07:38 2005 +0000
@@ -1,10 +1,36 @@
-$NetBSD: patch-ab,v 1.4 2005/04/19 15:38:21 rillig Exp $
+$NetBSD: patch-ab,v 1.5 2005/10/10 14:07:38 joerg Exp $
 
 gcc-2.95 does not know the i386 MMX registers used in the assembler
 statements, do disable them.
 
 --- configure.orig     Sun Jan  9 23:17:45 2005
 +++ configure  Tue Apr 19 17:04:54 2005
+@@ -2046,7 +2046,7 @@ case "$host_os" in
+       solaris*)       lv_solaris=yes;;
+       linux*)         lv_linux=yes;;
+       *sco*)          lv_sco=yes;;
+-      freebsd*)       lv_freebsd=yes;;
++      freebsd*|dragonfly*)    lv_freebsd=yes;;
+       netbsd*)        lv_netbsd=yes;;
+       openbsd*)       lv_openbsd=yes;;
+       *darwin*)       lv_darwin=yes;;
+@@ -21919,13 +21919,13 @@ echo "$as_me: WARNING: $AIX_COMPILE_INFO
+             *)
+               LV_THREAD_LIBS=error
+             lv_save_LIBS="$LIBS"
+-            for thread_lib in "" pthread pthread32 pthreads thread dce; do
++            for thread_lib in "" -lpthread -lpthread32 -lpthreads -lthread -ldce -pthread; do
+               if test x"$thread_lib" = x; then
+                       add_thread_lib=""
+                       IN=""
+ else
+-                      add_thread_lib="-l$thread_lib"
+-                      IN=" in -l$thread_lib"
++                      add_thread_lib="$thread_lib"
++                      IN=" in $thread_lib"
+               fi
+               if test x"$have_threads" = xposix; then
+                       defattr=0
 @@ -25450,7 +25450,11 @@ _______EOF
          if test x$lv_ix86 = xyes ; then
                  cat >>$outfile <<_______EOF



Home | Main Index | Thread Index | Old Index