Hello community, here is the log from the commit of package ibmasm checked in at Tue Jan 16 17:26:37 CET 2007. -------- --- ibmasm/ibmasm.changes 2006-01-25 21:36:32.000000000 +0100 +++ /mounts/work_src_done/STABLE/ibmasm/ibmasm.changes 2007-01-16 12:35:58.000000000 +0100 @@ -1,0 +2,6 @@ +Tue Jan 16 12:28:54 CET 2007 - adrian@suse.de + +- use $RPM_OPT_FLAGS for compiling +- fix build, do not use an implicit declare memset() call + +------------------------------------------------------------------- New: ---- build-fix.diff use-rpm-opt-flags.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ibmasm.spec ++++++ --- /var/tmp/diff_new_pack.J26640/_old 2007-01-16 17:26:17.000000000 +0100 +++ /var/tmp/diff_new_pack.J26640/_new 2007-01-16 17:26:17.000000000 +0100 @@ -1,33 +1,35 @@ # # spec file for package ibmasm (Version 3.0) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # -# Please submit bugfixes or comments via http://bugs.opensuse.org +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: ibmasm BuildRequires: xorg-x11-devel -License: GPL +License: GNU General Public License (GPL) URL: http://www.ibm.com Group: System/Kernel Autoreqprov: on Version: 3.0 -Release: 2 +Release: 44 Summary: IBM Advanced System Management Drivers Source: ibmasm_user_%version.tar.bz2 Source1: ibmasmrc BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %fillup_prereq %insserv_prereq Patch1: ibmasm_sles10_updates.patch +Patch2: use-rpm-opt-flags.diff +Patch3: build-fix.diff %description This package contains the tools necessary to set up the IBM Advanced -System Management Drivers that are shipped with the SuSE kernel. +System Management Drivers that are shipped with the SUSE kernel. @@ -38,6 +40,8 @@ %prep %setup -q -n ibmasm %patch1 +%patch2 +%patch3 %build cd src @@ -73,6 +77,9 @@ /usr/sbin/rcibmasm %changelog -n ibmasm +* Tue Jan 16 2007 - adrian@suse.de +- use $RPM_OPT_FLAGS for compiling +- fix build, do not use an implicit declare memset() call * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Mon Jan 23 2006 - adrian@suse.de ++++++ build-fix.diff ++++++ --- src/bin/halt/ibmsphalt.c +++ src/bin/halt/ibmsphalt.c 2007/01/16 11:34:44 @@ -27,6 +27,7 @@ #include <libibmasm.h> #include <syslog.h> +#include <string.h> #define N_IGNORE 13 static unsigned char *ignore[N_IGNORE] = { ++++++ use-rpm-opt-flags.diff ++++++ --- src/api/Makefile +++ src/api/Makefile 2007/01/16 11:26:27 @@ -2,7 +2,7 @@ api_object = libibmasm.o api_lib = libsysSp.so -CFLAGS = -g -Wall -fPIC +CFLAGS = -g -Wall -fPIC $(RPM_OPT_FLAGS) all: $(api_lib) --- src/bin/halt/Makefile +++ src/bin/halt/Makefile 2007/01/16 11:27:00 @@ -12,7 +12,7 @@ install -m 700 $(SPHALT) $(ROOT)/sbin $(SPHALT): $(SPHALT).c - $(CC) -o $@ $(IBMASM_INC) $(IBMASM_LIB) $@.c + $(CC) -o $@ $(IBMASM_INC) $(RPM_OPT_FLAGS) $(IBMASM_LIB) $@.c clean: rm -f *.o --- src/bin/remote/Makefile +++ src/bin/remote/Makefile 2007/01/16 11:27:11 @@ -5,7 +5,7 @@ install -D evnode $(ROOT)/usr/bin/evnode evnode: evnode.c - $(CC) -o evnode evnode.c + $(CC) $(RPM_OPT_FLAGS) -o evnode evnode.c clean: rm -f *.o ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de