rename
authorMike Frysinger <vapier@gentoo.org>
Sun, 30 Oct 2005 21:17:22 +0000 (21:17 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sun, 30 Oct 2005 21:17:22 +0000 (21:17 +0000)
dev-games/ode/Manifest
dev-games/ode/files/0.5-PIC.patch [deleted file]
dev-games/ode/files/ode-0.5-PIC.patch [new file with mode: 0644]

index 589e3325593af5bfa60f130978553bd1b320e6b6..68314cb6e71faff698067071c626758fd9a493d2 100644 (file)
@@ -1,15 +1,5 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 160bb996ab652e9251d736c40f693786 ChangeLog 2763
-MD5 05d1eafa8377f72052f3e5c7eb6fe88c files/0.5-PIC.patch 516
-MD5 24a10f16623003a6f4c8df5d8a0c11f5 files/digest-ode-0.5-r2 57
+MD5 9789c4db84563d4e55c3a223541b1bbd ChangeLog 2941
+MD5 24a10f16623003a6f4c8df5d8a0c11f5 files/digest-ode-0.5-r3 57
+MD5 396acb81503d05b97e7dffe8d6c0003e files/ode-0.5-PIC.patch 446
 MD5 897a7d200c1e7b0159d465d3220c9eff metadata.xml 509
-MD5 8de4a3a45586bb8c3e802c38598c582a ode-0.5-r2.ebuild 1939
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDWdREgIKl8Uu19MoRAmavAJ9Yqex5fIc1G90c0FRpsZApXUHQUQCggw+1
-V4tSNUsxHi5v7LiU0T8m+rs=
-=VK7e
------END PGP SIGNATURE-----
+MD5 b0e29e30d96a49d8cdb202bda680909c ode-0.5-r3.ebuild 1933
diff --git a/dev-games/ode/files/0.5-PIC.patch b/dev-games/ode/files/0.5-PIC.patch
deleted file mode 100644 (file)
index 8255d34..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-Make sure we don't clobber %ebx (important with PIC).
-
-http://bugs.gentoo.org/show_bug.cgi?id=77079
-
---- ode-0.5/ode/src/timer.cpp.orig     2005-01-08 00:42:12.799324632 -0500
-+++ ode-0.5/ode/src/timer.cpp  2005-01-08 00:42:38.347440728 -0500
-@@ -118,6 +118,13 @@
- {
-   asm volatile (
-+#if defined(__i386__) && defined(__PIC__)
-+      "pushl %%ebx\n"
-+      "cpuid\n"
-+      "popl %%ebx\n"
-+      : : : "%eax","%ecx","%edx","cc","memory");
-+#else
-       "mov $0,%%eax\n"
-       "cpuid\n"
-       : : : "%eax","%ebx","%ecx","%edx","cc","memory");
-+#endif
- }
diff --git a/dev-games/ode/files/ode-0.5-PIC.patch b/dev-games/ode/files/ode-0.5-PIC.patch
new file mode 100644 (file)
index 0000000..b3c1dcf
--- /dev/null
@@ -0,0 +1,19 @@
+Make sure we don't clobber %ebx (important with PIC).
+
+http://bugs.gentoo.org/77079
+
+--- ode-0.5/ode/src/timer.cpp
++++ ode-0.5/ode/src/timer.cpp
+@@ -117,9 +117,11 @@ static inline void getClockCount (unsign
+ static inline void serialize()
+ {
+   asm volatile (
++      "mov %%ebx,%%edi\n"
+       "mov $0,%%eax\n"
+       "cpuid\n"
+-      : : : "%eax","%ebx","%ecx","%edx","cc","memory");
++      "mov %%edi,%%ebx\n"
++      : : : "%eax","%edi","%ecx","%edx","cc","memory");
+ }
+ 
+