SHA256
3
0
forked from pool/libtool

Accepting request 63920 from Base:System

Accepted submit request 63920 from user coolo

OBS-URL: https://build.opensuse.org/request/show/63920
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtool?expand=0&rev=27
This commit is contained in:
Sascha Peilicke 2011-03-14 08:38:00 +00:00 committed by Git OBS Bridge
commit 881a6af123
8 changed files with 62 additions and 97 deletions

10
_service Normal file
View File

@ -0,0 +1,10 @@
<services>
<service name="download_url">
<param name="host">ftp.gnu.org</param>
<param name="protocol">http</param>
<param name="path">/gnu/libtool/libtool-2.4.tar.gz</param>
</service>
<service name="recompress"
><param name="file"
>_service:download_url:libtool-2.4.tar.gz</param
><param name="compression">bz2</param></service></services>

View File

@ -1,65 +0,0 @@
From 2680f79c22e6bb1f8b9c7b5428da728b7e028b0c Mon Sep 17 00:00:00 2001
From: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date: Sat, 28 Aug 2010 11:34:24 +0200
Subject: Fix AC_LANG_PROGRAM warnings from git Autoconf.
References: bnc#675573
* libltdl/m4/libtool.m4 (_LT_SYS_MODULE_PATH_AIX): Fix
underquoted AC_LANG_PROGRAM call.
(LT_PROG_AR): Use AC_LANG_PROGRAM.
(_LT_LINKER_SHLIBS) [irix, GCC]: Use the right source for the
given language.
* NEWS: Update.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
---
ChangeLog | 10 ++++++++++
libltdl/m4/libtool.m4 | 15 ++++++++++++---
2 files changed, 22 insertions(+), 3 deletions(-)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-08-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ Fix AC_LANG_PROGRAM warnings from git Autoconf.
+ * libltdl/m4/libtool.m4 (_LT_SYS_MODULE_PATH_AIX): Fix
+ underquoted AC_LANG_PROGRAM call.
+ (_LT_LINKER_SHLIBS) [irix, GCC]: Use the right source for the
+ given language.
+
2009-11-16 Peter O'Gorman <peter@pogma.com>
Really update libltdl version-info.
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -1021,7 +1021,7 @@ m4_defun([_LT_DARWIN_LINKER_FEATURES],
# to the aix ld manual.
m4_defun([_LT_SYS_MODULE_PATH_AIX],
[m4_require([_LT_DECL_SED])dnl
-AC_LINK_IFELSE(AC_LANG_PROGRAM,[
+AC_LINK_IFELSE([AC_LANG_PROGRAM],[
lt_aix_libpath_sed='
/Import File Strings/,/^$/ {
/^0/ {
@@ -4826,9 +4826,18 @@ _LT_EOF
# implicitly export all symbols.
save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
- AC_LINK_IFELSE(int foo(void) {},
+ AC_LINK_IFELSE(
+ [AC_LANG_SOURCE(
+ [AC_LANG_CASE([C], [[int foo (void) { return 0; }]],
+ [C++], [[int foo (void) { return 0; }]],
+ [Fortran 77], [[
+ subroutine foo
+ end]],
+ [Fortran], [[
+ subroutine foo
+ end]])])], [
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
- )
+ ])
LDFLAGS="$save_LDFLAGS"
else
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:66ebad3c02e5cb6672bfbda1183fb6fc919d33d676eb8be4b7834aa7c3b8b7ae
size 739089

View File

@ -1,12 +0,0 @@
Index: libltdl/m4/libtool.m4
===================================================================
--- libltdl/m4/libtool.m4.orig
+++ libltdl/m4/libtool.m4
@@ -684,7 +684,6 @@ _LT_CONFIG_SAVE_COMMANDS([
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
_LT_COPYING

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Wed Mar 9 14:07:54 UTC 2011 - giecrilj@stegny.2a.pl
- update to 2.4, which has quite some new stuff. Limiting here to
incompatible changes:
- The fix_srcfile_path variable has been replaced by a more thorough
mechanism triggered by the to_tool_file_cmd variable.
- The wrapper command line option support described above introduces the
following incompatibility: the wrapper will remove any command line
options that begin with '--lt-*' from the argument list before launching
(uninstalled) programs. Any '--lt-*' option on the command line not
recognized by the wrapper will result in an error.
- The type of the symbol lists variables (lt_*_LTX_preloaded_symbols) has
been fixed in the manual and in a couple of tests to match the actual
implementation.
-------------------------------------------------------------------
Mon Feb 28 22:00:49 CET 2011 - jslaby@suse.de
- Fix AC_LANG_PROGRAM warnings (bnc#675573)
-------------------------------------------------------------------
Sun Oct 31 12:37:02 UTC 2010 - jengelh@medozas.de

View File

@ -1,5 +1,5 @@
#
# spec file for package libtool-testsuite
# spec file for package libtool
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -23,8 +23,8 @@ Requires: tar
License: GPLv2+
Group: Development/Tools/Building
Summary: A Tool to Build Shared Libraries
Version: 2.2.6b
Release: 11
Version: 2.4
Release: 10
AutoReqProv: on
# bug437293
%ifarch ppc64
@ -34,10 +34,9 @@ Obsoletes: libtool-64bit
PreReq: %{install_info_prereq}
Requires: libltdl7 = %{version}
Url: http://www.gnu.org/software/libtool/
Source: ftp://ftp.gnu.org/pub/gnu/libtool/libtool-%{version}.tar.lzma
Source: http://ftp.gnu.org/gnu/libtool/libtool-%{version}.tar.bz2
Source2: baselibs.conf
Patch1: libtool-no-hostname.patch
#Patch: libtool-%{version}.diff
#Patch: libtool-%%{version}.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -55,8 +54,6 @@ Library needed by programs that use the ltdl interface of GNU libtool.
%prep
%setup -q -n libtool-%{version}
%patch1 -p0
#%patch -p1
%build
./configure CFLAGS="$RPM_OPT_FLAGS" \
@ -107,6 +104,8 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libltdl.so
/usr/share/aclocal/*.m4
%doc %{_infodir}/libtool.info*
%doc %{_mandir}/man1/libtool.1.gz
%doc %{_mandir}/man1/libtoolize.1.gz
/usr/share/libtool
%files -n libltdl7

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Wed Mar 9 14:07:54 UTC 2011 - giecrilj@stegny.2a.pl
- update to 2.4, which has quite some new stuff. Limiting here to
incompatible changes:
- The fix_srcfile_path variable has been replaced by a more thorough
mechanism triggered by the to_tool_file_cmd variable.
- The wrapper command line option support described above introduces the
following incompatibility: the wrapper will remove any command line
options that begin with '--lt-*' from the argument list before launching
(uninstalled) programs. Any '--lt-*' option on the command line not
recognized by the wrapper will result in an error.
- The type of the symbol lists variables (lt_*_LTX_preloaded_symbols) has
been fixed in the manual and in a couple of tests to match the actual
implementation.
-------------------------------------------------------------------
Mon Feb 28 22:00:49 CET 2011 - jslaby@suse.de

View File

@ -23,8 +23,8 @@ Requires: tar
License: GPLv2+
Group: Development/Tools/Building
Summary: A Tool to Build Shared Libraries
Version: 2.2.6b
Release: 15
Version: 2.4
Release: 10
AutoReqProv: on
# bug437293
%ifarch ppc64
@ -34,11 +34,9 @@ Obsoletes: libtool-64bit
PreReq: %{install_info_prereq}
Requires: libltdl7 = %{version}
Url: http://www.gnu.org/software/libtool/
Source: ftp://ftp.gnu.org/pub/gnu/libtool/libtool-%{version}.tar.lzma
Source: http://ftp.gnu.org/gnu/libtool/libtool-%{version}.tar.bz2
Source2: baselibs.conf
Patch0: fix-AC_LANG_PROGRAM-warnings.patch
Patch1: libtool-no-hostname.patch
#Patch: libtool-%{version}.diff
#Patch: libtool-%%{version}.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -56,9 +54,6 @@ Library needed by programs that use the ltdl interface of GNU libtool.
%prep
%setup -q -n libtool-%{version}
%patch0 -p1
%patch1 -p0
#%patch -p1
%build
./configure CFLAGS="$RPM_OPT_FLAGS" \
@ -109,6 +104,8 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libltdl.so
/usr/share/aclocal/*.m4
%doc %{_infodir}/libtool.info*
%doc %{_mandir}/man1/libtool.1.gz
%doc %{_mandir}/man1/libtoolize.1.gz
/usr/share/libtool
%files -n libltdl7