Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Dec 2014 22:27:20 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r375759 - head/devel/kdevelop-kde4/files
Message-ID:  <201412282227.sBSMRK0c015526@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Sun Dec 28 22:27:19 2014
New Revision: 375759
URL: https://svnweb.freebsd.org/changeset/ports/375759
QAT: https://qat.redports.org/buildarchive/r375759/

Log:
  Add patch to fix the build on 8.4-i386.
  
  Include <climits> for LLONG_MIN. All other architectures and versions are OK.

Added:
  head/devel/kdevelop-kde4/files/patch-languages__cpp__parser__rpp__pp-engine.cpp   (contents, props changed)

Added: head/devel/kdevelop-kde4/files/patch-languages__cpp__parser__rpp__pp-engine.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/kdevelop-kde4/files/patch-languages__cpp__parser__rpp__pp-engine.cpp	Sun Dec 28 22:27:19 2014	(r375759)
@@ -0,0 +1,21 @@
+Fix the build on 8-i386. All other architectures and versions are fine.
+
+/wrkdirs/usr/ports/devel/kdevelop-kde4/work/kdevelop-4.7.0/languages/cpp/parser/rpp/pp-engine.cpp: In member function 'rpp::Value rpp::pp::eval_multiplicative(rpp::Stream&)':
+/wrkdirs/usr/ports/devel/kdevelop-kde4/work/kdevelop-4.7.0/languages/cpp/parser/rpp/pp-engine.cpp:588:103: error: 'LLONG_MIN' was not declared in this scope
+       if (value.is_zero() || (!value.is_ulong() && !result.is_ulong() && value.l == -1 && result.l == LLONG_MIN)) {
+                                                                                                       ^
+/wrkdirs/usr/ports/devel/kdevelop-kde4/work/kdevelop-4.7.0/languages/cpp/parser/rpp/pp-engine.cpp:601:103: error: 'LLONG_MIN' was not declared in this scope
+       if (value.is_zero() || (!value.is_ulong() && !result.is_ulong() && value.l == -1 && result.l == LLONG_MIN)) {
+                                                                                                       ^
+languages/cpp/parser/rpp/CMakeFiles/kdev4cpprpp.dir/build.make:172: recipe for target 'languages/cpp/parser/rpp/CMakeFiles/kdev4cpprpp.dir/pp-engine.cpp.o' failed
+--- languages/cpp/parser/rpp/pp-engine.cpp
++++ languages/cpp/parser/rpp/pp-engine.cpp
+@@ -22,6 +22,8 @@
+ 
+ #include "pp-engine.h"
+ 
++#include <climits>
++
+ #include <QFile>
+ #include <QTextStream>
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412282227.sBSMRK0c015526>