rpms/tix/devel tix-8.4.0-cflags.patch,NONE,1.1 tix.spec,1.18,1.19

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Jul 20 20:19:20 UTC 2006


Author: dcantrel

Update of /cvs/dist/rpms/tix/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv28579

Modified Files:
	tix.spec 
Added Files:
	tix-8.4.0-cflags.patch 
Log Message:
- Patch from Dennis Gilmore <dennis at ausil.us> for sparc64 (#199377)


tix-8.4.0-cflags.patch:
 tcl.m4 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE tix-8.4.0-cflags.patch ---
--- tix-8.4.0/tclconfig/tcl.m4.cflags	2006-07-20 16:16:57.000000000 -0400
+++ tix-8.4.0/tclconfig/tcl.m4	2006-07-20 16:17:58.000000000 -0400
@@ -1231,7 +1231,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"
@@ -1265,7 +1265,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"


Index: tix.spec
===================================================================
RCS file: /cvs/dist/rpms/tix/devel/tix.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- tix.spec	12 Jul 2006 08:29:03 -0000	1.18
+++ tix.spec	20 Jul 2006 20:19:18 -0000	1.19
@@ -5,13 +5,14 @@
 Name: tix
 Epoch: 1
 Version: %{tixmajor}.0
-Release: 10.1
+Release: 11%{?dist}
 License: BSD
 Group: Development/Languages
 URL: http://tix.sourceforge.net/
 Source0: http://tix.sourceforge.net/dist/tix-%{version}.tar.gz
 Patch0: tix-%{version}-relid.patch
 Patch1: tix-%{version}-soname.patch
+Patch2: tix-%{version}-cflags.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 Requires: tcl >= %{tcltkver}, tk >= %{tcltkver}
 Buildrequires: tcl-devel >= %{tcltkver}, tk-devel >= %{tcltkver}
@@ -54,6 +55,7 @@
 %setup -q
 %patch0 -p1 -b .relid
 %patch1 -p1 -b .soname
+%patch2 -p1 -b .cflags
 
 # patch 0 touches tcl.m4
 autoconf
@@ -126,6 +128,9 @@
 %doc docs/*
 
 %changelog
+* Thu Jul 20 2006 David Cantrell <dcantrell at redhat.com> - 1:8.4.0-11
+- Patch from Dennis Gilmore <dennis at ausil.us> for sparc64 (#199377)
+
 * Wed Jul 12 2006 Jesse Keating <jkeating at redhat.com> - 1:8.4.0-10.1
 - rebuild
 




More information about the fedora-cvs-commits mailing list