libgit2/php-git

Error on 'make'

stovak opened this issue · 2 comments

/tmp/php-git/repository.c:237:13: error: use of undeclared identifier 'GIT_SUCCESS'
if (ret == GIT_SUCCESS) {
^
/tmp/php-git/repository.c:313:124: error: use of undeclared identifier 'GIT_SUCCESS'
if (git_repository_discover(path_buffer,path_size,(const char *)start_path,(int)across_fs, (const char *)ceiling_dirs) == GIT_SUCCESS) {
^
/tmp/php-git/repository.c:341:36: error: use of undeclared identifier 'GIT_SUCCESS'
if (git_oid_fromstr(&id, hash) != GIT_SUCCESS) {
^
/tmp/php-git/repository.c:377:47: error: use of undeclared identifier 'GIT_SUCCESS'
if (git_oid_fromstrn(&id, hash, hash_len) != GIT_SUCCESS) {
^

SYSTEM: macOS X MAMP and PHP 5.4

please see. #29

I'l fix this issue on this month (i have summer vacation and my wife will go to trip this week. Yay, hacking time.)

this issue solved current development branch. closing issue.