parent
f40b31ebc6
commit
d95a29a01a
@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv, pkgconfig, db, libgcrypt, avahi, libiconv, pam, openssl, acl }:
|
||||
{ fetchurl, stdenv, pkgconfig, db, libgcrypt, avahi, libiconv, pam, openssl, acl, ed, glibc }:
|
||||
|
||||
stdenv.mkDerivation rec{
|
||||
name = "netatalk-3.1.7";
|
||||
@ -19,6 +19,22 @@ stdenv.mkDerivation rec{
|
||||
"--localstatedir=/var/lib"
|
||||
];
|
||||
|
||||
# Expose librpcsvc to the linker for afpd
|
||||
# Fixes errors that showed up when closure-size was merged:
|
||||
# afpd-nfsquota.o: In function `callaurpc':
|
||||
# netatalk-3.1.7/etc/afpd/nfsquota.c:78: undefined reference to `xdr_getquota_args'
|
||||
# netatalk-3.1.7/etc/afpd/nfsquota.c:78: undefined reference to `xdr_getquota_rslt'
|
||||
postConfigure = ''
|
||||
${ed}/bin/ed -v etc/afpd/Makefile << EOF
|
||||
/^afpd_LDADD
|
||||
/am__append_2
|
||||
a
|
||||
${glibc.static}/lib/librpcsvc.a \\
|
||||
.
|
||||
w
|
||||
EOF
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user