#12614 closed defect (fixed)
icecast2-2.3.1: build error CURLOPT_PASSWDFUNCTION undefined
Reported by: | viktor@… | Owned by: | cssdev |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.5.2 |
Keywords: | Cc: | ||
Port: | icecast2 |
Description
Just tried to install icecast2 2.3.1 on MacPorts 1.520 (PowerPC). Gives this:
source='auth_url.c' object='auth_url.o' libtool=no \ depfile='.deps/auth_url.Po' tmpdepfile='.deps/auth_url.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/ports/include -D_THREAD_SAFE -I/ports/include -O2 -c `test -f 'auth_url.c' || echo './'`auth_url.c auth_url.c: In function 'auth_get_url_auth': auth_url.c:521: error: 'CURLOPT_PASSWDFUNCTION' undeclared (first use in this function) auth_url.c:521: error: (Each undeclared identifier is reported only once auth_url.c:521: error: for each function it appears in.)
Probably the same problem as the Debian folks had: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=423778
Best regards, Viktor.
Attachments (3)
Change History (9)
comment:1 Changed 17 years ago by viktor@…
comment:2 Changed 17 years ago by cssdev
Milestone: | → Port Bugs |
---|---|
Owner: | changed from macports-dev@… to css@… |
Status: | new → assigned |
Thanks for the fix! It looks like a simple patch should fix the error until a new release is available.
Changed 17 years ago by cssdev
Attachment: | patch-auth_url.c.diff added |
---|
comment out the offending line in auth_url.c
Changed 17 years ago by cssdev
Attachment: | patch-Portfile.diff added |
---|
Apply the new patch when building.
comment:3 follow-up: 4 Changed 17 years ago by cssdev
Summary: | icecast2: compile error → icecast2-2.3.1: build error CURLOPT_PASSWDFUNCTION undefined |
---|
These patches allow the icecast2 port to build successfully. Can you perform any testing to verify that that everything runs properly?
comment:4 Changed 17 years ago by sbplrports@…
i'd be happy to help test. thought the prescribed way of patching doesnt seem to work for me. if i could please get info on how to do this properly.
e.g.
patch -p0 < ~/Desktop/patch-auth_url.c.diff
does not to work....
any help, thanks
Changed 17 years ago by cssdev
Attachment: | icecast2.zip added |
---|
This attached folder includes the required structure for resting the port. Thanks for helping!
comment:5 Changed 16 years ago by blb@…
Keywords: | icecast2 removed |
---|---|
Port: | icecast2 added |
Resolution: | → fixed |
Status: | assigned → closed |
icecast2 port updated to version 2.3.2 which fixes the curl compile issue, in r41216.
Fixed in upstream:http://lists.xiph.org/pipermail/icecast/2007-August/011013.html