pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ocaml-checkseum/patches



Module Name:    pkgsrc
Committed By:   he
Date:           Sat Oct 22 17:18:36 UTC 2022

Added Files:
        pkgsrc/devel/ocaml-checkseum/patches: patch-src-c_native_ptrdiff__t.h

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

Fixes build problem.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/ocaml-checkseum/patches/patch-src-c_native_ptrdiff__t.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/ocaml-checkseum/patches/patch-src-c_native_ptrdiff__t.h
diff -u /dev/null pkgsrc/devel/ocaml-checkseum/patches/patch-src-c_native_ptrdiff__t.h:1.1
--- /dev/null   Sat Oct 22 17:18:36 2022
+++ pkgsrc/devel/ocaml-checkseum/patches/patch-src-c_native_ptrdiff__t.h        Sat Oct 22 17:18:36 2022
@@ -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