Title: [165189] trunk/Tools
Revision
165189
Author
changseok...@collabora.com
Date
2014-03-06 07:01:12 -0800 (Thu, 06 Mar 2014)

Log Message

make-3.82 fails to build on ARM/Linux
https://bugs.webkit.org/show_bug.cgi?id=107926

Reviewed by Martin Robinson.

Some ARM/Linux systems don't support PAGE_SIZE macro so that it causes a build failure.
The related bug reporting is here. https://lists.debian.org/debian-kernel/2014/02/msg00274.html
To avoid this, I propose to use sysconf(_SC_PAGESIZE) instead of PAGE_SIZE
where it is not defined. See more details, http://linux.die.net/man/2/getpagesize

* gtk/patches/make-3.82-arg-list-length.patch:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (165188 => 165189)


--- trunk/Tools/ChangeLog	2014-03-06 14:20:46 UTC (rev 165188)
+++ trunk/Tools/ChangeLog	2014-03-06 15:01:12 UTC (rev 165189)
@@ -1,3 +1,17 @@
+2014-03-06  ChangSeok Oh  <changseok...@collabora.com>
+
+        make-3.82 fails to build on ARM/Linux
+        https://bugs.webkit.org/show_bug.cgi?id=107926
+
+        Reviewed by Martin Robinson.
+
+        Some ARM/Linux systems don't support PAGE_SIZE macro so that it causes a build failure.
+        The related bug reporting is here. https://lists.debian.org/debian-kernel/2014/02/msg00274.html
+        To avoid this, I propose to use sysconf(_SC_PAGESIZE) instead of PAGE_SIZE
+        where it is not defined. See more details, http://linux.die.net/man/2/getpagesize
+
+        * gtk/patches/make-3.82-arg-list-length.patch:
+
 2014-03-06  Carlos Garcia Campos  <cgar...@igalia.com>
 
         [GTK] Close the page when the view is disposed instead of when finalized

Modified: trunk/Tools/gtk/patches/make-3.82-arg-list-length.patch (165188 => 165189)


--- trunk/Tools/gtk/patches/make-3.82-arg-list-length.patch	2014-03-06 14:20:46 UTC (rev 165188)
+++ trunk/Tools/gtk/patches/make-3.82-arg-list-length.patch	2014-03-06 15:01:12 UTC (rev 165189)
@@ -36,11 +36,14 @@
  
  # ifdef __EMX__ /* is this necessary? */
      if (!unixy_shell)
-@@ -2865,8 +2871,17 @@
+@@ -2865,8 +2871,20 @@
  	return new_argv;
        }
  
 +#ifdef MAX_ARG_STRLEN
++#ifndef PAGE_SIZE
++#define PAGE_SIZE sysconf(_SC_PAGESIZE)
++#endif
 +    static char eval_line[] = "eval\\ \\\"set\\ x\\;\\ shift\\;\\ ";
 +#define ARG_NUMBER_DIGITS 5
 +#define EVAL_LEN (sizeof(eval_line)-1 + shell_len + 4                   \
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to