Bug 93610 - [patch] audio/goobox - fix build with libnotify-0.3.2
Summary: [patch] audio/goobox - fix build with libnotify-0.3.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-20 22:20 UTC by Christian Hiris
Modified: 2006-03-27 00:47 UTC (History)
0 users

See Also:


Attachments
patch-src-main.c (1.32 KB, text/plain)
2006-02-20 22:20 UTC, Christian Hiris
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Hiris 2006-02-20 22:20:05 UTC

audio/goobox-0.9.93 build target fails.

Fix: Patch borrowed from Mandriva linux (goobox-0.9.93-libnotify.patch):
How-To-Repeat: 

jail003# cd /usr/ports/audio/goobox
[...]
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DGOO_PREFIX=\"/usr/X11R6\" -DGOO_SYSCONFDIR=\"/usr/X11R6/etc\" -DGOO_DATADIR=\"/usr/X11R6/share/gnome\" -DGOO_LIBDIR=\"/usr/X11R6/lib\" -DPIXMAPSDIR=\""/usr/X11R6/share/gnome/pixmaps"\" -DGLADEDIR=\""/usr/X11R6/share/gnome/goobox/glade"\" -DGOO_GLADEDIR=\""/usr/X11R6/share/gnome/goobox/glade"\"  -D_REENTRANT -DORBIT2=1 -DXTHREADS -DXUSE_MTSAFE_API -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/orbit-2.0 -I/usr/local/include/libbonobo-2.0 -I/usr/local/include/bonobo-activation-2.0 -I/usr/local/include/libart-2.0 -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/X11R6/include/libgnome-2.0 -I/usr/X11R6/include/gconf/2 -I/usr/X11R6/include/gnome-vfs-2
 .0 -I/usr/X11R6/lib/gnome-vfs-2.0/include -I/usr/X11R6/include/libgnomeui-2.0 -I/usr/X11R6/include/libgnomecanvas-2.0 -I/usr/X11R6/include/libbonoboui-2.0 -I/usr/X11R6/include/gnome-keyring-1 -I/usr/X11R6/include/gnome-vfs-module-2.0 -I/usr/X11R6/include/libglade-2.0 -I/usr/X11R6/include/gstreamer-0.8   -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2    -I/usr/local/include -I/usr/X11R6/include  -O2 -fno-strict-aliasing -pipe  -MT main.o -MD -MP -MF ".deps/main.Tpo" \
  -c -o main.o `test -f 'main.c' || echo './'`main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; \
else rm -f ".deps/main.Tpo"; exit 1; \
fi
main.c:50: error: syntax error before '*' token
main.c:50: warning: data definition has no type or storage class
main.c: In function `system_notify':
main.c:560: error: `NotifyIcon' undeclared (first use in this function)
main.c:560: error: (Each undeclared identifier is reported only once
main.c:560: error: for each function it appears in.)
main.c:560: error: `icon' undeclared (first use in this function)
main.c:561: error: `NotifyHints' undeclared (first use in this function)
main.c:561: error: `hints' undeclared (first use in this function)
main.c:578: warning: assignment makes pointer from integer without a cast
gmake[4]: *** [main.o] Error 1
gmake[4]: Leaving directory `/usr/wrkdir/usr/ports/audio/goobox/work/goobox-0.9.93/src'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/wrkdir/usr/ports/audio/goobox/work/goobox-0.9.93/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/wrkdir/usr/ports/audio/goobox/work/goobox-0.9.93/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/wrkdir/usr/ports/audio/goobox/work/goobox-0.9.93'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/audio/goobox.
*** Error code 1
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-02-20 22:24:19 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer
Comment 2 Joe Marcus Clarke freebsd_committer freebsd_triage 2006-03-27 00:46:52 UTC
State Changed
From-To: open->closed

Committed, thanks!