From 15f356e38175ec4ef9104698ae29de6a7056454e Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Mon, 10 Mar 2008 15:12:44 +0000 Subject: [PATCH] Fixed nullmailer to run ranlib for libnullmailer.a so it crosscompiles fine --- .../hotfix-ranlib-libnullmailer.patch | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 mail/nullmailer/hotfix-ranlib-libnullmailer.patch diff --git a/mail/nullmailer/hotfix-ranlib-libnullmailer.patch b/mail/nullmailer/hotfix-ranlib-libnullmailer.patch new file mode 100644 index 000000000..72b695d25 --- /dev/null +++ b/mail/nullmailer/hotfix-ranlib-libnullmailer.patch @@ -0,0 +1,30 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../nullmailer/hotfix-ranlib-libnullmailer.patch +# Copyright (C) 2008 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +on stage 1 one gets: +x86_64-unknown-linux-gnu-g++ -g -O2 -fno-rtti -fno-exceptions -W -Wall -o smtp smtp.o protocol.o ../lib/cli++/libcli++.a ../lib/libnullmailer.a +../lib/libnullmailer.a: could not read symbols: Archive has no index; run ranlib to add one + +--- ./lib/Makefile.in.orig 2008-03-10 14:49:02.000000000 +0000 ++++ ./lib/Makefile.in 2008-03-10 14:52:04.000000000 +0000 +@@ -563,6 +563,7 @@ + libmisc.a \ + fdbuf/libfdbuf.a \ + mystring/libmystring.a ++ $(RANLIB) libnullmailer.a + + defines.cc: Makefile.am make_defines.sh + @echo Creating defines.cc