Now patch with soname
This commit is contained in:
parent
e0ef5eb2f2
commit
15bf93378a
@ -1,5 +1,5 @@
|
|||||||
--- tk8.4.15/unix/tcl.m4.confi 2007-05-25 18:09:54.000000000 +0200
|
--- tk8.4.15/unix/tcl.m4.confi 2007-05-25 18:09:54.000000000 +0200
|
||||||
+++ tk8.4.15/unix/tcl.m4 2007-07-31 11:18:27.000000000 +0200
|
+++ tk8.4.15/unix/tcl.m4 2007-08-09 08:00:08.000000000 +0200
|
||||||
@@ -1124,7 +1124,7 @@
|
@@ -1124,7 +1124,7 @@
|
||||||
|
|
||||||
# AIX v<=4.1 has some different flags than 4.2+
|
# AIX v<=4.1 has some different flags than 4.2+
|
||||||
@ -9,7 +9,12 @@
|
|||||||
DL_LIBS="-lld"
|
DL_LIBS="-lld"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -1349,7 +1349,7 @@
|
@@ -1345,11 +1345,11 @@
|
||||||
|
#CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
|
||||||
|
|
||||||
|
if test "$have_dl" = yes; then
|
||||||
|
- SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}'
|
||||||
|
+ SHLIB_LD='${CC} ${CFLAGS} -shared ${LDFLAGS} -Wl,-soname,${@}'
|
||||||
DL_OBJS="tclLoadDl.o"
|
DL_OBJS="tclLoadDl.o"
|
||||||
DL_LIBS="-ldl"
|
DL_LIBS="-ldl"
|
||||||
LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
|
LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
|
||||||
@ -23,10 +28,19 @@
|
|||||||
# Disable inlining only when one of the
|
# Disable inlining only when one of the
|
||||||
# files in compat/*.c is being linked in.
|
# files in compat/*.c is being linked in.
|
||||||
- if test x"${LIBOBJS}" != x ; then
|
- if test x"${LIBOBJS}" != x ; then
|
||||||
+ if test x"${AC_LIBOBJ}" != x ; then
|
+ if test x"${LIB@&t@OBJS}" != x ; then
|
||||||
CFLAGS="$CFLAGS -fno-inline"
|
CFLAGS="$CFLAGS -fno-inline"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@@ -1395,7 +1395,7 @@
|
||||||
|
SHLIB_SUFFIX=".so"
|
||||||
|
|
||||||
|
if test "$have_dl" = yes; then
|
||||||
|
- SHLIB_LD="${CC} -shared"
|
||||||
|
+ SHLIB_LD="${CC} ${CFLAGS} -shared"
|
||||||
|
DL_OBJS=""
|
||||||
|
DL_LIBS="-ldl"
|
||||||
|
LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
|
||||||
@@ -2633,7 +2633,7 @@
|
@@ -2633,7 +2633,7 @@
|
||||||
}], tcl_cv_strtod_buggy=ok, tcl_cv_strtod_buggy=buggy,
|
}], tcl_cv_strtod_buggy=ok, tcl_cv_strtod_buggy=buggy,
|
||||||
tcl_cv_strtod_buggy=buggy)])
|
tcl_cv_strtod_buggy=buggy)])
|
||||||
@ -37,7 +51,7 @@
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
--- tk8.4.15/unix/Makefile.in.confi 2007-05-25 18:09:53.000000000 +0200
|
--- tk8.4.15/unix/Makefile.in.confi 2007-05-25 18:09:53.000000000 +0200
|
||||||
+++ tk8.4.15/unix/Makefile.in 2007-07-31 11:18:39.000000000 +0200
|
+++ tk8.4.15/unix/Makefile.in 2007-07-31 11:26:15.000000000 +0200
|
||||||
@@ -639,7 +639,7 @@
|
@@ -639,7 +639,7 @@
|
||||||
fi
|
fi
|
||||||
@echo "Installing $(LIB_FILE) to $(LIB_INSTALL_DIR)/"
|
@echo "Installing $(LIB_FILE) to $(LIB_INSTALL_DIR)/"
|
||||||
|
5
tk.spec
5
tk.spec
@ -3,7 +3,7 @@
|
|||||||
Summary: The graphical toolkit for the Tcl scripting language
|
Summary: The graphical toolkit for the Tcl scripting language
|
||||||
Name: tk
|
Name: tk
|
||||||
Version: %{majorver}.15
|
Version: %{majorver}.15
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
@ -107,6 +107,9 @@ rm -rf %{buildroot}
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 9 2007 Marcela Maslanova <mmaslano@redhat.com> - 1:8.4.15-2
|
||||||
|
- Resolves: rhbz#251411
|
||||||
|
|
||||||
* Tue Jul 31 2007 Marcela Maslanova <mmaslano@redhat.com> - 1:8.4.15-1
|
* Tue Jul 31 2007 Marcela Maslanova <mmaslano@redhat.com> - 1:8.4.15-1
|
||||||
- Update tk8.4.15
|
- Update tk8.4.15
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user