Difference between revisions of "Talk:FreeBSD"

From GnuCash
Jump to: navigation, search
Line 4: Line 4:
 
Here are the two patches in that freebsd port
 
Here are the two patches in that freebsd port
  
 
+
<pre>
 
--- lib/srfi/srfi-8.scm.orig    Tue Jun 25 23:53:35 2002
 
--- lib/srfi/srfi-8.scm.orig    Tue Jun 25 23:53:35 2002
 
+++ lib/srfi/srfi-8.scm Sat Aug 17 22:34:33 2002
 
+++ lib/srfi/srfi-8.scm Sat Aug 17 22:34:33 2002
Line 32: Line 32:
 
           /* create the database */
 
           /* create the database */
 
           p = be->buff; *p =0;
 
           p = be->buff; *p =0;
 +
</pre>

Revision as of 21:43, 18 January 2007

Found 2.0.2 on mailing list, haven't seen anything newer and it works for me so adding it to the wiki. --Drucci 16:33, 14 January 2007 (EST)


Here are the two patches in that freebsd port

--- lib/srfi/srfi-8.scm.orig    Tue Jun 25 23:53:35 2002
+++ lib/srfi/srfi-8.scm Sat Aug 17 22:34:33 2002
@@ -22,7 +22,8 @@
 (cond
  ((or (string=? "1.3" (version))
       (string=? "1.3.4" (version))
-      (string=? "1.4" (substring (version) 0 3)))
+      (string=? "1.4" (substring (version) 0 3))
+      (string=? "1.4.1" (version)))

   (use-modules (ice-9 slib))
   (require 'macro-by-example)


--- src/backend/postgres/PostgresBackend.c~ Mon Oct  9 05:21:41 2006
+++ src/backend/postgres/PostgresBackend.c  Sat Oct 21 17:56:21 2006
@@ -2092,6 +2092,10 @@
 #endif
          if (!strcmp (encoding, "ANSI_X3.4-1968"))
            encoding = "SQL_ASCII";
+    if (!strcmp(encoding, "US-ASCII"))
+      encoding = "SQL_ASCII";
+
+    printf("\nDatabase encoding is: %s.\n", encoding);

          /* create the database */
          p = be->buff; *p =0;