openscad/openscad-wasm

glib patch does not apply

traverseda opened this issue · 2 comments

git clone https://gist.github.com/acfa1c09522705efa5eb0541d2d00887.git --depth 1 --branch master --single-branch libs/glib
Cloning into 'libs/glib'...
remote: Enumerating objects: 10, done.
remote: Counting objects: 100% (10/10), done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 10 (delta 0), reused 6 (delta 0), pack-reused 0
Receiving objects: 100% (10/10), 29.77 KiB | 1.24 MiB/s, done.
git -C libs/glib apply ../../patches/glib.patch 
warning: build.sh has type 100755, expected 100644
error: patch failed: build.sh:47
error: build.sh: patch does not apply
make: *** [Makefile:86: libs/glib] Error 1

Running the build script again lets me get past it, but it seems to lead to further failures down the line.

Hey. I played around with it and fixed the glib patch. Can you pull latest, delete your libs/glib folder and try again?

Well, it's not longer throwing that particular error, after a make clean! Still not compiling mind you, but better