git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #71956 from marsam/fix-libogg-darwin

libogg: fix build on darwin

commitd6fc52b8caecdc7244aadd80e71597cc545e3f9b authorMario Rodas <marsam@users.noreply.github.com> dateFri 25 Oct 2019, 08:49 (7 years ago) parent8e0563eb2b77b3
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 = ''