Hi,

On Wed, Dec 16, 2020 at 10:57:43AM +0100, Renaud Allard wrote:
> Hello,
> 
> Here is my first attempt at making xpra available on OpenBSD.
> Suggestions/corrections/tests are welcome.
> 
> xpra is a kind of tmux/screen for X11
> 
> Regards

I've glanced through patches directory in your port and what caught my
attention is patch-xpra_buffers_memalign_c diff.

I had my local xpra port couple of years back, but I don't use it any
more and back then I had different patch for <malloc.h> include.

Here is my old port:
 https://marc.info/?l=openbsd-ports&m=153207856621524&w=2

And per message:
 https://marc.info/?l=openbsd-ports&m=153301067923054&w=2

There was also openbsd-wip port at:
 https://github.com/jasperla/openbsd-wip/tree/master/x11/xpra

See below diff:

--- xpra/buffers/memalign.c.orig        Mon Apr 18 12:03:12 2016
+++ xpra/buffers/memalign.c     Fri May 20 00:37:58 2016
@@ -13,7 +13,7 @@
 #ifdef _WIN32
 #define _STDINT_H
 #endif
-#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__DragonFly__)
+#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__DragonFly__) && 
!defined(__OpenBSD__)
 #include <malloc.h>
 #endif

-- 
Regards,
 Mikolaj

Reply via email to