Codebase list adun.app / 2b052f6
Fix more compiler warnings Yavor Doganov 5 years ago
2 changed file(s) with 50 addition(s) and 13 deletion(s). Raw diff Collapse all Expand all
00 adun.app (0.81-13) UNRELEASED; urgency=medium
11
2 * debian/patches/ftbfs-powerpcspe: New; fixes FTBFS on powerpcspe.
2 * debian/patches/ftbfs-powerpcspe.patch: New; fixes FTBFS on powerpcspe.
3 * debian/patches/gcc-warnings.patch: Fix more warnings.
34 * debian/patches/series: Update.
45 * debian/control (Build-Depends): Bump gnustep-make requirement to >=
56 2.7.0-4 for "terse" support.
2323 output truncated before the last format character [-Wformat-truncation=]
2424 ‘receiver’ may not respond to ‘-message’
2525 multiple methods named ‘-foo’ found
26 operation on ‘foo’ may be undefined [-Wsequence-point]
2627 Author: Yavor Doganov <yavor@gnu.org>
2728 Bug-Debian: http://bugs.debian.org/749733
2829 Forwarded: no
29 Last-Update: 2018-01-07
30 Last-Update: 2019-01-24
3031 ---
3132
3233 --- adun.app.orig/Kernel/AdunKernel/CoreAdditions/AdunTrajectory.m
15391540 {
15401541 --- adun.app.orig/Kernel/AdunKernel/Framework/AdunSmoothedGBTerm.m
15411542 +++ adun.app/Kernel/AdunKernel/Framework/AdunSmoothedGBTerm.m
1542 @@ -69,7 +69,7 @@
1543 @@ -69,13 +69,13 @@
15431544 NSArray* array;
15441545 NSString* coefficientKey;
15451546
15481549 {
15491550 //Initialise some ivars
15501551 integrationStartPoint = 0.5; //Following Im et al.
1552 meshSize = 1.0; //Better for identifying complete overlaps
1553 cutBuffer = 0.0;
1554 - totalPairESTPotential = totalPairESTPotential = totalNonpolarPotential = 0;
1555 + totalPairESTPotential = totalNonpolarPotential = 0;
1556 memoryManager = [AdMemoryManager appMemoryManager];
1557
1558 //Set arguments
15511559 @@ -240,8 +240,6 @@
15521560
15531561 - (void) calculateBornRadii
35503558 if([NSStringFromSelector(aSelector) isEqual: @"insertNewline:"])
35513559 --- adun.app.orig/UL/ULExportController.m
35523560 +++ adun.app/UL/ULExportController.m
3553 @@ -49,7 +49,7 @@
3561 @@ -20,6 +20,7 @@
3562 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
3563 */
3564 #include "ULExportController.h"
3565 +#import "ULInterfaceFunctions.h"
3566 #include <AdunKernel/AdunFileSystemSimulationStorage.h>
3567 #include <MolTalk/MolTalk.h>
3568
3569 @@ -49,7 +50,7 @@
35543570 if(sharedExportController != nil)
35553571 return sharedExportController;
35563572
35593575 {
35603576 if([NSBundle loadNibNamed: @"CreateAttributePanel" owner: self] == NO)
35613577 {
3562 @@ -119,7 +119,6 @@
3578 @@ -119,7 +120,6 @@
35633579 - (void) _exportObjectAsBinaryArchive: (id) anObject toFile: (NSString*) filename
35643580 {
35653581 BOOL retVal;
35673583 NSError *error;
35683584 NSMutableData *data;
35693585 NSKeyedArchiver* archiver;
3570 @@ -177,17 +176,17 @@
3586 @@ -177,17 +177,17 @@
35713587
35723588 - (void) export: (id) sender
35733589 {
35893605 format = [exportPanel choice];
35903606
35913607 if(result == NSOKButton)
3592 @@ -204,7 +203,6 @@
3608 @@ -204,7 +204,6 @@
35933609 {
35943610 //Take any extension off filename
35953611 //This just makes it easier to work with it later
35973613 exportObject = [pasteboard objectForType: type];
35983614 [self exportObject: exportObject
35993615 toFile: filename
3600 @@ -220,7 +218,7 @@
3616 @@ -220,7 +219,7 @@
36013617 */
36023618 - (void) exportObject: (id) anObject toFile: (NSString*) filename as: (ULExportType) type
36033619 {
36063622
36073623 switch((int)type)
36083624 {
3609 @@ -246,7 +244,6 @@
3625 @@ -246,7 +245,6 @@
36103626
36113627 - (void) exportObject: (id) anObject toFile: (NSString*) filename format: (NSString*) format
36123628 {
36143630 NSString* selectorString;
36153631
36163632 if([format isEqual: @"binary archive"])
3617 @@ -324,7 +321,7 @@
3633 @@ -324,7 +322,7 @@
36183634 - (void) exportCurrentPasteboardObjectAs: (ULExportType) type
36193635 {
36203636 int result;
36233639 NSArray* availableTypes;
36243640 NSSavePanel* savePanel;
36253641 id exportObject;
3626 @@ -349,7 +346,6 @@
3642 @@ -349,7 +347,6 @@
36273643 {
36283644 //Take any extension off filename
36293645 //This just makes it easier to work with it later
36313647 exportObject = [pasteboard objectForType: className];
36323648 [self exportObject: exportObject
36333649 toFile: filename
3634 @@ -509,11 +505,10 @@
3650 @@ -430,11 +427,6 @@
3651 if(result == NSOKButton)
3652 {
3653
3654 -//Gnustep base pre 0.16
3655 -#if defined GNUSTEP && GS_API_VERSION(0, 011600)
3656 - [string writeToFile: filename
3657 - atomically: NO];
3658 -#else
3659 [string writeToFile: filename
3660 atomically: NO
3661 encoding: NSUTF8StringEncoding
3662 @@ -442,7 +434,6 @@
3663
3664 if(error != nil)
3665 ULRunErrorPanel(error);
3666 -#endif
3667
3668 }
3669 }
3670 @@ -509,11 +500,10 @@
36353671 int i;
36363672 NSRange numRange;
36373673 NSMutableString* string = [NSMutableString new];
36453681
36463682 matrixName = [matrixList titleOfSelectedItem];
36473683
3648 @@ -565,7 +560,6 @@
3684 @@ -565,7 +555,6 @@
36493685 {
36503686 useAtoms = YES;
36513687 [string appendString: @"recipient: atoms\n"];