pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/45602: chat/licq-core doesn't build
>Number: 45602
>Category: pkg
>Synopsis: chat/licq-core doesn't build
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Nov 11 16:10:00 +0000 2011
>Originator: B.ICT A.P. deBROUWER Jr.
>Release: NetBSD/i386 5.99.56
>Organization:
-none-
>Environment:
NetBSD 10.0.2.17 5.99.56 NetBSD 5.99.56 (MONOLITHIC_UGEN) #18: Mon Nov 7
16:37:44 UTC 2011
root@10.0.2.17:/obj-src/obj/sys/arch/i386/compile/MONOLITHIC_UGEN i386
>Description:
cd chat/licq-core && make install
you'd get:
if c++ -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I..
-Wall -I../include -I/usr/include -O2 -I/usr/include -fno-exceptions
-fno-check-new -MT fifo.o -MD -MP -MF ".deps/fifo.Tpo" -c -o fifo.o fifo.cpp;
then mv -f ".deps/fifo.Tpo" ".deps/fifo.Po"; else rm -f ".deps/fifo.Tpo"; exit
1; fi
fifo.cpp: In function 'long unsigned int StringToStatus(char*)':
fifo.cpp:185:53: error: 'INT_MAX' was not declared in this scope
fifo.cpp: In function 'int fifo_status(int, const char* const*, void*)':
fifo.cpp:361:18: error: 'INT_MAX' was not declared in this scope
fifo.cpp: In function 'long unsigned int StringToStatus(char*)':
fifo.cpp:186:1: warning: control reaches end of non-void function
*** Error code 1
>How-To-Repeat:
see description.
>Fix:
cat patches/patch-ra
$NetBSD$
--- src/fifo.cpp.orig 2011-11-11 15:29:37.000000000 +0000
+++ src/fifo.cpp 2011-11-11 15:30:29.000000000 +0000
@@ -38,6 +38,10 @@
extern int errno;
#endif
+#ifdef __NetBSD__
+#include <machine/limits.h>
+#endif
+
// Localization
#include "gettext.h"
Home |
Main Index |
Thread Index |
Old Index