Skip to content

Commit

Permalink
perlPackages.OpenGL: 0.6703 -> 0.70
Browse files Browse the repository at this point in the history
Fixes #19271 ("slic3r gui
fails").
  • Loading branch information
bjornfor authored and globin committed Mar 24, 2017
1 parent dd385d9 commit 6b6454f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion pkgs/development/perl-modules/perl-opengl.patch
Expand Up @@ -2,12 +2,14 @@ diff --git a/Makefile.PL b/Makefile.PL
index 55c485c..8501c02 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -116,12 +116,7 @@ if ($^O eq 'MSWin32' || $IS_W32API)
@@ -124,14 +124,7 @@ if ($^O eq 'MSWin32' || $IS_W32API)
# Look for available libs
our @libdirs = qw
{
- -L/usr/lib
- -L/usr/lib/i386-linux-gnu
- -L/usr/X11R6/lib
- -L/opt/X11/lib
- -L/usr/local/lib
- -L/usr/openwin/lib
- -L/opt/csw/lib
Expand Down
4 changes: 2 additions & 2 deletions pkgs/top-level/perl-packages.nix
Expand Up @@ -9966,10 +9966,10 @@ let self = _self // overrides; _self = with self; {
};

OpenGL = buildPerlPackage rec {
name = "OpenGL-0.6703";
name = "OpenGL-0.70";
src = fetchurl {
url = "mirror://cpan/authors/id/C/CH/CHM/${name}.tar.gz";
sha256 = "0k2k8zg84qj1ry77i9dvmfdfpg13s6117wy5bc4nvnzv37qcvy32";
sha256 = "1q3lz168q081iwl9jg21fbzhp9la79gav9mv6nmh2jab83s2l3mj";
};

buildInputs = with pkgs; [ mesa mesa_glu freeglut xorg.libX11 xorg.libXi xorg.libXmu xorg.libXext xdummy ];
Expand Down

0 comments on commit 6b6454f

Please sign in to comment.