Index: head/devel/serd/distinfo =================================================================== --- head/devel/serd/distinfo (revision 562195) +++ head/devel/serd/distinfo (revision 562196) @@ -1,3 +1,3 @@ -TIMESTAMP = 1610101696 +TIMESTAMP = 1611145297 SHA256 (serd-0.30.8.tar.bz2) = 672ec48f55f6f5bf1b548f3d6a76f127e803dbae2550ddb730bb02d2fd28fa87 SIZE (serd-0.30.8.tar.bz2) = 590817 Index: head/devel/serd/files/patch-src_serd__config.h =================================================================== --- head/devel/serd/files/patch-src_serd__config.h (nonexistent) +++ head/devel/serd/files/patch-src_serd__config.h (revision 562196) @@ -0,0 +1,33 @@ +--- src/serd_config.h.orig 2021-01-20 12:23:24 UTC ++++ src/serd_config.h +@@ -44,17 +44,6 @@ + # endif + # endif + +-// C99 and C++11: aligned_alloc() +-# ifndef HAVE_ALIGNED_ALLOC +-# if !defined(__APPLE__) && !defined(_WIN32) +-# if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L +-# define HAVE_ALIGNED_ALLOC +-# elif defined(__cplusplus) && __cplusplus >= 201103L) +-# define HAVE_ALIGNED_ALLOC +-# endif +-# endif +-# endif +- + // POSIX.1-2001: fileno() + # ifndef HAVE_FILENO + # if defined(_POSIX_VERSION) && _POSIX_VERSION >= 200112L +@@ -87,12 +76,6 @@ + and this header is always required by any code that checks for features, even + if the build system defines them all. + */ +- +-#ifdef HAVE_ALIGNED_ALLOC +-# define USE_ALIGNED_ALLOC 1 +-#else +-# define USE_ALIGNED_ALLOC 0 +-#endif + + #ifdef HAVE_FILENO + # define USE_FILENO 1 Property changes on: head/devel/serd/files/patch-src_serd__config.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/serd/files/patch-src_system.c =================================================================== --- head/devel/serd/files/patch-src_system.c (nonexistent) +++ head/devel/serd/files/patch-src_system.c (revision 562196) @@ -0,0 +1,11 @@ +--- src/system.c.orig 2021-01-20 12:24:18 UTC ++++ src/system.c +@@ -55,8 +55,6 @@ serd_malloc_aligned(const size_t alignment, const size + { + #if defined(_WIN32) + return _aligned_malloc(size, alignment); +-#elif USE_ALIGNED_ALLOC +- return aligned_alloc(alignment, size); + #elif USE_POSIX_MEMALIGN + void* ptr = NULL; + const int ret = posix_memalign(&ptr, alignment, size); Property changes on: head/devel/serd/files/patch-src_system.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/serd/files/patch-wscript =================================================================== --- head/devel/serd/files/patch-wscript (nonexistent) +++ head/devel/serd/files/patch-wscript (revision 562196) @@ -0,0 +1,16 @@ +--- wscript.orig 2021-01-20 12:26:07 UTC ++++ wscript +@@ -123,13 +123,6 @@ def configure(conf): + if Options.options.largefile: + conf.env.append_unique('DEFINES', ['_FILE_OFFSET_BITS=64']) + +- conf.check_function('c', 'aligned_alloc', +- header_name = 'stdlib.h', +- return_type = 'void*', +- arg_types = 'size_t,size_t', +- define_name = 'HAVE_ALIGNED_ALLOC', +- mandatory = False) +- + if not Options.options.no_posix: + funcs = {'posix_memalign': ('stdlib.h', 'int', 'void**,size_t,size_t'), + 'posix_fadvise': ('fcntl.h', 'int', 'int,off_t,off_t,int'), Property changes on: head/devel/serd/files/patch-wscript ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property