Package: cenon.app Version: 3.80-1 Severity: serious Tags: patch When building 'cenon.app' on amd64/unstable, I get the following error:
vhfCFGFunctions.m:216: warning: '_OBJC_INSTANCE_16' defined but not used Compiling file vhfCommonFunctions.m ... vhfCommonFunctions.m:49: error: conflicting types for 'sortPopup' vhfCommonFunctions.h:47: error: previous declaration of 'sortPopup' was here make[3]: *** [shared_obj/vhfCommonFunctions.o] Error 1 With the attached patch 'cenon.app' can be compiled on unstable. Regards Andreas Jochens diff -urN ../tmp-orig/cenon.app-3.80/VHFShared/vhfCommonFunctions.m ./VHFShared/vhfCommonFunctions.m --- ../tmp-orig/cenon.app-3.80/VHFShared/vhfCommonFunctions.m 2005-11-18 14:57:08.000000000 +0000 +++ ./VHFShared/vhfCommonFunctions.m 2006-06-13 15:15:05.000000000 +0000 @@ -45,7 +45,7 @@ * created: 03.05.93 * modified: 03.05.93 01.03.97 */ -void sortPopup(NSPopUpButton *popupButton, int startIx) +void sortPopup(id popupButton, int startIx) { int i, cnt = [popupButton numberOfItems]; for (i=startIx; i<cnt-1; i++) diff -urN ../tmp-orig/cenon.app-3.80/functions.m ./functions.m --- ../tmp-orig/cenon.app-3.80/functions.m 2005-11-19 21:58:22.000000000 +0000 +++ ./functions.m 2006-06-13 15:17:47.000000000 +0000 @@ -106,7 +106,7 @@ * ext the extension of the files * removeIx the index of the first item of the popuplist to be removed */ -void fillPopup(NSPopUpButton *popup, NSString *folder, NSString *ext, int removeIx ) +void fillPopup(id popup, NSString *folder, NSString *ext, int removeIx ) { NSString *path; int i, j, cnt, selectedIx = [popup indexOfSelectedItem]; NSFileManager *defaultManager = [NSFileManager defaultManager]; -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]