Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #12614 (assigned defect)

Opened 12 months ago

Last modified 9 months ago

icecast2-2.3.1: build error CURLOPT_PASSWDFUNCTION undefined

Reported by: viktor@… Owned by: css@…
Priority: Normal Milestone: Port Bugs
Component: ports Version: 1.5.2
Keywords: icecast2 Cc:

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

patch-auth_url.c.diff (0.6 kB) - added by css@… 10 months ago.
comment out the offending line in auth_url.c
patch-Portfile.diff (0.6 kB) - added by css@… 10 months ago.
Apply the new patch when building.
icecast2.zip (1.4 kB) - added by css@… 9 months ago.
This attached folder includes the required structure for resting the port. Thanks for helping!

Change History

  Changed 12 months ago by viktor@…

  Changed 10 months ago by css@…

  • owner changed from macports-dev@… to css@…
  • status changed from new to assigned
  • milestone set to Port Bugs

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

Changed 10 months ago by css@…

comment out the offending line in auth_url.c

Changed 10 months ago by css@…

Apply the new patch when building.

follow-up: ↓ 4   Changed 10 months ago by css@…

  • summary changed from icecast2: compile error to 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?

in reply to: ↑ 3   Changed 9 months 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 9 months ago by css@…

This attached folder includes the required structure for resting the port. Thanks for helping!

Note: See TracTickets for help on using tickets.