diff --git a/openscad-2011.12-glu.patch b/openscad-2011.12-glu.patch new file mode 100644 index 0000000..57bdaec --- /dev/null +++ b/openscad-2011.12-glu.patch @@ -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++* { diff --git a/openscad.changes b/openscad.changes index f6ad61f..39ec160 100644 --- a/openscad.changes +++ b/openscad.changes @@ -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 diff --git a/openscad.spec b/openscad.spec index 12493c7..3fb4a68 100644 --- a/openscad.spec +++ b/openscad.spec @@ -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}