openbsd-ports/lang/mruby/patches/patch-include_mrbconf_h
fcambus 5cd30014c0 Update mruby to 2.0.1.
Notable changes:

- Switch to using GH_ directives to fetch the distfile
- Point HOMEPAGE to https://mruby.org/
- Upstream now enable setting MRB_ENDIAN_BIG on big endian architectures,
  so we only need to add the missing <endian.h> header

Tested on amd64, test suite passes without errors.

OK sthen@, jeremy@
2019-11-11 11:42:36 +00:00

14 lines
274 B
Plaintext

$OpenBSD: patch-include_mrbconf_h,v 1.2 2019/11/11 11:42:36 fcambus Exp $
Index: include/mrbconf.h
--- include/mrbconf.h.orig
+++ include/mrbconf.h
@@ -7,6 +7,7 @@
#ifndef MRUBYCONF_H
#define MRUBYCONF_H
+#include <endian.h>
#include <limits.h>
#include <stdint.h>