libunique fixes

I'll update it to 1.1.6 tomorrow

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9181 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Andrew Benton 2012-01-16 00:06:06 +00:00
parent e052635d09
commit 75f50a95fc

View File

@ -79,7 +79,9 @@
<para>Install <application>libunique</application> by running the following
commands:</para>
<screen><userinput>./configure --prefix=/usr &amp;&amp;
<screen><userinput>sed -i '/DG_DISABLE_DEPRECATED/d' unique/Makefile.in &amp;&amp;
./configure --prefix=/usr --disable-static &amp;&amp;
sed -i 's# -Werror ##' unique/dbus/Makefile &amp;&amp;
make</userinput></screen>
<para>This package does not come with a test suite.</para>
@ -93,6 +95,14 @@ make</userinput></screen>
<sect2 role="commands">
<title>Command Explanations</title>
<para><command>sed -i '/DG_DISABLE_DEPRECATED/d' ...</command>:
<application>Libunique</application> uses functions that are deprecated in
the current version of <application>Glib</application>. This sed allows it
to compile using those deprecated functions.</para>
<para><command>sed -i 's# -Werror ##' ...</command>: This sed disables
treating warnings as errors in the Makefile that deals with dbus.</para>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/gtk-doc-rebuild.xml"/>