commit
8c2b9583e1
3 changed files with 31 additions and 3 deletions
12
pkgs/misc/screensavers/rss-glx/cstddef.patch
Normal file
12
pkgs/misc/screensavers/rss-glx/cstddef.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff --git i/src/Implicit/impSurface.h w/src/Implicit/impSurface.h
|
||||
index 41fab81..027587f 100644
|
||||
--- i/src/Implicit/impSurface.h
|
||||
+++ w/src/Implicit/impSurface.h
|
||||
@@ -25,6 +25,7 @@
|
||||
#ifdef WIN32
|
||||
#include <windows.h>
|
||||
#endif
|
||||
+#include <cstddef>
|
||||
#include <vector>
|
||||
#include <GL/gl.h>
|
||||
|
|
@ -1,4 +1,16 @@
|
|||
{lib, stdenv, fetchurl, pkg-config, xlibsWrapper, libXext, libGLU, libGL, imagemagick6, libtiff, bzip2}:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, autoconf
|
||||
, pkg-config
|
||||
, xlibsWrapper
|
||||
, libXext
|
||||
, libGLU
|
||||
, libGL
|
||||
, imagemagick6
|
||||
, libtiff
|
||||
, bzip2
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.9.1";
|
||||
|
@ -9,9 +21,13 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1aikafjqrfmv23jnrrm5d56dg6injh4l67zjdxzdapv9chw7g3cg";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
nativeBuildInputs = [ autoconf pkg-config ];
|
||||
buildInputs = [ libGLU libGL xlibsWrapper imagemagick6 libtiff bzip2 ];
|
||||
|
||||
patches = [
|
||||
./cstddef.patch
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${imagemagick6.dev}/include/ImageMagick";
|
||||
NIX_LDFLAGS= "-rpath ${libXext}/lib";
|
||||
|
||||
|
|
|
@ -34741,7 +34741,7 @@ with pkgs;
|
|||
stdenv = gccStdenv;
|
||||
};
|
||||
|
||||
rss-glx = callPackage ../misc/screensavers/rss-glx { stdenv = gcc10StdenvCompat; };
|
||||
rss-glx = callPackage ../misc/screensavers/rss-glx { };
|
||||
|
||||
run-scaled = callPackage ../tools/X11/run-scaled { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue