View | Details | Raw Unified | Return to bug 253042
Collapse All | Expand All

(-)b/devel/serd/Makefile (-1 / +1 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	serd
4
PORTNAME=	serd
5
PORTVERSION=	0.30.8
5
PORTVERSION=	0.30.10
6
CATEGORIES=	devel
6
CATEGORIES=	devel
7
MASTER_SITES=	http://download.drobilla.net/
7
MASTER_SITES=	http://download.drobilla.net/
8
8
(-)b/devel/serd/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1611145297
1
TIMESTAMP = 1611744759
2
SHA256 (serd-0.30.8.tar.bz2) = 672ec48f55f6f5bf1b548f3d6a76f127e803dbae2550ddb730bb02d2fd28fa87
2
SHA256 (serd-0.30.10.tar.bz2) = affa80deec78921f86335e6fc3f18b80aefecf424f6a5755e9f2fa0eb0710edf
3
SIZE (serd-0.30.8.tar.bz2) = 590817
3
SIZE (serd-0.30.10.tar.bz2) = 586386
(-)a/devel/serd/files/patch-src_serd__config.h (-33 lines)
Removed Link Here
1
--- src/serd_config.h.orig	2021-01-20 12:23:24 UTC
2
+++ src/serd_config.h
3
@@ -44,17 +44,6 @@
4
 #    endif
5
 #  endif
6
 
7
-// C99 and C++11: aligned_alloc()
8
-#  ifndef HAVE_ALIGNED_ALLOC
9
-#    if !defined(__APPLE__) && !defined(_WIN32)
10
-#      if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
11
-#        define HAVE_ALIGNED_ALLOC
12
-#      elif defined(__cplusplus) && __cplusplus >= 201103L)
13
-#        define HAVE_ALIGNED_ALLOC
14
-#      endif
15
-#    endif
16
-#  endif
17
-
18
 // POSIX.1-2001: fileno()
19
 #  ifndef HAVE_FILENO
20
 #    if defined(_POSIX_VERSION) && _POSIX_VERSION >= 200112L
21
@@ -87,12 +76,6 @@
22
   and this header is always required by any code that checks for features, even
23
   if the build system defines them all.
24
 */
25
-
26
-#ifdef HAVE_ALIGNED_ALLOC
27
-#  define USE_ALIGNED_ALLOC 1
28
-#else
29
-#  define USE_ALIGNED_ALLOC 0
30
-#endif
31
 
32
 #ifdef HAVE_FILENO
33
 #  define USE_FILENO 1
(-)a/devel/serd/files/patch-src_system.c (-11 lines)
Removed Link Here
1
--- src/system.c.orig	2021-01-20 12:24:18 UTC
2
+++ src/system.c
3
@@ -55,8 +55,6 @@ serd_malloc_aligned(const size_t alignment, const size
4
 {
5
 #if defined(_WIN32)
6
   return _aligned_malloc(size, alignment);
7
-#elif USE_ALIGNED_ALLOC
8
-  return aligned_alloc(alignment, size);
9
 #elif USE_POSIX_MEMALIGN
10
   void*     ptr = NULL;
11
   const int ret = posix_memalign(&ptr, alignment, size);
(-)a/devel/serd/files/patch-wscript (-16 lines)
Removed Link Here
1
--- wscript.orig	2021-01-20 12:26:07 UTC
2
+++ wscript
3
@@ -123,13 +123,6 @@ def configure(conf):
4
     if Options.options.largefile:
5
         conf.env.append_unique('DEFINES', ['_FILE_OFFSET_BITS=64'])
6
 
7
-    conf.check_function('c', 'aligned_alloc',
8
-                        header_name = 'stdlib.h',
9
-                        return_type = 'void*',
10
-                        arg_types   = 'size_t,size_t',
11
-                        define_name = 'HAVE_ALIGNED_ALLOC',
12
-                        mandatory   = False)
13
-
14
     if not Options.options.no_posix:
15
         funcs = {'posix_memalign': ('stdlib.h', 'int', 'void**,size_t,size_t'),
16
                  'posix_fadvise':  ('fcntl.h', 'int', 'int,off_t,off_t,int'),

Return to bug 253042