Opened 17 years ago

Closed 15 years ago

Last modified 15 years ago

#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)

patch-auth_url.c.diff (642 bytes) - added by cssdev 16 years ago.
comment out the offending line in auth_url.c
patch-Portfile.diff (663 bytes) - added by cssdev 16 years ago.
Apply the new patch when building.
icecast2.zip (1.4 KB) - added by cssdev 16 years ago.
This attached folder includes the required structure for resting the port. Thanks for helping!

Download all attachments as: .zip

Change History (9)

comment:2 Changed 16 years ago by cssdev

Milestone: Port Bugs
Owner: changed from macports-dev@… to css@…
Status: newassigned

Thanks for the fix! It looks like a simple patch should fix the error until a new release is available.

Changed 16 years ago by cssdev

Attachment: patch-auth_url.c.diff added

comment out the offending line in auth_url.c

Changed 16 years ago by cssdev

Attachment: patch-Portfile.diff added

Apply the new patch when building.

comment:3 Changed 16 years ago by cssdev

Summary: icecast2: compile erroricecast2-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 in reply to:  3 Changed 16 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 16 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 15 years ago by blb@…

Keywords: icecast2 removed
Port: icecast2 added
Resolution: fixed
Status: assignedclosed

icecast2 port updated to version 2.3.2 which fixes the curl compile issue, in r41216.

comment:6 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.