git.iko.soy/typeable/nixpkgs
on master help sign in
libogg: fix build on darwin
commitb2b77b3b5e2c1a8a9da155571ecd61a7cc7158a9 authorMario Rodas <marsam@users.noreply.github.com> dateThu 24 Oct 2019, 20:00 (7 years ago) parentb465883
1 file changed+9−1
pkgs/development/libraries/libogg/default.nix+9−1
pkgs/development/libraries/libogg/default.nix+9−1
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ stdenv, fetchurl, fetchpatch }:
22
33stdenv.mkDerivation rec {
44 name = "libogg-1.3.4";
@@ -10,6 +10,14 @@ stdenv.mkDerivation rec {
1010
1111 outputs = [ "out" "dev" "doc" ];
1212
13+ patches = stdenv.lib.optionals stdenv.isDarwin [
14+ # Fix unsigned typedefs on darwin. Remove with the next release https://github.com/xiph/ogg/pull/64
15+ (fetchpatch {
16+ url = "https://github.com/xiph/ogg/commit/c8fca6b4a02d695b1ceea39b330d4406001c03ed.patch";
17+ sha256 = "1s72g37y87x0a74zjji9vx2hyk86kr4f2l3m4y2fipvlf9348b3f";
18+ })
19+ ];
20+
1321 meta = with stdenv.lib; {
1422 description = "Media container library to manipulate Ogg files";
1523 longDescription = ''