rpms/lrmi/devel lrmi-0.9-asm.patch,NONE,1.1 lrmi.spec,1.6,1.7

Ville Skytta (scop) fedora-extras-commits at redhat.com
Sun Dec 4 18:23:54 UTC 2005


Author: scop

Update of /cvs/extras/rpms/lrmi/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25529

Modified Files:
	lrmi.spec 
Added Files:
	lrmi-0.9-asm.patch 
Log Message:
* Sun Dec  4 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.9-2
- Fix build with new binutils.


lrmi-0.9-asm.patch:

--- NEW FILE lrmi-0.9-asm.patch ---
--- lrmi.c~	2005-09-01 09:43:52.000000000 +0300
+++ lrmi.c	2005-11-10 21:41:22.000000000 +0200
@@ -781,11 +781,11 @@
 		// FIXME: may apply this to BSD equivalents?
 		sigfillset(&all_sigs);
 		sigprocmask(SIG_SETMASK, &all_sigs, &old_sigs);
-		asm volatile ("movl %%gs, %0" : "=rm" (old_gs));
-		asm volatile ("movl %%fs, %0" : "=rm" (old_fs));
+		asm volatile ("mov %%gs, %0" : "=rm" (old_gs));
+		asm volatile ("mov %%fs, %0" : "=rm" (old_fs));
 		vret = lrmi_vm86(&context.vm);
-		asm volatile ("movl %0, %%gs" :: "rm" (old_gs));
-		asm volatile ("movl %0, %%fs" :: "rm" (old_fs));
+		asm volatile ("mov %0, %%gs" :: "rm" (old_gs));
+		asm volatile ("mov %0, %%fs" :: "rm" (old_fs));
 		sigprocmask(SIG_SETMASK, &old_sigs, NULL);
 
 		if (VM86_TYPE(vret) == VM86_INTx) {


Index: lrmi.spec
===================================================================
RCS file: /cvs/extras/rpms/lrmi/devel/lrmi.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- lrmi.spec	10 Nov 2005 17:57:01 -0000	1.6
+++ lrmi.spec	4 Dec 2005 18:23:51 -0000	1.7
@@ -1,6 +1,6 @@
 Name:           lrmi
 Version:        0.9
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Library for calling real mode BIOS routines
 
 Group:          System Environment/Libraries
@@ -8,6 +8,7 @@
 URL:            http://sourceforge.net/projects/lrmi/
 Source0:        http://download.sourceforge.net/lrmi/%{name}-%{version}.tar.gz
 Patch0:         %{name}-0.9-build.patch
+Patch1:         %{name}-0.9-asm.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 ExclusiveArch:  %{ix86}
@@ -36,6 +37,7 @@
 %prep
 %setup -q
 %patch0
+%patch1
 
 
 %build
@@ -75,6 +77,9 @@
 
 
 %changelog
+* Sun Dec  4 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.9-2
+- Fix build with new binutils.
+
 * Wed Nov  9 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.9-1
 - 0.9, patches mostly applied/obsoleted upstream.
 - Don't ship static libraries.




More information about the scm-commits mailing list