- fix build (glu.patch)

OBS-URL: https://build.opensuse.org/package/show/graphics/openscad?expand=0&rev=7
This commit is contained in:
Pavol Rusnak 2012-11-23 12:50:35 +00:00 committed by Git OBS Bridge
parent 92dcc00a85
commit 25d69b8b17
3 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,14 @@
--- openscad.pro
+++ openscad.pro
@@ -81,10 +81,7 @@ win32 {
CONFIG += qt
QT += opengl
-# Fedora Linux + DSO fix
-linux*:exists(/usr/lib64/libGLU*)|linux*:exists(/usr/lib/libGLU*) {
- LIBS += -lGLU
-}
+LIBS += -lGLU
# See Dec 2011 OpenSCAD mailing list, re: CGAL/GCC bugs.
*g++* {

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Nov 23 12:52:11 UTC 2012 - prusnak@opensuse.org
- fix build (glu.patch)
-------------------------------------------------------------------
Sun Jan 8 16:40:47 UTC 2012 - prusnak@opensuse.org

View File

@ -10,6 +10,7 @@ Summary: Programmers Solid 3D CAD Modeller
Url: http://openscad.org/
Group: Productivity/Graphics/CAD
Source: https://github.com/downloads/openscad/openscad/%{name}-%{version}.src.tar.gz
Patch0: %{name}-%{version}-glu.patch
BuildRequires: flex
BuildRequires: gcc-c++
BuildRequires: glew-devel
@ -42,6 +43,7 @@ movies.
%prep
%setup -q
%patch0
%build
%if 0%{?suse_version}