Hello community,

here is the log from the commit of package R-base for openSUSE:Factory checked 
in at 2013-09-13 14:43:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/R-base (Old)
 and      /work/SRC/openSUSE:Factory/.R-base.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "R-base"

Changes:
--------
--- /work/SRC/openSUSE:Factory/R-base/R-base.changes    2013-05-17 
08:34:04.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.R-base.new/R-base.changes       2013-09-13 
14:43:20.000000000 +0200
@@ -1,0 +2,5 @@
+Mon Aug 26 14:19:31 UTC 2013 - [email protected]
+
+- tre.patch: Fix tre library for aarch64 where wchar_t is unsigned int
+
+-------------------------------------------------------------------

New:
----
  tre.patch

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

Other differences:
------------------
++++++ R-base.spec ++++++
--- /var/tmp/diff_new_pack.z6Oc8x/_old  2013-09-13 14:43:21.000000000 +0200
+++ /var/tmp/diff_new_pack.z6Oc8x/_new  2013-09-13 14:43:21.000000000 +0200
@@ -22,6 +22,8 @@
 Release:        %release
 Source:         R-%{version}.tar.bz2
 #Source: http://cran.r-project.org/src/base/R-2/R-%%{version}.tar.gz
+# PATCH-FIX-UPSTREAM Fix tre when wchar_t is unsigned int
+Patch:          tre.patch
 
 Url:            http://www.r-project.org/
 
@@ -129,6 +131,7 @@
 %prep 
 
 %setup -n R-%{version}
+%patch -p1
 
 %build 
 export R_BROWSER="xdg-open"

++++++ tre.patch ++++++
Index: R-3.0.1/src/extra/tre/tre-internal.h
===================================================================
--- R-3.0.1.orig/src/extra/tre/tre-internal.h
+++ R-3.0.1/src/extra/tre/tre-internal.h
@@ -17,6 +17,7 @@
 #include <wctype.h>
 #endif /* !HAVE_WCTYPE_H */
 
+#include <limits.h>
 #include <ctype.h>
 #include "tre.h"
 
@@ -48,7 +49,11 @@
 
 /* Wide characters. */
 typedef wint_t tre_cint_t;
+#if WCHAR_MAX <= INT_MAX
 #define TRE_CHAR_MAX WCHAR_MAX
+#else /* WCHAR_MAX > INT_MAX */
+#define TRE_CHAR_MAX INT_MAX
+#endif
 
 #ifdef TRE_MULTIBYTE
 #define TRE_MB_CUR_MAX MB_CUR_MAX
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to