Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add patch for sqlite for config.guess to properly identify Cygwin-64 … #978

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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
7 changes: 0 additions & 7 deletions pkgs/sqlite.yaml

This file was deleted.

12 changes: 12 additions & 0 deletions pkgs/sqlite/cygwin_config_guess.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
--- a/config.guess 2016-11-30 15:12:41.668793100 +0100
+++ b/config.guess 2016-11-30 15:13:49.883718600 +0100
@@ -797,6 +797,9 @@
amd64:CYGWIN*:*:*)
echo x86_64-unknown-cygwin
exit ;;
+ x86_64:CYGWIN*:*:*)
+ echo x86_64-unknown-cygwin
+ exit ;;
p*:CYGWIN*:*)
echo powerpcle-unknown-cygwin
exit ;;
16 changes: 16 additions & 0 deletions pkgs/sqlite/sqlite.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
extends: [autotools_package]
dependencies:
build: [readline]

build_stages:
- when: platform == 'Cygwin'
name: patch
before: configure
files: [cygwin_config_guess.patch]
handler: bash
bash: |
patch -up1 < _hashdist/cygwin_config_guess.patch

sources:
- url: https://sqlite.org/2013/sqlite-autoconf-3071700.tar.gz
key: tar.gz:r72g2c5ktzsmbakvituct2mf6elbyclk