rpms/tcl/devel pic.patch,NONE,1.1 tcl.spec,1.89,1.90

Marcela Mašláňová mmaslano at fedoraproject.org
Fri Jul 17 06:52:32 UTC 2009


Author: mmaslano

Update of /cvs/pkgs/rpms/tcl/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32551

Modified Files:
	tcl.spec 
Added Files:
	pic.patch 
Log Message:
For short time add another fPIC option.


pic.patch:
 Makefile.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE pic.patch ---

diff -up tcl8.5.7/unix/Makefile.in.old tcl8.5.7/unix/Makefile.in

--- tcl8.5.7/unix/Makefile.in.old	2009-04-15 21:30:05.000000000 +0200

+++ tcl8.5.7/unix/Makefile.in	2009-07-16 08:27:32.758444459 +0200

@@ -569,7 +569,7 @@ objs: ${OBJS}

 

 

 tclsh: ${TCLSH_OBJS} ${TCL_LIB_FILE}

-	${CC} ${CFLAGS} ${LDFLAGS} ${TCLSH_OBJS} @TCL_BUILD_LIB_SPEC@ ${LIBS} @EXTRA_TCLSH_LIBS@ \

+	${CC} ${CFLAGS} ${LDFLAGS} -fPIC ${TCLSH_OBJS} @TCL_BUILD_LIB_SPEC@ ${LIBS} @EXTRA_TCLSH_LIBS@ \

 		${CC_SEARCH_FLAGS} -o tclsh

 

 # Resetting the LIB_RUNTIME_DIR below is required so that the generated


Index: tcl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/tcl/devel/tcl.spec,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -p -r1.89 -r1.90
--- tcl.spec	15 Jul 2009 06:43:57 -0000	1.89
+++ tcl.spec	17 Jul 2009 06:52:32 -0000	1.90
@@ -19,6 +19,7 @@ Provides: tcl-tcldict = %{vers}
 Patch0: tcl-8.5.1-autopath.patch
 Patch1: tcl-8.5.0-conf.patch
 Patch2: tcl-8.5.0-hidden.patch
+Patch3: pic.patch
 
 %if %sdt
 BuildRequires: systemtap-sdt-devel
@@ -56,6 +57,7 @@ chmod -x generic/tclThreadAlloc.c
 %patch0 -p1 -b .autopath
 %patch1 -p1 -b .conf
 %patch2 -p1 -b .hidden
+%patch3 -p1 -b .next_pic
 
 %build
 pushd unix
@@ -64,7 +66,8 @@ autoconf
 %if %sdt
 --enable-dtrace \
 %endif
---disable-threads
+--disable-threads \
+--enable-symbols
 
 make %{?_smp_mflags} TCL_LIBRARY=%{_datadir}/%{name}%{majorver}
 




More information about the fedora-extras-commits mailing list