pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/oo2c
Module Name: pkgsrc
Committed By: rillig
Date: Wed May 13 06:01:52 UTC 2020
Modified Files:
pkgsrc/lang/oo2c: distinfo
Added Files:
pkgsrc/lang/oo2c/patches: patch-lib_src_Exception_c
Log Message:
lang/oo2c: fix build on NetBSD 8.0
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/lang/oo2c/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/oo2c/patches/patch-lib_src_Exception_c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/oo2c/distinfo
diff -u pkgsrc/lang/oo2c/distinfo:1.11 pkgsrc/lang/oo2c/distinfo:1.12
--- pkgsrc/lang/oo2c/distinfo:1.11 Sat Apr 27 11:33:03 2019
+++ pkgsrc/lang/oo2c/distinfo Wed May 13 06:01:52 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2019/04/27 11:33:03 wiz Exp $
+$NetBSD: distinfo,v 1.12 2020/05/13 06:01:52 rillig Exp $
SHA1 (oo2c_32-2.0.11.tar.bz2) = b8962b7fdf9505dc1769602ade44d8e56eda8d45
RMD160 (oo2c_32-2.0.11.tar.bz2) = c51dc82ec09c9d2f82cb1f10ee7814b3cce38502
@@ -13,3 +13,4 @@ SHA1 (patch-aa) = 2653852548475f5eab7b5b
SHA1 (patch-ab) = 246c0edabfefac3406dbce46baee4ddd8c90f2fe
SHA1 (patch-ac) = d31a5920d189a0201f10fc0526330c903ae0abc5
SHA1 (patch-ad) = ff9564734be4774d1b57edfdc349c860f5063b55
+SHA1 (patch-lib_src_Exception_c) = e90c3b99177cca94183791517e174a87e8af6efc
Added files:
Index: pkgsrc/lang/oo2c/patches/patch-lib_src_Exception_c
diff -u /dev/null pkgsrc/lang/oo2c/patches/patch-lib_src_Exception_c:1.1
--- /dev/null Wed May 13 06:01:52 2020
+++ pkgsrc/lang/oo2c/patches/patch-lib_src_Exception_c Wed May 13 06:01:52 2020
@@ -0,0 +1,19 @@
+$NetBSD: patch-lib_src_Exception_c,v 1.1 2020/05/13 06:01:52 rillig Exp $
+
+Trying to build 2.0.11 on NetBSD 8.0 x86_64:
+> ./lib/src/Exception.c:32:13: warning: implicit declaration of function 'strlen'
+> int len = strlen(td->name);
+>
+> lib/src/__libc.h:24:14: error: expected declaration specifiers or '...' before numeric constant
+> extern void* memcpy(void* dest, const void* src, __typeof__(sizeof(int)) n);
+
+--- lib/src/Exception.c.orig 2003-08-01 15:17:27.000000000 +0000
++++ lib/src/Exception.c
+@@ -4,6 +4,7 @@
+ #include <setjmp.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #if HAVE_BACKTRACE_SYMBOLS
+ # include <execinfo.h>
+ #endif
Home |
Main Index |
Thread Index |
Old Index