Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Conversation

asyropoulos
Copy link

I tried to compile basement-0.0.6 on OpenIndiana with ghc-8.2.2 and it failed. I discoved that the following patch solves the problem:

diff -Naur basement-0.0.6/Basement/Terminal/Size.hsc basement-0.0.6.new/Basement/Terminal/Size.hsc
--- basement-0.0.6/Basement/Terminal/Size.hsc 2017-11-11 19:03:59.000000000 +0000
+++ basement-0.0.6.new/Basement/Terminal/Size.hsc 2018-01-21 15:03:03.899338329 +0000
@@ -20,6 +20,9 @@
#include <windows.h>
#elif defined FOUNDATION_SYSTEM_UNIX
#include <sys/ioctl.h>
+#ifdef __sun
+#include <sys/termios.h>
+#endif
#endif

#include <stdio.h>

Could include this patch in the source distribution?

phadej and others added 24 commits November 11, 2017 23:03
Add better implementation of Builder
Block/UArray/Builder: `concat` performance update
* add unicode casefolding files parser

Part of issue #271.

* Add unicode special case parser.

Part of issue #271.

* Pretty printing hex values.

Part of issue #271.

* Implement unicode multi character upper and lower.

Part of issue #271.

* Optimize caseConvert for single char convert.

Part of issue #271.

* Property testing upper.

Part of issue #271.

* NMichels review, batch 2.

Part of issue #271.
add CSV builder on top of Block and String Builder
@NicolasDP
Copy link
Member

Hi @asyropoulos , nice try. But no it is not like this. I see from your github profile you are not used to working on open source project.

The usual workflow in open source projects on github is the following:

  1. fork the project you want to send changes;
  2. clone your fork into your local workspace;
  3. commit changes locally;
  4. push your changes to your fork;
  5. create a pull request to the upstream repository with your changes.

I hope this won't be your last contribution to an open source project, you can find lot of tutorials to explain how git and github works out there if it helps.

Would you be happy if for now if I commit your patch but with you authoring it ?

@NicolasDP NicolasDP closed this Jan 26, 2018
@ndmitchell
Copy link
Contributor

Thanks for the patch @asyropoulos - the knowledge is useful - but if you follow the standard GitHub flow then the code could be merged directly (you get the credit more explicitly, and the maintainers have a lot less work to do). See https://guides.github.com/activities/forking/ and https://guides.github.com/introduction/flow/ for the rough overview.

@asyropoulos
Copy link
Author

I have double checked it and the patch makes it possible to compile basement-0.0.6 under Solaris. Please apply/push/commit/whatever_the_verb the patch to the source code if this is possible. And yes I have contributed to many projects. Some contributions were like this one and others created new functionality to tools, etc. However, in all cases I was just reporting the problem and the solution and that was all. I admit it that I have no experience with github and git in general.

@NicolasDP
Copy link
Member

thanks, I have applied the patch with #472

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants