summaryrefslogtreecommitdiff
path: root/pkgs/os-specific/linux/dmraid (follow)
Commit message (Expand)AuthorAgeFilesLines
* dmraid: fix build with gcc15•••- add rebased patch from alpine: https://gitlab.alpinelinux.org/alpine/aports/-/raw/dc5b3135517ede55f5e3530e538ca75048d26565/main/dmraid/008-gcc15.patch (does not apply with `fetchpatch` even with `stripLen` and `extraPrefix`) Fixes build failure with gcc15: ``` activate/activate.c:893:34: error: passing argument 3 of 'do_device' from incompatible pointer type [-Wincompatible-pointer-types] 893 | return do_device(lc, rs, dm_register_for_event); | ^~~~~~~~~~~~~~~~~~~~~ | | | int (*)(char *, char *) activate/activate.c:869:62: note: expected 'int (*)(void)' but argument is of type 'int (*)(char *, char *)' 869 | do_device(struct lib_context *lc, struct raid_set *rs, int (*f) ()) | ~~~~~~^~~~~ activate/activate.c:850:1: note: 'dm_register_for_event' declared here 850 | dm_register_for_event(char *dev_name, char *lib_name) | ^~~~~~~~~~~~~~~~~~~~~ misc/file.c:66:17: error: initialization of 'ssize_t (*)(void)' {aka 'long int (*)(void)'} from incompatible pointer type 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'} [-Wincompatible-pointer-types] 66 | read, "read"}, { | ^~~~ misc/file.c:67:9: error: initialization of 'ssize_t (*)(void)' {aka 'long int (*)(void)'} from incompatible pointer type 'ssize_t (*)(int, const void *, size_t)' {aka 'long int (*)(int, const void *, long unsigned int)'} [-Wincompatible-pointer-types] 67 | write, "writ"},}, *rw = rw_spec + ((flags & O_WRONLY) ? 1 : 0); | ^~~~~ misc/file.c:67:9: note: (near initialization for 'rw_spec[1].func') ``` ghpzin2025-09-282-0/+37
* treewide: run nixfmt 1.0.0Wolfgang Walther2025-07-241-26/+24
* dmraid: patch dmevent_tool.c to compile on modern gcc versionstotaltaxamount2024-12-262-1/+24
* treewide: format all inactive Nix files•••After final improvements to the official formatter implementation, this commit now performs the first treewide reformat of Nix files using it. This is part of the implementation of RFC 166. Only "inactive" files are reformatted, meaning only files that aren't being touched by any PR with activity in the past 2 months. This is to avoid conflicts for PRs that might soon be merged. Later we can do a full treewide reformat to get the rest, which should not cause as many conflicts. A CI check has already been running for some time to ensure that new and already-formatted files are formatted, so the files being reformatted here should also stay formatted. This commit was automatically created and can be verified using nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \ --argstr baseRev b32a0943687d2a5094a6d92f25a4b6e16a76b5b7 result/bin/apply-formatting $NIXPKGS_PATH Silvan Mosberger2024-12-101-7/+16
* dmraid: explicitly disable parallel buildingSergei Trofimovich2021-10-201-0/+5
* os-specific/linux: replace name with pname&versionFelix Buehler2021-08-291-2/+3
* pkgs/os-specific: stdenv.lib -> libBen Siraphob2021-01-171-6/+6
* dmraid: add license•••see issue #43716 Pascal Wittmann2018-08-051-0/+1
* treewide: remove aliases in nixpkgs•••This makes the command ‘nix-env -qa -f. --arg config '{skipAliases = true;}'’ work in Nixpkgs. Misc... - qtikz: use libsForQt5.callPackage This ensures we get the right poppler. - rewrites: docbook5_xsl -> docbook_xsl_ns docbook_xml_xslt -> docbook_xsl diffpdf: fixup Matthew Bauer2018-07-181-2/+2
* treewide: http -> https sources (#42676)•••* treewide: http -> https sources This updates the source urls of all top-level packages from http to https where possible. * buildtorrent: fix url and tab -> spaces Silvan Mosberger2018-06-281-1/+1
* dmraid: patch to fix users of dmraid•••I hoped that setting -D_GNU_SOURCE in the build would avoid the need for this patch -- but that only fixes the build itself, this patch adds the define so headers work elsewhere. Particularly, this fixes libblockdev w/musl -- before this change it fails to "detect" headers for dmraid.h since it doesn't compile. Will Dietz2018-06-231-0/+6
* dmraid: fix w/musl (missing includes, -D_GNU_SOURCE)Will Dietz2018-06-181-2/+12
* Merge remote-tracking branch 'upstream/master' into hardened-stdenvRobin Gloster2016-07-251-1/+1
|\
| * dmraid: Fix typoTuomas Tynkkynen2016-07-231-1/+1
* | dmraid: add patch to build with format hardeningRobin Gloster2016-01-302-0/+20
|/
* dmraid: Fix install target in lib/Makefile.in.•••The dmraid shared object file is created with a soname that contains a version. Unfortunately, the install target in the Makefile does not properly match on files ending with .so and so does not install it with the version suffix. Previously we only had a static library, which doesn't do much trouble if the version is missing, but with the dynamic library the ELF file depending on libdmraid uses the version, while the library itself isn't present with that suffix. Signed-off-by: aszlig <aszlig@redmoonstudios.org> aszlig2014-10-031-0/+4
* Update dmraidMichael Raskin2014-08-311-2/+2
* Fix dmraid build•••http://hydra.nixos.org/build/2842473 Eelco Dolstra2012-07-183-37/+15
* Adding dmraid•••svn path=/nixpkgs/trunk/; revision=17292 Michael Raskin2009-09-203-0/+48