Update of /cvsroot/fink/experimental/rangerrick/common/main/finkinfo/database
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19216/common/main/finkinfo/database

Modified Files:
        postgresql81.patch 
Log Message:
postgresql fix, and lots of perl modules for catalyst; it is now possible to 
run the tutorial :)

Index: postgresql81.patch
===================================================================
RCS file: 
/cvsroot/fink/experimental/rangerrick/common/main/finkinfo/database/postgresql81.patch,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- postgresql81.patch  21 Feb 2006 16:24:04 -0000      1.6
+++ postgresql81.patch  22 Feb 2006 02:51:57 -0000      1.7
@@ -159,25 +159,6 @@
    endif
    shlib                       = 
lib$(NAME).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)$(DLSUFFIX)
    shlib_major         = lib$(NAME).$(SO_MAJOR_VERSION)$(DLSUFFIX)
---- postgresql-8.1.3/src/backend/main/main.c   2006-01-31 19:32:05.000000000 
-0500
-+++ postgresql-8.1.3-new/src/backend/main/main.c       2006-02-14 
15:50:39.000000000 -0500
-@@ -54,6 +54,7 @@
-       struct passwd *pw;
- #endif
-       char       *pw_name_persist;
-+      char       *progname;
- 
-       /*
-        * Place platform-specific startup hacks here.  This is the right place 
to
-@@ -260,6 +261,8 @@
-        * here is historical.
-        */
-       if (strcmp(progname, "postmaster") == 0)
-+      if (strlen(progname) >= 10 && strncmp(progname, "postmaster", 10) == 0)
-+
-       {
-               /* Called as "postmaster" */
-               exit(PostmasterMain(argc, argv));
 --- postgresql-8.1.3/src/backend/storage/file/fd.c     2006-01-17 
18:52:50.000000000 -0500
 +++ postgresql-8.1.3-new/src/backend/storage/file/fd.c 2006-02-14 
15:49:09.000000000 -0500
 @@ -51,6 +51,7 @@
@@ -210,35 +191,6 @@
                thisfd = dup(0);
                if (thisfd < 0)
                {
---- postgresql-8.1.3/src/backend/utils/fmgr/dfmgr.c    2005-10-14 
22:49:32.000000000 -0400
-+++ postgresql-8.1.3-new/src/backend/utils/fmgr/dfmgr.c        2006-02-14 
15:49:09.000000000 -0500
-@@ -305,6 +305,26 @@
-               pfree(full);
-       }
- 
-+      new = palloc(strlen(name) + strlen(".so") + 1);
-+      strcpy(new, name);
-+      strcat(new, ".so");
-+
-+      if (!have_slash)
-+      {
-+              full = find_in_dynamic_libpath(new);
-+              pfree(new);
-+              if (full)
-+                      return full;
-+      }
-+      else
-+      {
-+              full = substitute_libpath_macro(new);
-+              pfree(new);
-+              if (file_exists(full))
-+                      return full;
-+              pfree(full);
-+      }
-+
-       new = palloc(strlen(name) + strlen(DLSUFFIX) + 1);
-       strcpy(new, name);
-       strcat(new, DLSUFFIX);
 --- postgresql-8.1.3/src/backend/utils/misc/postgresql.conf.sample     
2005-11-10 09:02:59.000000000 -0500
 +++ postgresql-8.1.3-new/src/backend/utils/misc/postgresql.conf.sample 
2006-02-14 15:49:09.000000000 -0500
 @@ -63,7 +63,7 @@
@@ -377,3 +329,15 @@
  
      if [ $? -ne 0 ]
      then
+--- postgresql-8.1.3/src/backend/main/main.c   2006-01-31 19:32:05.000000000 
-0500
++++ postgresql-8.1.3-new/src/backend/main/main.c       2006-02-21 
16:43:39.000000000 -0500
+@@ -259,7 +259,8 @@
+        * possibly first argument) we were called with. The lack of consistency
+        * here is historical.
+        */
+-      if (strcmp(progname, "postmaster") == 0)
++      if (strlen(progname) >= 10 && strncmp(progname, "postmaster", 10) == 0)
++
+       {
+               /* Called as "postmaster" */
+               exit(PostmasterMain(argc, argv));



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to