Grimmauld (any/all) | patchutils = prev.patchutils.overrideAttrs (old: rec {
version = "0.4.4";
src = final.fetchFromGitHub {
owner = "twaugh";
repo = "patchutils";
tag = version;
hash = "sha256-+gcVfNcAdcHTndHdarilbjIVsDJH6NTQsoQ5NN7veHU=";
};
nativeBuildInputs = old.nativeBuildInputs or [ ] ++ [
final.gettext
final.gnulib
final.autoconf
final.automake
];
postPatch = ''
./bootstrap
'';
});
Not too bad, seems 0.4.4 just works (though i did do a github fetch and reconf, the url we normally use didn't work for some reason)
| 12:49:28 |
Grimmauld (any/all) | opensp> dcigettext.c: At top level:
opensp> dcigettext.c:154:7: error: conflicting types for ‘getcwd’; have ‘char *(void)’
opensp> 154 | char *getcwd ();
opensp> | ^~~~~~
opensp> In file included from dcigettext.c:67:
opensp> /nix/store/xi34jjsk1y2n6pfykghiar2hlh4s16h4-fortify-headers-1.1alpine3/include/unistd.h:65:27: note: previous definition of ‘getcwd’ with type ‘char *(char *, size_t)’ {aka ‘char *(char *, long unsigned int)’}
opensp> 65 | _FORTIFY_FN(getcwd) char *getcwd(char * _FORTIFY_POS0 __s, size_t __l)
opensp> | ^~~~~~
opensp> dcigettext.c: In function ‘libintl_dcigettext’:
opensp> dcigettext.c:544:17: error: too many arguments to function ‘getcwd’; expected 0, have 2
opensp> 544 | ret = getcwd (dirname, path_max);
opensp> | ^~~~~~ ~~~~~~~
opensp> dcigettext.c:154:7: note: declared here
opensp> 154 | char *getcwd ();
opensp> | ^~~~~~
opensp> make[2]: *** [Makefile:175: dcigettext.o] Error 1
opensp> make[2]: Leaving directory '/build/OpenSP-1.5.2/intl'
opensp> make[1]: *** [Makefile:384: all-recursive] Error 1
opensp> make[1]: Leaving directory '/build/OpenSP-1.5.2'
opensp> make: *** [Makefile:273: all] Error 2
opensp looks painful... Dead project since 2005, yet po4a depends on it.
| 12:59:33 |