Commit Graph

22 Commits

Author SHA1 Message Date
Krystine Sherwin 16a595004c
libs/fst: Fix Cygwin compat 2024-12-03 12:48:48 +13:00
Krystine Sherwin a370c116d5
libs/fst: Use unbuffered IO flag 2024-10-18 07:25:29 +13:00
Krystine Sherwin 2157f67184
libs/fst: Patch more _MSC_VER checks 2024-10-17 07:05:24 +13:00
Krystine Sherwin 827e5baca7
libs/fst: Update from upstream 2024-10-17 07:05:23 +13:00
Krystine Sherwin 5f83d4d9da
libs/fst: Patch <io.h>
I think what's happening here is that the _WIN64 fix is correct for 64bit windows, but (for whatever reason) the visual studio build is targeting 32bit windows, so the fix is unnecessary, but the upstream fix doesn't expect to be targeting 32bit windows and assumes all windows builds are 64bit... so fix that.
2024-10-17 07:05:23 +13:00
Krystine Sherwin a54721aa39
libs/fst: Patch for zlib on windows 2024-10-17 07:05:23 +13:00
Krystine Sherwin c4a0845207
libs/fst: Fix filename references 2024-10-17 07:05:23 +13:00
Krystine Sherwin 2edb9397c3
libs/fst: Update from upstream
Add shell script (based on minisat lib) to clone and copy relevant files.
Unclear if there are any changes lost that we need to patch back in.
2024-10-17 07:05:23 +13:00
Krystine Sherwin d34833d177
Better snprintf size handling 2024-08-16 04:30:37 +12:00
Krystine Sherwin 636ce9ac2c
snprintf 2024-08-16 04:30:36 +12:00
Krystine Sherwin 7b47f645d7
Address warnings
- Setting default values
- Fixing mismatched types
- Guarding unused var
2024-08-16 04:30:31 +12:00
Jannis Harder 2f82e8eaed
Merge pull request #3906 from DanielG/fix-fstGetUint32-mips64el 2023-08-28 16:11:53 +02:00
Daniel Gröber e4189ddfd1 Fix fstGetUint32 crash on mips64el due to misaligned access
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025307
2023-08-27 15:05:41 +02:00
Daniel Gröber e017f6603c Fix i386 FP excess-precision issue in fstapi (Fixes: #3898)
Likely related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=323#c225

Thanks to @jix for digging this up
2023-08-27 11:32:53 +02:00
Lloyd Parkes 7dcc9c664e And another place we need to lseek() after dup(). 2022-10-16 12:50:49 +13:00
Lloyd Parkes 635aa2a3fc Forcibly set the current seek location of gz files that we are accessing
via dup(fileno());gzdopen() because stdio might have buffered data from
the underlying file meaning that the underlying seek position isn't what
we think it is.
2022-10-16 12:36:00 +13:00
Josuah Demangeon 793b9ade56 extends the list of platforms without <alloca.h>
This permits to fix a compilation bug on OpenBSD

https://www.gnu.org/software/gnulib/manual/html_node/alloca_002eh.html
> This header file is missing on some platforms:
> FreeBSD 6.0, NetBSD 9.0, OpenBSD 6.7, mingw, MSVC 14.
2022-07-18 21:51:18 +02:00
Maciej Pasternacki 0302e97ebc Fix build on FreeBSD, which has no alloca.h 2022-04-24 19:35:50 +02:00
Miodrag Milanovic 4a30c9cb94 Fix Visual Studio build 2022-02-02 11:46:06 +01:00
Miodrag Milanovic 7101df62f8 Fix for limit_range_end when not writing vcd 2022-01-28 12:15:14 +01:00
Miodrag Milanovic c811a71301 Cleanup of config to support platforms 2022-01-26 09:58:27 +01:00
Miodrag Milanovic 9e9083bbe9 Add FST library 2022-01-25 09:53:41 +01:00