Skip to content
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions pkgs/gcc/gcc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ build_stages:
patch -up1 < _hashdist/rpath.patch
sed -i "s|@@ARTIFACT@@|${ARTIFACT}|g" gcc/config/i386/gnu-user.h gcc/config/i386/gnu-user64.h

- when: platform == 'Darwin'
name: fix_object_h
before: configure
handler: bash
bash: |
mkdir -p "$ARTIFACT/include/dispatch"
sed 's+typedef void (\^dispatch_block_t)(void)+typedef void* dispatch_block_t+' /usr/include/dispatch/object.h > "$ARTIFACT/include/dispatch/object.h"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I should add a check that /usr/include/dispatch/object.h exists in the first place, and then also do this fix for OS X 10.10 only.


- name: link_lib64_to_lib
after: install
handler: bash
Expand Down
4 changes: 2 additions & 2 deletions pkgs/ncurses/ncurses.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
extends: [autotools_package]

sources:
- url: http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz
key: tar.gz:sbdctd5uiazezhkbgxwou6dz77wykrw5
- key: git:690232d93fc4ac57f0c9a484cc5781e8d1fe1fae
url: https://github.com/certik/ncurses

defaults:
relocatable: false
Expand Down