Skip to content

Instantly share code, notes, and snippets.

@cosmicexplorer
Created December 22, 2019 01:05
Show Gist options
  • Save cosmicexplorer/a86969f639c73681ab0a55f0790805d4 to your computer and use it in GitHub Desktop.
Save cosmicexplorer/a86969f639c73681ab0a55f0790805d4 to your computer and use it in GitHub Desktop.
applying this patch should unbreak emacs master on osx!
diff --git a/configure.ac b/configure.ac
index 3b6a2a6d16..90060e4f48 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4184,7 +4184,7 @@ AC_DEFUN
LIBS=$OLD_LIBS
dnl No need to check for posix_memalign if aligned_alloc works.
-AC_CHECK_FUNCS([aligned_alloc posix_memalign], [break])
+AC_CHECK_FUNCS([aligned_alloc], [break])
AC_CHECK_DECLS([aligned_alloc], [], [], [[#include <stdlib.h>]])
# Dump loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment