Project

General

Profile

Bug #277

FTBS : audacious-plugins-3.3.4 - sndio.plugin uses strlcpy which is a libbsd function, so libbsd is needed

Added by James Gregory Miller over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Minor
Assignee:
-
Category:
plugins/sndio
Target version:
Start date:
April 09, 2013
Due date:
% Done:

100%

Estimated time:
0.50 h
Affects version:

Description

PRETTY_NAME="Ubuntu quantal (12.10)"
VERSION="12.10, Quantal Quetzal"

When building audacious-plugins-3.3.4, if the header files and library for sndio are found,

Sndio (sndio):                          yes

Successfully compiled sndio.c (plugin).

sndio.plugin.o: In function `configure_win_ok_cb':
/home/Temp/Build/audacious-plugins-3.3.4/src/sndio/sndio.c:383: undefined reference to `strlcpy'
collect2: error: ld returned 1 exit status

strlcpy in Debian/Mint/Ubuntu is found in libdsd/libsd-dev, so when the checks for sndio are being performed the presence of libsd and its header files should be checked, and -lbsd added to the LIBS in

audacious-plugins-3.3.4/src/sndio/Makefile

--- Makefile.OLD 2013-02-03 20:09:33.000000000 0000
+
+ Makefile 2013-04-09 17:58:38.830697691 +0100
@ -9,4 +9,4 @

CFLAGS += ${PLUGIN_CFLAGS}
CPPFLAGS += ${PLUGIN_CPPFLAGS} ${GTK_CFLAGS} ${GLIB_CFLAGS} -I../..
-LIBS += ${GTK_LIBS} ${GLIB_LIBS} ${SNDIO_LIBS}
+LIBS += ${GTK_LIBS} ${GLIB_LIBS} ${SNDIO_LIBS} -lbsd

History

#1 Updated by John Lindgren over 11 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF