Bug 73631

Summary: graphics/gtkam fails to build
Product: Ports & Packages Reporter: Greg Lehey <grog>
Component: Individual Port(s)Assignee: Michael Johnson <ahze>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Greg Lehey 2004-11-07 00:30:27 UTC
	build of gtkam fails in
	/usr/ports/graphics/libexif-gtk/work/libexif-gtk-0.3.3/libexif-gtk
	with the following messages:

cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl -I../gtk-extensions -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libexif -I/usr/local/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/X11R6/include/pango-1.0 -I/usr/local/include/freetype2 -DG_LOG_DOMAIN=\"libexif\" -I/usr/local/include -O -pipe -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -c gtk-exif-content-list.c -MT gtk-exif-content-list.lo -MD -MP -MF .deps/gtk-exif-content-list.TPlo  -fPIC -DPIC -o .libs/gtk-exif-content-list.lo
gtk-exif-content-list.c: In function `update_foreach_func':
gtk-exif-content-list.c:376: error: too few arguments to function `exif_entry_get_value'
gtk-exif-content-list.c: In function `gtk_exif_content_list_add_entry':
gtk-exif-content-list.c:403: error: too few arguments to function `exif_entry_get_value'
*** Error code 1

Fix: 

Unclear.  The definition of exif_entry_get_value is in
	gtk_exif_content_list_add, and it has three parameters:


	/* For your convenience */
	const char *exif_entry_get_value (ExifEntry *entry, char *val,
				  unsigned int maxlen);


	The calls in gtk-exif-content-list.c supply only one
	parameter:

	gtk_list_store_set (GTK_LIST_STORE (list->priv->store), &iter,
			NAME_COLUMN, exif_tag_get_name (entry->tag),
			VALUE_COLUMN, exif_entry_get_value (entry),
			ENTRY_COLUMN, entry, -1);


	There's no immediately apparent conflict between library
	versions, and the ports tree was cvsupped a few hours
	previously.
How-To-Repeat: 	cd /usr/ports/graphics/gtkam
	make
Comment 1 Michael Nottebrock freebsd_committer freebsd_triage 2004-11-07 02:22:55 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ahze

Over to ahze, since he's working on libexif-gtk anyway.
Comment 2 Michael Johnson freebsd_committer freebsd_triage 2004-11-07 15:51:43 UTC
State Changed
From-To: open->closed

libexif-gtk is now in sync with libexif, so its fixed