Hello community,

here is the log from the commit of package blktrace for openSUSE:Factory
checked in at Mon Sep 5 16:21:25 CEST 2011.



--------
--- blktrace/blktrace.changes   2009-10-15 22:09:53.000000000 +0200
+++ blktrace/blktrace.changes   2011-09-03 21:21:44.000000000 +0200
@@ -1,0 +2,5 @@
+Sat Sep  3 19:21:08 UTC 2011 - [email protected]
+
+- Fix build with no-add-needed (missing -pthread) 
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  blktrace-pthread.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ blktrace.spec ++++++
--- /var/tmp/diff_new_pack.UTlhSA/_old  2011-09-05 16:20:15.000000000 +0200
+++ /var/tmp/diff_new_pack.UTlhSA/_new  2011-09-05 16:20:15.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package blktrace (Version 1.0.1)
+# spec file for package blktrace
 #
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,13 +24,14 @@
 License:        GPL v2 only
 Group:          Development/Tools/Other
 Version:        1.0.1
-Release:        4
+Release:        14
 Url:            http://git.kernel.dk/?p=blktrace.git;a=summary
 Source0:        %name-%version.tar.bz2
 Patch0:         0001-Update-q_iop-c_time-in-handle_queue.patch
 Patch1:         0001-btrecord-Fix-memory-leak-in-find_input_files.patch
 # PATCH-FIX-OPENSUSE blktrace-1.0.1-fix-memory-leak-in-find_input_devs.patch 
bnc#546035
 Patch2:         blktrace-1.0.1-fix-memory-leak-in-find_input_devs.patch
+Patch3:         blktrace-pthread.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  gcc libaio-devel
 %if 0%{?with_docs}
@@ -59,6 +60,8 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2
+%patch3
 
 %build
 make CFLAGS="$RPM_OPT_FLAGS" all %{?with_docs: docs}

++++++ blktrace-pthread.patch ++++++
--- btreplay/Makefile.orig
+++ btreplay/Makefile
@@ -9,7 +9,7 @@ CC      = gcc
 CFLAGS = -Wall -W -O2 -g
 INCS   = -I. -I.. -I../btt
 OCFLAGS        = -UCOUNT_IOS -UDEBUG -DNDEBUG
-XCFLAGS        = -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
+XCFLAGS        = -pthread -D_GNU_SOURCE -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64
 override CFLAGS += $(INCS) $(XCFLAGS) $(OCFLAGS)
 
 PROGS  = btrecord btreplay

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to