Skip to content

Commit

Permalink
libogg: fix build on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
marsam committed Oct 25, 2019
1 parent b465883 commit b2b77b3
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pkgs/development/libraries/libogg/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl }:
{ stdenv, fetchurl, fetchpatch }:

stdenv.mkDerivation rec {
name = "libogg-1.3.4";
Expand All @@ -10,6 +10,14 @@ stdenv.mkDerivation rec {

outputs = [ "out" "dev" "doc" ];

patches = stdenv.lib.optionals stdenv.isDarwin [
# Fix unsigned typedefs on darwin. Remove with the next release https://github.com/xiph/ogg/pull/64
(fetchpatch {
url = "https://github.com/xiph/ogg/commit/c8fca6b4a02d695b1ceea39b330d4406001c03ed.patch";
sha256 = "1s72g37y87x0a74zjji9vx2hyk86kr4f2l3m4y2fipvlf9348b3f";
})
];

meta = with stdenv.lib; {
description = "Media container library to manipulate Ogg files";
longDescription = ''
Expand Down

0 comments on commit b2b77b3

Please sign in to comment.