pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/flac



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Jan  7 10:26:54 UTC 2017

Modified Files:
        pkgsrc/audio/flac: distinfo
Added Files:
        pkgsrc/audio/flac/patches: patch-microbench_util.c

Log Message:
Fix building on systems where CLOCK_PROCESS_CPUTIME_ID is not defined.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/audio/flac/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/flac/patches/patch-microbench_util.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/flac/distinfo
diff -u pkgsrc/audio/flac/distinfo:1.26 pkgsrc/audio/flac/distinfo:1.27
--- pkgsrc/audio/flac/distinfo:1.26     Thu Jan  5 09:16:41 2017
+++ pkgsrc/audio/flac/distinfo  Sat Jan  7 10:26:53 2017
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.26 2017/01/05 09:16:41 prlw1 Exp $
+$NetBSD: distinfo,v 1.27 2017/01/07 10:26:53 adam Exp $
 
 SHA1 (flac/flac-1.3.2.tar.xz) = 2bdbb56b128a780a5d998e230f2f4f6eb98f33ee
 RMD160 (flac/flac-1.3.2.tar.xz) = fd25a098941556c5787d7369b12c43aca9a9df78
 SHA512 (flac/flac-1.3.2.tar.xz) = 63910e8ebbe508316d446ffc9eb6d02efbd5f47d29d2ea7864da9371843c8e671854db6e89ba043fe08aef1845b8ece70db80f1cce853f591ca30d56ef7c3a15
 Size (flac/flac-1.3.2.tar.xz) = 776192 bytes
 SHA1 (patch-configure) = 74e3e944f70ba6d1bf9d94fab1d9174a3dab04bb
+SHA1 (patch-microbench_util.c) = f03bfbef537d10ceb9742451ec3509be886e15ed
 SHA1 (patch-strip_non_asm_libtool_args.sh) = f90f09fbf6a0fa938693a9d52316d3a4105129e5

Added files:

Index: pkgsrc/audio/flac/patches/patch-microbench_util.c
diff -u /dev/null pkgsrc/audio/flac/patches/patch-microbench_util.c:1.1
--- /dev/null   Sat Jan  7 10:26:54 2017
+++ pkgsrc/audio/flac/patches/patch-microbench_util.c   Sat Jan  7 10:26:54 2017
@@ -0,0 +1,15 @@
+$NetBSD: patch-microbench_util.c,v 1.1 2017/01/07 10:26:54 adam Exp $
+
+Fix building on systems where CLOCK_PROCESS_CPUTIME_ID is not defined.
+
+--- microbench/util.c.orig     2017-01-07 10:24:50.000000000 +0000
++++ microbench/util.c
+@@ -95,7 +95,7 @@ benchmark_function (void (*testfunc) (vo
+       return counter_diff (&start, &end) / count ;
+ } /* benchmark_function */
+ 
+-#elif defined HAVE_CLOCK_GETTIME
++#elif defined HAVE_CLOCK_GETTIME && defined CLOCK_PROCESS_CPUTIME_ID
+ 
+ #include <time.h>
+ #include <sys/time.h>



Home | Main Index | Thread Index | Old Index