Opened 13 years ago
Last modified 13 years ago
#30065 closed defect
heimdal @1.3.3 Build error using gcc-llvm — at Initial Version
Reported by: | christopher.owen@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | llvm-gcc-4.2 haspatch | Cc: | |
Port: | heimdal |
Description
I have verified that this defect exists in trunk.
steps to reproduce:
1) install gcc-llvm (available from many places but also in the Xcode 4.2 beta)
2) sudo port install heimdal
the build for heimdal will exit with many errors in sqlite3.c.
:info:build sqlite3.c:63492: error: initializer element is not constant
:info:build sqlite3.c:63492: error: (near initialization for 'aBuiltinFunc[5].pUserData')
The exact problem I am seeing was written about including a solution in a japanese blog in 2008.
Original page: http://tribelet.blogspot.com/2008/09/blog-post_08.html
With this one line change in sqlite3.c, the build completes (although with some warnings.)
It may be worth noting here that a newer version of heimdal (1.4) exists that what is included in the ports tree. Included in its changelog is a line item of 'bug fixes'. However, I could not get it to compile easily and was happy with this patch.
The patch applied is included.
Change History (1)
Changed 13 years ago by christopher.owen@…
Attachment: | heimdal-1.3.3-sqlite3-gcc-llvm.patch added |
---|
heimdal-1.3.3 patch to compile with gcc-llvm