pkgsrc-Bugs archive

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

pkg/33826: PR: [PATCH] a2ps build failure



>Number:         33826
>Category:       pkg
>Synopsis:       [PATCH] a2ps build failure
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 26 11:10:00 +0000 2006
>Originator:     Roman Valls
>Release:        Linux 2.6.16-1.2122_FC5smp
>Organization:
LCAC
>Environment:
System: Linux fabre-ng.ac.upc.edu 2.6.16-1.2122_FC5smp #1 SMP Sun May 21 
15:18:32 EDT 2006 i686 i686 i386 GNU/Linux
Architecture: i686

>Description:
        
        Compile process fails due to an incorrect prototype of malloc on
        a2ps/lib/path-concat.c.
>How-To-Repeat:
        cd /usr/pkgsrc/print/a2ps && bmake
>Fix:

$NetBSD$
--- lib/path-concat.c.orig      2006-06-20 10:12:06.000000000 +0200
+++ lib/path-concat.c           2006-06-20 10:12:16.000000000 +0200
@@ -31,8 +31,6 @@
 #endif
 #include <sys/types.h>
 
-char *malloc ();
-
 #ifndef DIRECTORY_SEPARATOR
 # define DIRECTORY_SEPARATOR '/'
 #endif




Home | Main Index | Thread Index | Old Index