pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/festival festival: Commit a missing patch.
details: https://anonhg.NetBSD.org/pkgsrc/rev/c73a202bdf27
branches: trunk
changeset: 401088:c73a202bdf27
user: nia <nia%pkgsrc.org@localhost>
date: Wed Sep 11 10:03:17 2019 +0000
description:
festival: Commit a missing patch.
diffstat:
audio/festival/distinfo | 5 +-
audio/festival/patches/patch-festival_src_modules_hts__engine_HTS__misc.c | 18 ++++++++++
2 files changed, 21 insertions(+), 2 deletions(-)
diffs (43 lines):
diff -r 729109f3337e -r c73a202bdf27 audio/festival/distinfo
--- a/audio/festival/distinfo Wed Sep 11 09:52:47 2019 +0000
+++ b/audio/festival/distinfo Wed Sep 11 10:03:17 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.27 2019/09/07 13:00:48 nia Exp $
+$NetBSD: distinfo,v 1.28 2019/09/11 10:03:17 nia Exp $
SHA1 (festival-2.5.0-release.tar.gz) = a433de2d1c344a1af63579e757551432abe583ca
RMD160 (festival-2.5.0-release.tar.gz) = 68f71e389f38c78863b15da319f16d21dcf27818
@@ -13,9 +13,10 @@
SHA1 (patch-ac) = 9ffe5f44dc50d9ab5161b9ca107956e799fff463
SHA1 (patch-ae) = 9d630d198f829979508b90416ddb0f56d721b422
SHA1 (patch-aq) = 81109b22e5db0f733fa2a3d8e7cdef1cdcbe0185
-SHA1 (patch-festival_src_modules_hts__engine_HTS__misc.c) = ee03faa0ac6db409e7352e0aad5ff64272d99e80
+SHA1 (patch-festival_src_modules_hts__engine_HTS__misc.c) = d40659b50cee96030464a549625418895c79313f
SHA1 (patch-speech__tools_config_compilers_gcc__defaults.mak) = 0498a265d7f77b39503d5442cca0754ad72531a8
SHA1 (patch-speech__tools_config_modules_editline.mak) = 5386449fb61a1a0dfc3d5daed292917eb257fa3c
SHA1 (patch-speech__tools_config_rules_compile__options.mak) = d3aa93029edba84f8130f1bc33c8d74219bafd9a
+SHA1 (patch-speech__tools_configure.in) = 58b3b3b6dfb2b085c638b3637ece67bb6e5b014e
SHA1 (patch-speech__tools_include_ling__class_EST__FeatureFunctionPackage.h) = ec5eb54fba5a50b43d1a0c9f0a5ae36407f55bff
SHA1 (patch-speech__tools_include_unix_EST__socket__unix.h) = f81c0cda0858d121e2d24182f39c7ab8fc673174
diff -r 729109f3337e -r c73a202bdf27 audio/festival/patches/patch-festival_src_modules_hts__engine_HTS__misc.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/festival/patches/patch-festival_src_modules_hts__engine_HTS__misc.c Wed Sep 11 10:03:17 2019 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-festival_src_modules_hts__engine_HTS__misc.c,v 1.1 2019/09/11 10:03:17 nia Exp $
+
+Support NetBSD and FreeBSD.
+
+--- festival/src/modules/hts_engine/HTS_misc.c.orig 2017-09-04 15:54:08.000000000 +0000
++++ festival/src/modules/hts_engine/HTS_misc.c
+@@ -245,8 +245,10 @@ size_t HTS_ftell(HTS_File * fp)
+ } else if (fp->type == HTS_FILE) {
+ fpos_t pos;
+ fgetpos((FILE *) fp->pointer, &pos);
+-#if defined(_WIN32) || defined(__CYGWIN__) || defined(__APPLE__)
++#if defined(_WIN32) || defined(__CYGWIN__) || defined(__APPLE__) || defined(__FreeBSD__)
+ return (size_t) pos;
++#elif defined(__NetBSD__)
++ return (size_t) pos._pos;
+ #else
+ return (size_t) pos.__pos;
+ #endif /* _WIN32 || __APPLE__ */
Home |
Main Index |
Thread Index |
Old Index