Skip to content

Commit

Permalink
Merge pull request #331331 from donovanglover/srb2-libglu
Browse files Browse the repository at this point in the history
srb2: patch missing libGLU dependency
  • Loading branch information
donovanglover authored Aug 11, 2024
2 parents 3710bfc + 05ef469 commit 7aa162d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/by-name/sr/srb2/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
, nasm
, libopenmpt
, game-music-emu
, libGLU
, libpng
, SDL2
, SDL2_mixer
Expand Down Expand Up @@ -80,6 +81,11 @@ stdenv.mkDerivation (finalAttrs: {
./thirdparty.patch
];

postPatch = ''
substituteInPlace ./src/sdl/ogl_sdl.c \
--replace libGLU.so.1 ${libGLU}/lib/libGLU.so.1
'';

desktopItems = [
(makeDesktopItem rec {
name = "Sonic Robo Blast 2";
Expand Down

0 comments on commit 7aa162d

Please sign in to comment.