pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ocaml-checkseum/patches devel/ocaml-checkseum: f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bc930e2b50ac
branches:  trunk
changeset: 387113:bc930e2b50ac
user:      he <he%pkgsrc.org@localhost>
date:      Sat Oct 22 17:18:36 2022 +0000

description:
devel/ocaml-checkseum: fix inconsistency between config and header.

Fixes build problem.

diffstat:

 devel/ocaml-checkseum/patches/patch-src-c_native_ptrdiff__t.h |  16 +++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diffs (20 lines):

diff -r 6b3d354c006a -r bc930e2b50ac devel/ocaml-checkseum/patches/patch-src-c_native_ptrdiff__t.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-checkseum/patches/patch-src-c_native_ptrdiff__t.h     Sat Oct 22 17:18:36 2022 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-src-c_native_ptrdiff__t.h,v 1.1 2022/10/22 17:18:36 he Exp $
+
+The config check sets CHECKSEUM_STDDEF or CHECKSEUM_NO_STDDEF
+but nothing sets _STDDEF_H.  Make this consistent.
+
+--- src-c/native/ptrdiff_t.h.orig      2022-04-08 14:29:14.000000000 +0000
++++ src-c/native/ptrdiff_t.h
+@@ -1,7 +1,7 @@
+ #ifndef CHECKSEUM_PTRDIFF_T
+ #define CHECKSEUM_PTRDIFF_T
+ 
+-#if defined(_STDDEF_H)
++#if defined(CHECKSEUM_STDDEF)
+ #  include <stddef.h>
+ #elif defined(_WIN32)
+ #  include <CRTDEFS.H>



Home | Main Index | Thread Index | Old Index