pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/festival



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Sep 11 10:03:17 UTC 2019

Modified Files:
        pkgsrc/audio/festival: distinfo
Added Files:
        pkgsrc/audio/festival/patches:
            patch-festival_src_modules_hts__engine_HTS__misc.c

Log Message:
festival: Commit a missing patch.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/audio/festival/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/audio/festival/patches/patch-festival_src_modules_hts__engine_HTS__misc.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/festival/distinfo
diff -u pkgsrc/audio/festival/distinfo:1.27 pkgsrc/audio/festival/distinfo:1.28
--- pkgsrc/audio/festival/distinfo:1.27 Sat Sep  7 13:00:48 2019
+++ pkgsrc/audio/festival/distinfo      Wed Sep 11 10:03:17 2019
@@ -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-ab) = 7f22ea2a89caf72dcb1881
 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

Added files:

Index: pkgsrc/audio/festival/patches/patch-festival_src_modules_hts__engine_HTS__misc.c
diff -u /dev/null pkgsrc/audio/festival/patches/patch-festival_src_modules_hts__engine_HTS__misc.c:1.1
--- /dev/null   Wed Sep 11 10:03:17 2019
+++ pkgsrc/audio/festival/patches/patch-festival_src_modules_hts__engine_HTS__misc.c    Wed Sep 11 10:03:17 2019
@@ -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