Displaying 20 results from an estimated 10000 matches similar to: "[PATCH] for include/share/compat.h"
2016 Jan 09
3
Lets do a 1.3.2 release
lvqcl wrote:
>>> Win_utf8 stuff should not be included in libflac since it's only to be
>>> used by the flac.exe frontend. It is not needed by other programs nor
>>> would they benefit from it without doing the extra work of converting
>>> their ansi filenames and functions to utf-8.
>>>
>>>> Version 2 of my patch attached, which fixes
2013 Mar 19
2
Patch to add Unicode filename support for win32 flac
On 18.3.2013 12:25, Erik de Castro Lopo wrote:
> JonY wrote:
>
>> Before anyone does anything, see __wgetmainargs
>> <http://msdn.microsoft.com/en-us/library/ff770599.aspx>.
>>
>> It can expand wildcards. Since it already provides argc/argv/env, it is
>> more a less a drop-in replacement for the main() arguments.
> +1
>
> Erik
Alright, here's
2016 Jan 09
0
Lets do a 1.3.2 release
lvqcl wrote:
> When I compile flac project with MSYS/MinGW-w64, I can see two files:
> libFLAC.a and libFLAC-static.a. The only difference between them
> is that libFLAC.a contains functions from win_utf8_io.
> But 'make install' adds libFLAC.a into /local/lib, not libFLAC-static.a.
Thank you for checking this. I've always had trouble with Autotools on
Windows, even when
2013 Mar 19
0
Patch to add Unicode filename support for win32 flac
On 3/19/2013 19:59, Janne Hyv?rinen wrote:
> On 18.3.2013 12:25, Erik de Castro Lopo wrote:
>> JonY wrote:
>>
>>> Before anyone does anything, see __wgetmainargs
>>> <http://msdn.microsoft.com/en-us/library/ff770599.aspx>.
>>>
>>> It can expand wildcards. Since it already provides argc/argv/env, it is
>>> more a less a drop-in
2014 Apr 09
1
[PATCH] for src/libFLAC/include/private/bitmath.h
From the neighbouring list, http://lists.xiph.org/pipermail/opus/2014-April/002592.html
"proper architecture-specific MSVC definitions, _M_IX86 and _M_X64"
So this patch changes _WIN64 to _M_X64 (the corresponding code enables _BitScanReverse64)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bitmath.patch
Type: application/octet-stream
Size: 938
2013 Apr 01
1
flac 1.3.0pre3 pre-release
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 01.04.2013 16:26, LRN wrote:
> On 01.04.2013 14:40, Erik de Castro Lopo wrote:
>> Hi all,
>
>> The latest pre-release is here:
>
>> http://downloads.xiph.org/releases/flac/beta/flac-1.3.0pre3.tar.xz
>
>>
> flac-1.3.0pre3/include/share/compat.h:146:31: fatal error:
> share/win_utf8_io.h: No such file or
2013 Sep 25
1
PATCH: move M_PI definition to share/compat.h
Analogous to M_LN2 patch: the patch moves definition of M_PI
from src/libFLAC/window.c and src/test_streams/main.c to include/share/compat.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: M_PI.patch
Type: application/octet-stream
Size: 1581 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20130925/6a0afebe/attachment.obj
2016 Jan 09
2
Lets do a 1.3.2 release
Janne Hyv?rinen wrote:
> Win_utf8 stuff should not be included in libflac since it's only to be
> used by the flac.exe frontend. It is not needed by other programs nor
> would they benefit from it without doing the extra work of converting
> their ansi filenames and functions to utf-8.
>
>> Version 2 of my patch attached, which fixes the problem for the
>>
2013 Apr 01
17
flac 1.3.0pre3 pre-release
Hi all,
The latest pre-release is here:
http://downloads.xiph.org/releases/flac/beta/flac-1.3.0pre3.tar.xz
but there will probably need to be at least one more.
I've tested this on
x86_64-linux
powerpc-linux
i386-openbsd5.2
i386-freebsd9
The majority of changes since the last pre-release is the addition of
Janne Hyv?rinen's utf8 I/O functionality. Janne's
2019 Aug 09
0
[PATCH] Switch to utimensat for newer POSIX versions
Some libcs like uClibc-ng can optionally disable deprecated functions.
utime is one of them. When done so, both the header and the function go
missing.
This fixes flac_utime to work in such a situation.
---
include/share/compat.h | 10 +++++++++-
src/libFLAC/metadata_iterators.c | 9 +++++++--
src/share/grabbag/file.c | 9 +++++++--
3 files changed, 23 insertions(+), 5
2015 Dec 10
5
Windows file buffering
Erik de Castro Lopo wrote:
> lvqcl,
>
> Would you be able to have alook at this one? I think its
> Windows related:
>
> https://sourceforge.net/p/flac/feature-requests/114/
>
The relevant changes are
<http://git.xiph.org/?p=flac.git;a=commitdiff;h=6a6207b52a86b1d7980a5233e297c0fc948bed7d> and
2013 Mar 19
3
Patch to add Unicode filename support for win32 flac
On 19.3.2013 15:49, JonY wrote:
> On 3/19/2013 19:59, Janne Hyv?rinen wrote:
>> On 18.3.2013 12:25, Erik de Castro Lopo wrote:
>>> JonY wrote:
>>>
>>>> Before anyone does anything, see __wgetmainargs
>>>> <http://msdn.microsoft.com/en-us/library/ff770599.aspx>.
>>>>
>>>> It can expand wildcards. Since it already
2014 Jun 16
1
Include directories
On Mon, Jun 16, 2014 at 4:10 AM, lvqcl <lvqcl.mail at gmail.com> wrote:
> Erik de Castro Lopo wrote:
>
>> Ok, done for the autotool build system. Would appreciate it if someone
>> could look that the VS build files.
>
>
> I'll do it, but: I cannot build 32-bit flac with MinGW:
>
> <------------------------------------------------------------->
>
2014 May 24
2
make dllimport/dllexport attributes work with mingw (and others)
The following patch changes export.h so that the dllimport/dllexport
attributes work with mingw/mingw-w64 and others:
- changes _declspec keyword to __declspec: the former may not be
defined by some toolchains.
- changes the _MSC_VER condition to universally _WIN32: MSVC, as well
as GCC supports this.
Attached patch: declspec.diff
Regards.
--
O.S.
-------------- next part --------------
2014 Jun 16
2
Include directories
Some projects/makefiles add both 'include' and 'include/share'
to the list of additional include directories.
For example, src/share/utf8/utf8.c includes 'include/share/alloc.h'
as "share/alloc.h" but 'include/share/utf8.h' as just "utf8.h".
Also src/share/replaygain_analysis/replaygain_analysis.c includes
"replaygain_analysis.h", not
2014 May 24
2
make dllimport/dllexport attributes work with mingw (and others)
On 5/24/14, lvqcl <lvqcl.mail at gmail.com> wrote:
> Ozkan Sezer <sezeroz at gmail.com> ?????(?) ? ????? ?????? Sat, 24 May 2014
> 10:16:15 +0400:
>
>> - changes the _MSC_VER condition to universally _WIN32: MSVC, as well
>> as GCC supports this.
>
> MSYS/MinGW 4.8.3, 4.9.0 can't compile code from git after this patch:
>
> format.c:47:22: error:
2017 Feb 15
3
about "cpu.h: Fix compiler detection" patch
After this patch, all FLAC__SSEN_SUPPORTED variables are
undefined for GCC, so intrinsic versions of functions are
not compiled into libFLAC.
Previously, the code was:
#if defined __INTEL_COMPILER
// definitions for ICC
#elif defined _MSC_VER
// definitions for MSVC
#elif defined __GNUC__ || defined __clang__
#if defined __clang__ && __has_attribute(__target__)
//
2017 Oct 30
2
[PATCH] openbsd-compat/bsd-getpagesize.c: include includes.h for config.h defines
The configure script checks for getpagesize() and sets HAVE_GETPAGESIZE in
config.h, but bsd-getpagesize.c forgot to include includes.h (which
indirectly includes config.h) so the checks always fails, causing linker
issues when linking statically on systems with getpagesize():
http://autobuild.buildroot.net/results/8cc/8cc30818a400c7a392a3de787cabc9cd8425495f/build-end.log
Fix it by including
2016 Jan 16
2
Lets do a 1.3.2 release
Evan Ramos wrote:
>> So currently libFLAC on _WIN32 does depend on win_utf8_io.
>
> Does my patch fix this issue on your end?
BTW, your patch also changes MSVC solution/projects. What's the
problem with them? I built flac/metaflac/libFLAC libraries
with Visual Studio many times, and haven't noticed anything wrong.
2013 Sep 06
4
About de Bruijn sequences in bitmath.h
Found this code: ftp://ftp.samba.org/pub/unpacked/ntdb/lib/ccan/ilog/ilog.c
Tests show that it's faster to use the following code in FLAC__bitmath_ilog2_wide():
static const unsigned char DEBRUIJN_IDX32[32]={
0, 1,28, 2,29,14,24, 3,30,22,20,15,25,17, 4, 8,
31,27,13,23,21,19,16, 7,26,12,18, 6,11, 5,10, 9
};
FLAC__uint32 v;
int m;