Bug#669059: Reopening Bug #669059

Svante Signell svante.signell at telia.com
Thu May 24 23:01:44 UTC 2012


reopen 669059
found 669059 1.8.1-3
thanks

Hello,

10_kfreebsd_support.patch needs to to add a __GNU__ statement to take
effect for GNU/Hurd. It seems that __GLIBC__ is not automatically
defined. Additionally, due to some misunderstanding the
11_hurd_support.patch was not correct, one line of code was missing.
Unfortunately this caused build problems on kFreeBSD too, not only Hurd.

I'm inlining the update for 10_kfreebsd_support.patch and a correct
11_hurd_support.patch patch below. Thanks!

To add to 10_kfreebsd_support.patch:
--- ../Source_ThirdParty_ANGLE_src_compiler_osinclude.h.orig
2012-05-25 00:16:36.000000000 +0200
+++ Source/ThirdParty/ANGLE/src/compiler/osinclude.h    2012-05-25
00:20:48.000000000 +0200
@@ -16,7 +16,7 @@
 #define ANGLE_OS_WIN
 #elif defined(__APPLE__) || defined(__linux__) || \
       defined(__FreeBSD__) || defined(__OpenBSD__) || \
-      defined(__sun) || defined(ANDROID)
+      defined(__sun) || defined(ANDROID) || defined(__GNU__)
 #define ANGLE_OS_POSIX
 #else
 #error Unsupported platform.

Correct 11_hurd_support.patch:
--- ../Source_JavaScriptCore_wtf_gobject_GlibUtilities.cpp.orig
2012-05-25 00:16:35.000000000 +0200
+++ Source/JavaScriptCore/wtf/gobject/GlibUtilities.cpp 2012-05-25
00:18:26.000000000 +0200
@@ -37,6 +37,11 @@
         return CString();
     return CString(readLinkBuffer, result);
 }
+#elif OS(HURD)
+CString getCurrentExecutablePath()
+{
+    return CString();
+}
 #elif OS(UNIX)
 CString getCurrentExecutablePath()
 {







More information about the Pkg-webkit-maintainers mailing list