rpms/s390utils/devel 1000-ziomon-linker.patch, NONE, 1.1 s390utils.spec, 1.19, 1.20

Dan Horák sharkcz at fedoraproject.org
Thu Jun 10 07:13:43 UTC 2010


Author: sharkcz

Update of /cvs/pkgs/rpms/s390utils/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv26880

Modified Files:
	s390utils.spec 
Added Files:
	1000-ziomon-linker.patch 
Log Message:
* Thu Jun 10 2010 Dan Horák <dan[at]danny.cz> 2:1.8.2-10.1
- fix linking with --no-add-needed


1000-ziomon-linker.patch:
 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE 1000-ziomon-linker.patch ---
diff -up s390-tools-1.8.2/ziomon/Makefile.linker s390-tools-1.8.2/ziomon/Makefile
--- s390-tools-1.8.2/ziomon/Makefile.linker	2010-06-10 08:54:55.000000000 +0200
+++ s390-tools-1.8.2/ziomon/Makefile	2010-06-10 08:55:48.000000000 +0200
@@ -21,7 +21,7 @@ ziomon_util: ziomon_util_main.o ziomon_t
 ziomon_zfcpdd_main.o: ziomon_zfcpdd.c ziomon_zfcpdd.h
 	$(CC) -DWITH_MAIN $(CFLAGS) $(CPPFLAGS) -c $< -o $@
 ziomon_zfcpdd: ziomon_zfcpdd_main.o ziomon_tools.o
-	$(LINK) $^ -o $@ -lm -lrt
+	$(LINK) $^ -o $@ -lm -lrt -lpthread
 
 ziorep_traffic: ziorep_traffic.o ziorep_framer.o ziorep_frameset.o \
 		ziorep_printers.o ziomon_dacc.o ziomon_util.o \


Index: s390utils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/s390utils/devel/s390utils.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -p -r1.19 -r1.20
--- s390utils.spec	20 Jan 2010 08:22:59 -0000	1.19
+++ s390utils.spec	10 Jun 2010 07:13:42 -0000	1.20
@@ -8,7 +8,7 @@ Name:           s390utils
 Summary:        Utilities and daemons for IBM System/z
 Group:          System Environment/Base
 Version:        1.8.2
-Release:        10%{?dist}
+Release:        10%{?dist}.1
 Epoch:          2
 License:        GPLv2 and GPLv2+ and CPL
 Buildroot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -56,6 +56,8 @@ Patch20:  0020-lstape-fix-return-code.pa
 Patch21:  0021-cpuplugd-fix-reading-the-size-of-proc-sys-vm-cmm_pag.patch
 Patch22:  0022-lsqeth-support-new-attributes.patch
 
+Patch1000:  1000-ziomon-linker.patch
+
 Patch100:       cmsfs-1.1.8-warnings.patch
 Patch101:       cmsfs-1.1.8-kernel26.patch
 
@@ -150,6 +152,9 @@ be used together with the zSeries (s390)
 # Support new attributes in lsqeth (#556915)
 %patch22 -p1 -b .lsqeth-new-attrs
 
+# Fix linking with --no-add-needed
+%patch1000 -p1 -b .linker
+
 #
 # cmsfs
 #
@@ -846,6 +851,9 @@ User-space development files for the s39
 
 
 %changelog
+* Thu Jun 10 2010 Dan Horák <dan[at]danny.cz> 2:1.8.2-10.1
+- fix linking with --no-add-needed
+
 * Wed Jan 20 2010 Dan Horák <dan[at]danny.cz> 2:1.8.2-10
 - fixed return codes in ziorep (#556849)
 - fixed return code in lstape (#556910)



More information about the scm-commits mailing list