pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/gtkpod Dragonfly is not the only platform that d...
details: https://anonhg.NetBSD.org/pkgsrc/rev/37649e11ac48
branches: trunk
changeset: 537338:37649e11ac48
user: rillig <rillig%pkgsrc.org@localhost>
date: Sun Jan 06 17:04:14 2008 +0000
description:
Dragonfly is not the only platform that doesn't know about
_SC_NPROCESSORS_ONLN, NetBSD is another.
diffstat:
audio/gtkpod/distinfo | 4 ++--
audio/gtkpod/patches/patch-bj | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (42 lines):
diff -r 93eb8d2b9436 -r 37649e11ac48 audio/gtkpod/distinfo
--- a/audio/gtkpod/distinfo Sun Jan 06 16:59:31 2008 +0000
+++ b/audio/gtkpod/distinfo Sun Jan 06 17:04:14 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2007/12/29 16:15:55 joerg Exp $
+$NetBSD: distinfo,v 1.8 2008/01/06 17:04:14 rillig Exp $
SHA1 (gtkpod-0.99.12.tar.gz) = ab7c03ee1a875fe2bab953d5805a2a4d65fcd669
RMD160 (gtkpod-0.99.12.tar.gz) = de41d4ab3c907416e88e81fbc79ca1d82411c4c4
@@ -7,4 +7,4 @@
RMD160 (gtkpod-0.99.8_libgpod-0.4.2.diff) = 2e8094b8eba3179279d1b91133df588833e9df3e
Size (gtkpod-0.99.8_libgpod-0.4.2.diff) = 2580 bytes
SHA1 (patch-bi) = 664a807d14318fd205a89dacc3084212cc9c6d5e
-SHA1 (patch-bj) = 016caeb2a098692951953ffee5948c574a3e1673
+SHA1 (patch-bj) = 1142f4d4833463427e8aa687cf395213b6c53251
diff -r 93eb8d2b9436 -r 37649e11ac48 audio/gtkpod/patches/patch-bj
--- a/audio/gtkpod/patches/patch-bj Sun Jan 06 16:59:31 2008 +0000
+++ b/audio/gtkpod/patches/patch-bj Sun Jan 06 17:04:14 2008 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-bj,v 1.2 2007/12/29 16:15:55 joerg Exp $
+$NetBSD: patch-bj,v 1.3 2008/01/06 17:04:14 rillig Exp $
--- src/file_convert.c.orig 2007-12-18 04:37:43.000000000 +0000
-+++ src/file_convert.c
++++ src/file_convert.c 2008-01-06 18:00:56.000000000 +0000
@@ -216,7 +216,7 @@ struct _ConvTrack
gchar *fname_root; /* filename root of converted file */
gchar *fname_extension; /* filename extension of converted file */
@@ -15,10 +15,10 @@
conv->max_threads_num = prefs_get_int (FILE_CONVERT_MAX_THREADS_NUM);
if (conv->max_threads_num == 0)
{ /* set to maximum available number of processors */
-+#ifdef __DragonFly__
++#if defined(_SC_NPROCESSORS_ONLN) && !defined(__DragonFly__)
+ conv->max_threads_num = sysconf (_SC_NPROCESSORS_ONLN);
++#else
+ conv->max_threads_num = 1;
-+#else
- conv->max_threads_num = sysconf (_SC_NPROCESSORS_ONLN);
+#endif
/* paranoia mode on */
if (conv->max_threads_num <= 0)
Home |
Main Index |
Thread Index |
Old Index