Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Nov 2018 00:07:35 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r485567 - head/multimedia/cmrt/files
Message-ID:  <201811220007.wAM07ZL0069658@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Thu Nov 22 00:07:34 2018
New Revision: 485567
URL: https://svnweb.freebsd.org/changeset/ports/485567

Log:
  multimedia/cmrt: expand patch comments

Modified:
  head/multimedia/cmrt/files/patch-memalign   (contents, props changed)

Modified: head/multimedia/cmrt/files/patch-memalign
==============================================================================
--- head/multimedia/cmrt/files/patch-memalign	Thu Nov 22 00:07:22 2018	(r485566)
+++ head/multimedia/cmrt/files/patch-memalign	Thu Nov 22 00:07:34 2018	(r485567)
@@ -1,5 +1,31 @@
 memalign is Linux-specific, so use C11 aligned_alloc instead
 
+In file included from decode_hybrid_vp9.cpp:67:
+In file included from ./cmrt_api.h:35:
+In file included from /usr/local/include/cm_rt.h:41:
+In file included from /usr/local/include/cm_rt_linux.h:51:
+/usr/include/malloc.h:3:2: error: "<malloc.h> has been replaced by <stdlib.h>"
+#error "<malloc.h> has been replaced by <stdlib.h>"
+ ^
+/usr/local/include/cm_rt_linux.h:337:9: error: use of undeclared identifier 'memalign'
+        return memalign(alignment, size);
+               ^
+In file included from os_utilities.c:43:
+/usr/include/malloc.h:3:2: error: "<malloc.h> has been replaced by <stdlib.h>"
+#error "<malloc.h> has been replaced by <stdlib.h>"
+ ^
+os_utilities.c:66:8: warning: implicit declaration of function 'memalign' is invalid in C99
+      [-Wimplicit-function-declaration]
+        ptr = _aligned_malloc(size, alignment);
+              ^
+os_utilities.c:59:43: note: expanded from macro '_aligned_malloc'
+#define _aligned_malloc(size, alignment)  memalign(alignment, size)
+                                          ^
+os_utilities.c:66:6: warning: incompatible integer to pointer conversion assigning to 'PVOID' (aka 'void *') from
+      'int' [-Wint-conversion]
+        ptr = _aligned_malloc(size, alignment);
+            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
 --- src/cm_rt_linux.h.orig	2016-09-07 23:51:38 UTC
 +++ src/cm_rt_linux.h
 @@ -48,7 +48,6 @@ extern "C" {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811220007.wAM07ZL0069658>