Hi,
On Thursday, May 5, 2011 00:09 CEST, Riccardo Mottola
<[email protected]> wrote:
> Hi Sebastian.
>
> Thanks.
>
> > attached patch fixes the problem for me, took me a while to figure this
> > out, but its more or less copied from gshisen.
> >
> >
> I remember "cleaning" that for other older GAP apps too. However
> LapisPuzzle used to work not too long ago.
yes, it seems to work as intended. It's there actually also a two player mode,
or only against the computer?
>
> Anyway, I applied an equivalent simple patch and tracked the change in
> the ChangeLog which was missing.
thanks, now it works, besides the compilation warning I still get:
main.m: In function ‘main’:
main.m:28:3: warning: passing argument 2 of ‘NSApplicationMain’ from
incompatible pointer type
/usr/local/include/AppKit/NSApplication.h:678:1: note: expected ‘const char **’
but argument is of type ‘char **’
attached patch gets rid of it too.
I think I'll add it to the openbsd ports tree. Do you plan a new release with
this little fix soon? Otherwise I'll include the patch in the ports tree for a
while, no rush ;)
cheers
Sebastian
>
>
> Riccardo
Index: main.m
===================================================================
RCS file: /sources/gap/gap/user-apps/Games/LapisPuzzle/main.m,v
retrieving revision 1.2
diff -u -r1.2 main.m
--- main.m 4 May 2011 22:07:39 -0000 1.2
+++ main.m 5 May 2011 06:21:34 -0000
@@ -23,7 +23,7 @@
#import <AppKit/AppKit.h>
-int main(int argc, char **argv)
+int main(int argc, const char **argv)
{
return NSApplicationMain (argc, argv);
}
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep