pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/30308: conflicting local errno in lang/perl5.8
>Number: 30308
>Category: pkg
>Synopsis: conflicting local errno in lang/perl5.8
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun May 22 15:51:00 +0000 2005
>Originator: Jörg Sonnenberger
>Release: pkgsrc-HEAD
>Organization:
>Environment:
DragonFly britannica.bec.de 1.3.1-DEVELOPMENT DragonFly 1.3.1-DEVELOPMENT #15:
Tue May 17 13:31:47 2005
joerg%britannica.bec.de@localhost:/home/joerg/wd/DragonFly/world/src/sys/compile/TURTLE
i386
>Description:
The Perl 5.8 source defines errno locally, which conflicts with the definition
in errno.h.
>How-To-Repeat:
build in DragonFly HEAD
>Fix:
Add the following patch:
--- ext/SDBM_File/sdbm/sdbm.c.orig 2003-08-27 12:30:22.000000000 +0200
+++ ext/SDBM_File/sdbm/sdbm.c 2005-05-03 10:18:19.000000000 +0200
@@ -36,9 +36,11 @@
*/
#ifndef WIN32
#ifndef sun
+#ifndef __STDC__
extern int errno;
#endif
#endif
+#endif
extern Malloc_t malloc proto((MEM_SIZE));
extern Free_t free proto((Malloc_t));
Home |
Main Index |
Thread Index |
Old Index