From c1e44a9d9eaab6ebf2397c8c5291f53b3fc68b93 Mon Sep 17 00:00:00 2001 From: dinoex Date: Wed, 10 Dec 2003 22:05:55 +0000 Subject: - fix building with gnustep 1.9.0 (devel) --- lang/gnustep-guile/Makefile | 6 ++ lang/gnustep-guile/files/NSConcreteNumber.h | 104 ++++++++++++++++++++++++++++ 2 files changed, 110 insertions(+) create mode 100644 lang/gnustep-guile/files/NSConcreteNumber.h (limited to 'lang/gnustep-guile') diff --git a/lang/gnustep-guile/Makefile b/lang/gnustep-guile/Makefile index 5c85c32c055b..24222ad39267 100644 --- a/lang/gnustep-guile/Makefile +++ b/lang/gnustep-guile/Makefile @@ -48,4 +48,10 @@ GUILE_VER!= (cd ${PORTSDIR}/lang/guile && make -V GUILE_VER) pre-configure: ${TOUCH} ${WRKSRC}/Greg/ac_nonexistent.h +.if defined(WITH_GNUSTEP_DEVEL) +post-configure: + ${MKDIR} ${WRKSRC}/ScriptKit/Foundation + ${CP} ${FILESDIR}/NSConcreteNumber.h ${WRKSRC}/ScriptKit/Foundation/ +.endif + .include diff --git a/lang/gnustep-guile/files/NSConcreteNumber.h b/lang/gnustep-guile/files/NSConcreteNumber.h new file mode 100644 index 000000000000..59163c03d41f --- /dev/null +++ b/lang/gnustep-guile/files/NSConcreteNumber.h @@ -0,0 +1,104 @@ +/* NSConcreteNumber - Interface for Concrete NSNumber classes + + Copyright (C) 1993,1994 Free Software Foundation, Inc. + + Written by: Adam Fedor + Date: Mar 1995 + + This file is part of the GNUstep Base Library. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA. +*/ + +#include + +@interface NSBoolNumber : NSNumber +{ + BOOL data; +} +@end + +@interface NSUCharNumber : NSNumber +{ + unsigned char data; +} +@end + +@interface NSCharNumber : NSNumber +{ + signed char data; +} +@end + +@interface NSUShortNumber : NSNumber +{ + unsigned short data; +} +@end + +@interface NSShortNumber : NSNumber +{ + signed short data; +} +@end + +@interface NSUIntNumber : NSNumber +{ + unsigned int data; +} +@end + +@interface NSIntNumber : NSNumber +{ + signed int data; +} +@end + +@interface NSULongNumber : NSNumber +{ + unsigned long data; +} +@end + +@interface NSLongNumber : NSNumber +{ + signed long data; +} +@end + +@interface NSULongLongNumber : NSNumber +{ + unsigned long long data; +} +@end + +@interface NSLongLongNumber : NSNumber +{ + signed long long data; +} +@end + +@interface NSFloatNumber : NSNumber +{ + float data; +} +@end + +@interface NSDoubleNumber : NSNumber +{ + double data; +} +@end + -- cgit