Here is the patch to fix the above bugs
$ cat oc.h.patch 54d53 < char libcpath; 57,63c56 < libcpath = system("arch=$(uname -p) && echo /lib/$arch-linux-gnu/libc.so.6"); < if (!libc){ < < libc = popen(libcpath, "r"); < < } < else goto err; --- > if (!libc) goto err;
Here is the patch to fix the above bugs
$ cat oc.h.patch "arch=$ (uname -p) && echo /lib/$arch- linux-gnu/ libc.so. 6");
54d53
< char libcpath;
57,63c56
< libcpath = system(
< if (!libc){
<
< libc = popen(libcpath, "r");
<
< }
< else goto err;
---
> if (!libc) goto err;