Skip to content

Instantly share code, notes, and snippets.

@ekr1
ekr1 / patch.txt
Last active June 15, 2018 03:06
Patch for -Wno-packed-bitfield-compat error building ruby 2.2.x against gcc < 4.4.0
diff --git a/configure b/configure
*** a/configure 2015-08-18 16:05:00.000000000 +0200
--- b/configure 2015-11-06 13:42:27.000000000 +0100
***************
*** 7484,7490 ****
-Werror=implicit-function-declaration \
-Werror=division-by-zero \
-Werror=deprecated-declarations \
- -Wno-packed-bitfield-compat \
$extra_warning \