Opened 8 years ago
Closed 7 years ago
#54060 closed defect (fixed)
gss @1.0.3: Undefined symbols: _getline
Reported by: | josephsacco | Owned by: | kencu (Ken) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | leopard snowleopard haspatch | Cc: | rlhamil |
Port: | gss |
Description
gss does not build on Leopard or Snow Leopard because of getline(), which is called from gettrimline() in src/gss.c, is is not available in the OSX system library for 10.6 and earler.
A work-around is to replace the missing getline() function in gss.c. I "borrowed" code to do this from #53359 and created a patch file that allowed gss to build.
-Joseph
Attachments (2)
Change History (7)
Changed 8 years ago by josephsacco
Attachment: | Portfile.diff added |
---|
Changed 8 years ago by josephsacco
Attachment: | patch-src-gss.diff added |
---|
patch to add getline() to src/gss.c
comment:1 follow-up: 2 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | leopard snowleopard haspatch added; gss Leopard Snow Leopard removed |
---|---|
Summary: | gss-1.0.3 does not build on Leopard or Snow Leopard → gss @1.0.3: Undefined symbols: _getline |
The developers of gss should fix this.
The problem was reported to them here: http://lists.gnu.org/archive/html/help-gss/2017-04/msg00000.html
Perhaps you'd like to report your fix to them there as well.
comment:2 Changed 8 years ago by josephsacco
Replying to ryandesign:
The developers of gss should fix this.
The problem was reported to them here: http://lists.gnu.org/archive/html/help-gss/2017-04/msg00000.html
Perhaps you'd like to report your fix to them there as well.
Done...
-Joseph
comment:3 Changed 7 years ago by rlhamil
Cc: | rlhamil added |
---|
comment:4 Changed 7 years ago by kencu (Ken)
Pull Request: <https://github.com/macports/macports-ports/pull/664>
comment:5 Changed 7 years ago by kencu (Ken)
Owner: | set to kencu |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Portfile diff