! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
gtk2 engine uses floor() but doesn't link to libm
Status:
CLOSED: FIXED
Product:
Gtk-xfce-engine
Component:
General

Comments

Description Lionel Le Folgoc 2012-04-06 00:23:34 CEST
Created attachment 4303 
proposed patch

Hi,

(sorry, last time it was the gtk3 engine, now it's gtk2 :P)

.libs/libxfce_la-xfce_theme_draw.o: In function `draw_check':
/home/mrpouit/Packaging/packages/pkg-xfce/desktop/branches/experimental/build-area/gtk2-engines-xfce-2.99.2/gtk-2.0/xfce_theme_draw.c:1051: undefined reference to `floor'
collect2: ld returned 1 exit status

Like last time, it needs $(LIBM) to Makefile.am (I applied the attached patch to 2.99.2).

Thanks.
Comment 1 Peter de Ridder editbugs 2012-04-08 17:50:58 CEST
Thank you for the patch, again. This is applied in commit 8e816c5.

Bug #8638

Reported by:
Lionel Le Folgoc
Reported on: 2012-04-06
Last modified on: 2012-04-14

People

Assignee:
Olivier Fourdan
CC List:
1 user

Version

Version:
Unspecified

Attachments

proposed patch (1.03 KB, patch)
2012-04-06 00:23 CEST , Lionel Le Folgoc
no flags

Additional information