perlPackages.OpenGL: 0.6703 -> 0.70

Fixes https://github.com/NixOS/nixpkgs/issues/19271 ("slic3r gui
fails").
This commit is contained in:
Bjørn Forsman 2016-10-13 19:43:04 +02:00 committed by Robin Gloster
parent dd385d9468
commit 6b6454f190
No known key found for this signature in database
GPG key ID: 5E4C836C632C2882
2 changed files with 5 additions and 3 deletions

View file

@ -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

View file

@ -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 ];