Skip to content

Commit

Permalink
compiler-rt: added forgotten patch
Browse files Browse the repository at this point in the history
  • Loading branch information
pitill0 committed Jun 26, 2024
1 parent 5e8f246 commit 4f3aa4d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler-rt/.signature
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/xorg-arm.pub
RWSYHFoJug2wQqnhyHG27MVWFBzPS72hiH81D3qXxG3lyr+0pDQbD3Kj/7XX7mERyU7bA5ehkoOeiq24lnxvs+g0NOBuhIeU0AU=
untrusted comment: verify with /etc/ports/opt-arm.pub
RWQh9Dk2FlLauDe1DZA56DIHEnj0+Rym5jalOdTUpm2T7akTsIkZ8N/o9Aoi4cYPnoF0fLLk3Uc2YUjocuCkIBpKNu06yycUXgw=
SHA256 (Pkgfile) = 45ed65b794acff1722839325f9c6d64bacdb2404ec9b664b86f5d2f127be288e
SHA256 (.footprint) = 90e6abd73a41c5779721bea3da42e1965f810dcb3bf0ab30547b9a101d5dacc8
SHA256 (compiler-rt-18.1.8.src.tar.xz) = e054e99a9c9240720616e927cb52363abbc8b4f1ef0286bad3df79ec8fdf892f
Expand Down
22 changes: 22 additions & 0 deletions compiler-rt/libsanitizer-timebits.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# DP: Add another #undef for _TIME_BITS

--- a/compiler-rt/lib/sanitizer_common/sanitizer_procmaps_solaris.cpp
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_procmaps_solaris.cpp
@@ -11,6 +11,7 @@

// Before Solaris 11.4, <procfs.h> doesn't work in a largefile environment.
#undef _FILE_OFFSET_BITS
+#undef _TIME_BITS
#include "sanitizer_platform.h"
#if SANITIZER_SOLARIS
# include <fcntl.h>
#--- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
#+++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
#@@ -18,6 +18,7 @@
# // depends on _FILE_OFFSET_BITS setting.
# // To get this "true" dirent definition, we undefine _FILE_OFFSET_BITS below.
# #undef _FILE_OFFSET_BITS
#+#undef _TIME_BITS
# #endif
#
# // Must go after undef _FILE_OFFSET_BITS.

0 comments on commit 4f3aa4d

Please sign in to comment.