Commit 4bc52a88 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Fix bug caused by glibc-2.30 changing the user-space API for sockets

parent 86772624
......@@ -22,13 +22,10 @@ all: pam-cups
mv -v /etc/gshadow /data/etc/gshadow
ln -sv /data/etc/gshadow /etc/gshadow
tar xf cups-2.3.3-source.tar.gz
cd cups-2.3.3 && sed -i 's:555:755:g;s:444:644:g' Makedefs.in
cd cups-2.3.3 && sed -i '/MAN.EXT/s:.gz::g' configure config-scripts/cups-manpages.m4
cd cups-2.3.3 && aclocal -I config-scripts
cd cups-2.3.3 && autoconf -I config-scripts
cd cups-2.3.3 && CC=gcc ./configure --libdir=/usr/lib --with-rcdir=/tmp/cupsinit --with-system-groups=lpadmin --with-docdir=/usr/share/cups/doc-2.3.3
cd cups-2.3.3 && sed -i '/stat.h/a #include <asm-generic/ioctls.h>' tools/ipptool.c
cd cups-2.3.3 && CC=gcc CXX=g++ ./configure --libdir=/usr/lib --with-rcdir=/tmp/cupsinit --with-system-groups=lpadmin --with-docdir=/usr/share/cups/doc-2.3.3
$(MAKE) -C cups-2.3.3
cd cups-2.3.3 && chown -Rv nobody . && su nobody -s /bin/bash -c "PATH=$$PATH make -k check"
cd cups-2.3.3 && chown -Rv nobody . && su nobody -s /bin/bash -c "LC_ALL=C PATH=$$PATH make -k check"
$(MAKE) -C cups-2.3.3 install
rm -rf /tmp/cupsinit
ln -svnf ../cups/doc-2.3.3 /usr/share/doc/cups-2.3.3
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment