pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/nbase/patches



Module Name:    pkgsrc
Committed By:   cheusov
Date:           Thu May 23 19:16:01 UTC 2024

Added Files:
        pkgsrc/sysutils/nbase/patches: patch-compatlib_imp__funopen.c

Log Message:
Add patch for Solaris


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/sysutils/nbase/patches/patch-compatlib_imp__funopen.c

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

Added files:

Index: pkgsrc/sysutils/nbase/patches/patch-compatlib_imp__funopen.c
diff -u /dev/null pkgsrc/sysutils/nbase/patches/patch-compatlib_imp__funopen.c:1.1
--- /dev/null   Thu May 23 19:16:01 2024
+++ pkgsrc/sysutils/nbase/patches/patch-compatlib_imp__funopen.c        Thu May 23 19:16:01 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-compatlib_imp__funopen.c,v 1.1 2024/05/23 19:16:01 cheusov Exp $
+
+Resolve conflict with libbsd stdlib.h
+
+--- compatlib/imp_funopen.c.orig       2024-05-23 18:17:48.244149500 +0000
++++ compatlib/imp_funopen.c
+@@ -142,7 +142,7 @@ funopen(void *cookie,
+ }
+ #else
+ FILE *
+-funopen(void *cookie,
++funopen(const void *cookie,
+         int (*readfn)(void *cookie, char *buf, int size),
+         int (*writefn)(void *cookie, const char *buf, int size),
+         off_t (*seekfn)(void *cookie, off_t offset, int whence),



Home | Main Index | Thread Index | Old Index