mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
id3: 0.81 -> 0.82 (#531072)
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
diff --git a/fileops.c b/fileops.c
|
||||
index 1e70af1..9017bd0 100644
|
||||
--- a/fileops.c
|
||||
+++ b/fileops.c
|
||||
@@ -68,7 +68,6 @@ FILE *ftemp(char *templ, const char *mode)
|
||||
#else
|
||||
int fd = mkstemp(templ);
|
||||
if(fd >= 0) {
|
||||
- FILE* fdopen(); /* in case -ansi is used */
|
||||
if(f = fdopen(fd, mode)) return f;
|
||||
close(fd);
|
||||
#endif
|
||||
@@ -7,20 +7,15 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "id3";
|
||||
version = "0.81";
|
||||
version = "0.82";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "squell";
|
||||
repo = "id3";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-+h1wwgTB7CpbjyUAK+9BNRhmy83D+1I+cZ70E1m3ENk=";
|
||||
hash = "sha256-WwE+DotmA4Z5H4J5ShSWERk1K2QqvY01f8qnw0IRXR8=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/squell/id3/pull/35
|
||||
./fix-gcc15.patch
|
||||
];
|
||||
|
||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
|
||||
|
||||
makeFlags = [ "prefix=$(out)" ];
|
||||
|
||||
Reference in New Issue
Block a user