pkgsrc-Bugs archive

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

pkg/46891: multimedia/vlc2 fails on build



>Number:         46891
>Category:       pkg
>Synopsis:       multimedia/vlc2 fails on build
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 02 16:45:00 +0000 2012
>Originator:     diro%nixsyspaus.org@localhost
>Release:        NetBSD 6.0_RC1
>Organization:
>Environment:
NetBSD gift 6.0_RC1 NetBSD 6.0_RC1 (GIFT) #6: Sat Sep  1 04:44:23 UTC 2012 
root@gift:/usr/obj/sys/arch/amd64/compile/GIFT amd64
Architecture: amd64
Machine: amd64
>Description:
  CC       vasprintf.lo
vasprintf.c: In function 'vasprintf':
vasprintf.c:53:24: error: 'intptr_t' undeclared (first use in this function)
vasprintf.c:53:24: note: each undeclared identifier is reported only once for
each function it appears in
vasprintf.c:53:33: error: expected ';' before numeric constant
gmake[3]: *** [vasprintf.lo] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/multimedia/vlc2/work/vlc-2.0.1/compat'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/pkgsrc/multimedia/vlc2/work/vlc-2.0.1/compat'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/multimedia/vlc2/work/vlc-2.0.1'
gmake: *** [all] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/multimedia/vlc2
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/multimedia/vlc2
gift# vi /usr/pkgsrc/multimedia/vlc2/work/vlc-2.0.1/compat/vasprintf.c

>How-To-Repeat:
cd pkgsrc/multimedia/vlc2; bmake
>Fix:
        
$NetBSD$

--- compat/vasprintf.c.orig     2011-12-08 18:00:25.000000000 +0000
+++ compat/vasprintf.c
@@ -26,6 +26,7 @@
 #include <stdlib.h>
 #include <stdarg.h>
 #include <assert.h>
+#include <stdint.h>
 
 int vasprintf (char **strp, const char *fmt, va_list ap)
 {



Home | Main Index | Thread Index | Old Index