rpms/ruby/devel ruby-1.8.4-64bit-pack.patch, NONE, 1.1 ruby.spec, 1.58, 1.59
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Thu Apr 20 09:52:13 UTC 2006
- Previous message (by thread): rpms/ethereal/devel .cvsignore, 1.31, 1.32 ethereal.spec, 1.67, 1.68 sources, 1.33, 1.34
- Next message (by thread): rpms/openoffice.org/devel openoffice.org-2.0.2.ooo64508.vcl.honourfontconfighinting.patch, NONE, 1.1 openoffice.org.spec, 1.664, 1.665
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: tagoh
Update of /cvs/dist/rpms/ruby/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv9266
Modified Files:
ruby.spec
Added Files:
ruby-1.8.4-64bit-pack.patch
Log Message:
- ruby-1.8.4-64bit-pack.patch: backport patch to fix unpack(l) not working
on 64bit arch and integer overflow on template w. (#189350)
- updated License tag to be more comfortable, and with a pointer to get more
details, like Python package does. (#179933)
ruby-1.8.4-64bit-pack.patch:
pack.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
--- NEW FILE ruby-1.8.4-64bit-pack.patch ---
diff -ruN ruby-1.8.4.orig/pack.c ruby-1.8.4/pack.c
--- ruby-1.8.4.orig/pack.c 2005-10-13 23:30:49.000000000 +0900
+++ ruby-1.8.4/pack.c 2006-04-20 13:50:25.000000000 +0900
@@ -347,11 +347,11 @@
return 0; /* not reached */
}
-#if SIZEOF_LONG == SIZE32 || SIZEOF_INT == SIZE32
+#if SIZEOF_LONG == SIZE32
# define EXTEND32(x)
#else
/* invariant in modulo 1<<31 */
-# define EXTEND32(x) do {if (!natint) {(x) = (I32)(((1<<31)-1-(x))^~(~0<<31));}} while(0)
+# define EXTEND32(x) do { if (!natint) {(x) = (((1L<<31)-1-(x))^~(~0L<<31));}} while(0)
#endif
#if SIZEOF_SHORT == SIZE16
# define EXTEND16(x)
@@ -1951,7 +1951,7 @@
case 'w':
{
unsigned long ul = 0;
- unsigned long ulmask = 0xfeL << ((sizeof(unsigned long) - 1) * 8);
+ unsigned long ulmask = 0xfeUL << ((sizeof(unsigned long) - 1UL) * 8UL);
while (len > 0 && s < send) {
ul <<= 7;
Index: ruby.spec
===================================================================
RCS file: /cvs/dist/rpms/ruby/devel/ruby.spec,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- ruby.spec 20 Apr 2006 04:35:04 -0000 1.58
+++ ruby.spec 20 Apr 2006 09:52:09 -0000 1.59
@@ -6,7 +6,7 @@
Name: ruby
Version: 1.8.4
Release: 4.fc6.2
-License: Distributable
+License: Ruby License/GPL - see COPYING
URL: http://www.ruby-lang.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: readline readline-devel ncurses ncurses-devel gdbm gdbm-devel glibc-devel tcl-devel tk-devel libX11-devel autoconf gcc unzip openssl-devel db4-devel emacs
@@ -28,6 +28,7 @@
Patch4: ruby-deprecated-search-path.patch
Patch5: ruby-multilib.patch
Patch6: ruby-tcltk-multilib.patch
+Patch7: ruby-1.8.4-64bit-pack.patch
Summary: An interpreter of object-oriented scripting language
Group: Development/Languages
@@ -142,6 +143,7 @@
%patch4 -p1
%patch5 -p1
%patch6 -p1
+%patch7 -p1
%endif
popd
@@ -440,6 +442,10 @@
- ruby-deprecated-search-path.patch: added the deprecated installation paths
to the search path for the backward compatibility.
- added a Provides: ruby(abi) to ruby-libs.
+- ruby-1.8.4-64bit-pack.patch: backport patch to fix unpack("l") not working
+ on 64bit arch and integer overflow on template "w". (#189350)
+- updated License tag to be more comfortable, and with a pointer to get more
+ details, like Python package does. (#179933)
* Wed Apr 19 2006 Akira TAGOH <tagoh at redhat.com>
- ruby-rubyprefix.patch: moved all arch-independent modules to /usr/lib/ruby
- Previous message (by thread): rpms/ethereal/devel .cvsignore, 1.31, 1.32 ethereal.spec, 1.67, 1.68 sources, 1.33, 1.34
- Next message (by thread): rpms/openoffice.org/devel openoffice.org-2.0.2.ooo64508.vcl.honourfontconfighinting.patch, NONE, 1.1 openoffice.org.spec, 1.664, 1.665
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-cvs-commits
mailing list