bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ 101905 ] gdl2: pqlib-fe.h on suse 7.3


From: David Ayers
Subject: Re: [ 101905 ] gdl2: pqlib-fe.h on suse 7.3
Date: Thu, 06 Mar 2003 23:31:11 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030210

nobody@savannah.gnu.org wrote:

Support Request #101905, was updated on Wed 03/05/03 at 20:28
You can respond by visiting: http://savannah.gnu.org/support/?func=detailsupport&support_id=101905&group_id=99

Category: Developer Apps
Status: Open
Priority: 5
Summary: gdl2: pqlib-fe.h on suse 7.3

By: martin
Date: Wed 03/05/03 at 20:28
Logged In: NO Browser: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130

configure of gdl2 searches for the pqlib-fe.h header to
determine the usability of PostgreSQL.
On SuSE 7.3, the pqlib-fe.h file gets installed in
/usr/include/pgsql/ but configure only tries the
default include path.

Commited to cvs:
   * config/postgres.m4:  Updated CPPFLAGS and LIBS to account for
   distributions default installations.
   * configure: Regenerated.

   * Tools/EOAttribute+GSDoc.m ([EOAttribute -gsdocContentWithPtr:]):
   Removed superfluous semicolon in method definition.

   * EOAccess/EODatabaseContext.m: Fixed minor typo in comment.
* EOAccess/EOEntity.m ([EOEntity -description]): Return the
   description of the encoded property list.
   ([EOEntity -debugDescription]): Implements original description
   method.
   ([EOEntity -classProperties]): Added cast to supress compiler
   warning.


Index: dev-libs/gdl2/config/postgres.m4
===================================================================
RCS file: /cvsroot/gnustep/gnustep/dev-libs/gdl2/config/postgres.m4,v
retrieving revision 1.2
diff -u -r1.2 postgres.m4
--- dev-libs/gdl2/config/postgres.m4    4 Dec 2002 13:35:09 -0000       1.2
+++ dev-libs/gdl2/config/postgres.m4    6 Mar 2003 22:22:13 -0000
@@ -11,8 +11,9 @@
   cppflags_temp="$CPPFLAGS"
   libs_temp=$LIBS
 
-  CPPFLAGS="$CPPFLAGS -I/usr/local/include -I/usr/local/pgsql/include"
-  LIBS="$LIBS -L/usr/local/lib -L/usr/local/pgsql/lib"
+  CPPFLAGS="$CPPFLAGS -I/usr/local/include -I/usr/local/pgsql/include \
+                      -I/usr/include/pgsql"
+  LIBS="$LIBS -L/usr/local/lib -L/usr/local/pgsql/lib -L/usr/pgsql/lib"
 
   if test "$pgsql_incdir" != "no"; then
     CPPFLAGS="$CPPFLAGS -I$pgsql_incdir"
Index: dev-libs/gdl2/Tools/EOAttribute+GSDoc.m
===================================================================
RCS file: /cvsroot/gnustep/gnustep/dev-libs/gdl2/Tools/EOAttribute+GSDoc.m,v
retrieving revision 1.1
diff -u -r1.1 EOAttribute+GSDoc.m
--- dev-libs/gdl2/Tools/EOAttribute+GSDoc.m     15 Nov 2002 22:57:05 -0000      
1.1
+++ dev-libs/gdl2/Tools/EOAttribute+GSDoc.m     6 Mar 2003 22:22:13 -0000
@@ -55,7 +55,7 @@
 
 @implementation EOAttribute (GSDoc)
 
-- (NSString *)gsdocContentWithIdPtr: (int *)xmlIdPtr;
+- (NSString *)gsdocContentWithIdPtr: (int *)xmlIdPtr
 {
   return [self gsdocContentWithTagName: @"EOAttribute"
                idPtr: xmlIdPtr];
Index: dev-libs/gdl2/EOAccess/EODatabaseContext.m
===================================================================
RCS file: /cvsroot/gnustep/gnustep/dev-libs/gdl2/EOAccess/EODatabaseContext.m,v
retrieving revision 1.14
diff -u -r1.14 EODatabaseContext.m
--- dev-libs/gdl2/EOAccess/EODatabaseContext.m  3 Feb 2003 14:52:51 -0000       
1.14
+++ dev-libs/gdl2/EOAccess/EODatabaseContext.m  6 Mar 2003 22:22:16 -0000
@@ -3029,7 +3029,7 @@
   EOFLOGObjectFnStop();
 }
 
-/** Contructs EOAdaptorOperations for all EODatabaseOperations constructed in
+/** Constructs EOAdaptorOperations for all EODatabaseOperations constructed in
 during recordChangesInEditingContext and recordUpdateForObject:changes:.
 Performs the EOAdaptorOperations on an available adaptor channel.
 If the save is OK, updates the snapshots in the EODatabaseContext to reflect
Index: dev-libs/gdl2/EOAccess/EOEntity.m
===================================================================
RCS file: /cvsroot/gnustep/gnustep/dev-libs/gdl2/EOAccess/EOEntity.m,v
retrieving revision 1.13
diff -u -r1.13 EOEntity.m
--- dev-libs/gdl2/EOAccess/EOEntity.m   3 Feb 2003 14:52:52 -0000       1.13
+++ dev-libs/gdl2/EOAccess/EOEntity.m   6 Mar 2003 22:22:16 -0000
@@ -828,7 +828,17 @@
   return [_name hash];
 }
 
-- (NSString*)description
+- (NSString *)description
+{
+  NSMutableDictionary *plist;
+
+  plist = [NSMutableDictionary dictionaryWithCapacity: 4];
+  [self encodeIntoPropertyList: plist];
+
+  return [plist description];
+}
+
+- (NSString *)debugDescription
 {
   NSString *dscr = nil;
 
@@ -1014,8 +1024,10 @@
               NSString *classPropertyName = [classPropertiesList
                                              objectAtIndex: i];
 #else
-              NSString *classPropertyName = ([[classPropertiesList 
objectAtIndex:i] isKindOfClass:[NSString class]] ? [classPropertiesList 
objectAtIndex:i]:[[classPropertiesList
-                          objectAtIndex: i] name]);
+              NSString *classPropertyName = (
+       [[classPropertiesList objectAtIndex:i] isKindOfClass:[NSString class]] ?
+        [classPropertiesList objectAtIndex:i] :
+        [(EOEntity *)[classPropertiesList objectAtIndex: i] name]);
 #endif
               id classProperty = [self attributeNamed: classPropertyName];
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]