[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/tcl/devel tcl-8.4.13-cflags.patch,NONE,1.1 tcl.spec,1.22,1.23



Author: dcantrel

Update of /cvs/dist/rpms/tcl/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv9763

Modified Files:
	tcl.spec 
Added Files:
	tcl-8.4.13-cflags.patch 
Log Message:
- Patch from Dennis Gilmore <dennis ausil us> for sparc64 (#199375)


tcl-8.4.13-cflags.patch:
 tcl8.4.13/unix/tcl.m4 |    2 +-
 tk8.4.13/unix/tcl.m4  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE tcl-8.4.13-cflags.patch ---
--- tcl8.4.13/unix/tcl.m4.BAD 2006-07-13 14:05:38.000000000 -0400
+++ tcl8.4.13/unix/tcl.m4  2006-07-13 14:07:58.000000000 -0400
@@ -1340,7 +1340,7 @@
       #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
 
       if test "$have_dl" = yes; then
-     SHLIB_LD='${CC} -shared -Wl,-soname,${ }'
+     SHLIB_LD='${CC} $(CFLAGS) -shared -Wl,-soname,${ }'
      DL_OBJS="tclLoadDl.o"
      DL_LIBS="-ldl"
      LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
--- tk8.4.13/unix/tcl.m4.BAD  2006-07-13 13:57:14.000000000 -0400
+++ tk8.4.13/unix/tcl.m4   2006-07-13 13:57:26.000000000 -0400
@@ -1340,7 +1340,7 @@
       #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
 
       if test "$have_dl" = yes; then
-     SHLIB_LD="${CC} -shared"
+     SHLIB_LD="${CC} $(CFLAGS) -shared"
      DL_OBJS="tclLoadDl.o"
      DL_LIBS="-ldl"
      LDFLAGS="$LDFLAGS -Wl,--export-dynamic"


Index: tcl.spec
===================================================================
RCS file: /cvs/dist/rpms/tcl/devel/tcl.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- tcl.spec	12 Jul 2006 17:02:04 -0000	1.22
+++ tcl.spec	20 Jul 2006 19:00:09 -0000	1.23
@@ -3,7 +3,7 @@
 Summary: Tcl scripting language development environment
 Name: tcl
 Version: %{majorver}.13
-Release: 1.2
+Release: 2%{?dist}
 License: BSD
 Group: Development/Languages
 URL: http://tcl.sourceforge.net/
@@ -16,6 +16,7 @@
 Patch3: tcl8.3.5-tclConfig-package-path-90160.patch
 Patch4: tcl-8.4-no_rpath.patch
 Patch5: tcl-8.4.13-autoconf.patch
+Patch6: tcl-8.4.13-cflags.patch
 
 %description
 The Tcl (Tool Command Language) provides a powerful platform for
@@ -66,6 +67,7 @@
 %patch3 -p1 -b .3-pkgpath
 %patch4 -p1 -b .4-rpath
 %patch5 -p1 -b .5-ac213
+%patch6 -p1 -b .6-cflags
 
 # patch1 touches tcl.m4, and patch3 touches configure.in
 cd unix
@@ -148,6 +150,9 @@
 %doc %{name}%{version}/html/*
 
 %changelog
+* Thu Jul 20 2006 David Cantrell <dcantrell redhat com> - 8.4.13-2
+- Patch from Dennis Gilmore <dennis ausil us> for sparc64 (#199375)
+
 * Wed Jul 12 2006 Jesse Keating <jkeating redhat com> - 8.4.13-1.2
 - rebuild
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]