Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:FactoryCandidates
pink-pony
0001-Fix-compile-issues-caused-by-Imath-being-m...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Fix-compile-issues-caused-by-Imath-being-moved-out-o.patch of Package pink-pony
From 8427d76a998b8278bd6fd0a3e12fb49af7897be1 Mon Sep 17 00:00:00 2001 From: Thomas Weber <weber.t@gmx.at> Date: Sat, 2 Oct 2021 13:49:12 +0200 Subject: [PATCH] Fix compile issues caused by Imath being moved out of IlmBase --- SConstruct | 2 +- src/Line.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) --- a/SConstruct +++ b/SConstruct @@ -12,7 +12,7 @@ else: env['LIBS'] = ['GLU', 'GL', 'IL'] env['CPPPATH'] = ['#', '#/src', '#/external/tinyXML', '#/external/flextGL/', '/usr/include/OpenEXR'] -env.ParseConfig("pkg-config IlmBase --cflags --libs") +env.ParseConfig("pkg-config Imath --cflags --libs") env.ParseConfig("pkg-config libglfw --cflags --libs") env.ParseConfig("pkg-config ftgl --cflags --libs") env.ParseConfig("pkg-config sigc++-2.0 --cflags --libs") --- a/src/Line.cc +++ b/src/Line.cc @@ -1,7 +1,7 @@ #include "Line.hh" -#include <ImathLimits.h> +#include <limits> -#define EPSILON limits<double>::epsilon() +#define EPSILON std::limits<double>::epsilon() bool Line::intersects(const Line& seg) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor