@@ -10,7 +10,7 @@ Build-Type: Simple
1010Cabal-Version : >= 1.10
1111Category : FFI
1212
13- -- Extra-source-files:
13+ -- Extra-source-files: --TODO
1414-- libgit2/include/git.h
1515-- libgit2/src/libgit2/git2/*.h
1616-- libgit2/src/libgit2/streams/*.h
@@ -129,15 +129,90 @@ Library
129129 --Bindings.Libgit2.Worktree
130130
131131 c-sources :
132+ libgit2/deps/http-parser/http_parser.c
133+ libgit2/deps/xdiff/xhistogram.c
134+ libgit2/deps/xdiff/xdiffi.c
135+ libgit2/deps/xdiff/xmerge.c
136+ libgit2/deps/xdiff/xprepare.c
137+ libgit2/deps/xdiff/xutils.c
138+ libgit2/deps/xdiff/xemit.c
139+ libgit2/deps/xdiff/xpatience.c
140+ --libgit2/deps/ntlmclient/unicode_builtin.c
141+ --libgit2/deps/ntlmclient/unicode_iconv.c
142+ --libgit2/deps/ntlmclient/ntlm.c
143+ --libgit2/deps/ntlmclient/crypt_commoncrypto.c
144+ --libgit2/deps/ntlmclient/crypt_mbedtls.c
145+ --libgit2/deps/ntlmclient/util.c
146+ --libgit2/deps/ntlmclient/crypt_openssl.c
147+ --libgit2/deps/zlib/trees.c
148+ --libgit2/deps/zlib/deflate.c
149+ --libgit2/deps/zlib/adler32.c
150+ --libgit2/deps/zlib/inftrees.c
151+ --libgit2/deps/zlib/infback.c
152+ --libgit2/deps/zlib/inflate.c
153+ --libgit2/deps/zlib/crc32.c
154+ --libgit2/deps/zlib/inffast.c
155+ --libgit2/deps/zlib/zutil.c
156+ --libgit2/deps/pcre/pcre_ucd.c
157+ --libgit2/deps/pcre/pcre_ord2utf8.c
158+ --libgit2/deps/pcre/pcre_globals.c
159+ --libgit2/deps/pcre/pcre_byte_order.c
160+ --libgit2/deps/pcre/pcre_string_utils.c
161+ --libgit2/deps/pcre/pcre_tables.c
162+ --libgit2/deps/pcre/pcre_maketables.c
163+ --libgit2/deps/pcre/pcre_version.c
164+ --libgit2/deps/pcre/pcre_exec.c
165+ --libgit2/deps/pcre/pcre_printint.c
166+ --libgit2/deps/pcre/pcre_refcount.c
167+ --libgit2/deps/pcre/pcre_study.c
168+ --libgit2/deps/pcre/pcreposix.c
169+ --libgit2/deps/pcre/pcre_chartables.c
170+ --libgit2/deps/pcre/pcre_newline.c
171+ --libgit2/deps/pcre/pcre_dfa_exec.c
172+ --libgit2/deps/pcre/pcre_get.c
173+ --libgit2/deps/pcre/pcre_compile.c
174+ --libgit2/deps/pcre/pcre_xclass.c
175+ --libgit2/deps/pcre/pcre_jit_compile.c
176+ --libgit2/deps/pcre/pcre_fullinfo.c
177+ --libgit2/deps/pcre/pcre_valid_utf8.c
178+ --libgit2/deps/pcre/pcre_config.c
179+ --libgit2/src/cli/cmd_help.c
180+ --libgit2/src/cli/win32/sighandler.c
181+ --libgit2/src/cli/win32/precompiled.c
182+ --libgit2/src/cli/main.c
183+ --libgit2/src/cli/progress.c
184+ --libgit2/src/cli/cmd.c
185+ --libgit2/src/cli/cmd_hash_object.c
186+ --libgit2/src/cli/cmd_config.c
187+ --libgit2/src/cli/common.c
188+ --libgit2/src/cli/cmd_cat_file.c
189+ --libgit2/src/cli/unix/sighandler.c
190+ --libgit2/src/cli/opt_usage.c
191+ --libgit2/src/cli/opt.c
192+ --libgit2/src/cli/cmd_clone.c
193+ --libgit2/src/util/win32/posix_w32.c
194+ --libgit2/src/util/win32/process.c
195+ --libgit2/src/util/win32/error.c
196+ --libgit2/src/util/win32/path_w32.c
197+ --libgit2/src/util/win32/map.c
198+ --libgit2/src/util/win32/utf-conv.c
199+ --libgit2/src/util/win32/thread.c
200+ --libgit2/src/util/win32/dir.c
201+ --libgit2/src/util/win32/w32_buffer.c
202+ --libgit2/src/util/win32/w32_leakcheck.c
203+ --libgit2/src/util/win32/w32_util.c
204+ --libgit2/src/util/win32/precompiled.c
132205 libgit2/src/util/futils.c
133206 libgit2/src/util/wildmatch.c
134207 libgit2/src/util/posix.c
135208 libgit2/src/util/date.c
136209 libgit2/src/util/hash/sha1dc/ubc_check.c
137210 libgit2/src/util/hash/sha1dc/sha1.c
138211 libgit2/src/util/hash/mbedtls.c
212+ --libgit2/src/util/hash/common_crypto.c
139213 libgit2/src/util/hash/collisiondetect.c
140- libgit2/src/util/hash/builtin.c
214+ --libgit2/src/util/hash/win32.c
215+ --libgit2/src/util/hash/builtin.c
141216 libgit2/src/util/hash/rfc6234/sha224-256.c
142217 libgit2/src/util/hash/openssl.c
143218 libgit2/src/util/errors.c
@@ -279,11 +354,11 @@ Library
279354 libgit2/src/libgit2/transports/smart_pkt.c
280355 libgit2/src/libgit2/transports/auth_sspi.c
281356 libgit2/src/libgit2/transports/credential.c
282- libgit2/src/libgit2/transports/winhttp.c
357+ -- libgit2/src/libgit2/transports/winhttp.c
283358 libgit2/src/libgit2/transports/ssh_exec.c
284359 libgit2/src/libgit2/transports/smart.c
285360 libgit2/src/libgit2/transports/local.c
286- libgit2/src/libgit2/transports/auth_gssapi.c
361+ -- libgit2/src/libgit2/transports/auth_gssapi.c
287362 libgit2/src/libgit2/transports/auth_ntlmclient.c
288363 libgit2/src/libgit2/transports/smart_protocol.c
289364 libgit2/src/libgit2/transports/http.c
@@ -299,26 +374,19 @@ Library
299374 libgit2/src/libgit2/cache.c
300375 libgit2/src/libgit2/message.c
301376 libgit2/src/libgit2/crlf.c
302- libgit2/deps/http-parser/http_parser.c
303377
304378 include-dirs :
305379 libgit2/include
306380 libgit2/src/libgit2
307- --libgit2/src/libgit2/streams
308- --libgit2/src/libgit2/transports
309381 libgit2/src/util
310- --libgit2/src/util/allocators
311- --libgit2/src/util/hash
312- --libgit2/src/util/hash/sha1dc
313- --libgit2/src/util/hash/rfc6234
314382 libgit2/deps/http-parser
315383 libgit2/deps/xdiff
316- libgit2/deps/pcre
384+ -- libgit2/deps/pcre
317385 --libgit2/deps/zlib
318- libgit2/deps/ntlmclient
386+ -- libgit2/deps/ntlmclient
319387 --libgit2/deps/chromium-zlib
320388
321- cc-options : -Wno-incompatible-pointer-types
389+ cc-options : -Wno-implicit-function-declaration
322390 if os(windows)
323391 cpp-options : -DWINDOWS
324392 cc-options : -DGIT_WIN32 -DWIN32 -DWIN32_SHA1 -D_DEBUG -D_WIN32_WINNT= 0 x0501 -DGIT_WINHTTP
@@ -337,7 +405,6 @@ Library
337405 libgit2/src/util/win32/precompiled.c
338406 libgit2/src/util/hash/win32.c
339407 include-dirs :
340- libgit2/src/util/win32
341408 libgit2/deps/winhttp
342409 extra-libraries :
343410 ws2_32, regex, winhttp, crypt32, rpcrt4, ssl, crypto
@@ -351,4 +418,4 @@ Library
351418 extra-lib-dirs :
352419 /usr/local/opt/openssl/lib
353420 extra-libraries :
354- ssl, crypto, pthread
421+ ssl, crypto, pthread, pcre
0 commit comments