Difference between revisions of "Talk:FreeBSD"

From GnuCash
Jump to: navigation, search
(2.0.4 port)
 
Line 1: Line 1:
Found 2.0.2 on mailing list, haven't seen anything newer and it works for me so adding it to the wiki. --[[User:Drucci|Drucci]] 16:33, 14 January 2007 (EST)
 
  
 
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 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;
 
</pre>
 
 
 
The first patch isn't necessary.  (substring "1.4<ANYTHING>" 0 3) will yield "1.4", so the line that's being changed already takes into account 1.4.1.  Clearly the person writing that patch doesn't understand scheme or didn't actually test it.
 
 
The second patch shouldn't be necessary, but I can understand why it might be.  - Warlord -- 2007-01-18
 
 
2.0.4  Successfully compiles & runs on FreeBSD using a (barely) modified version of the port described on [[FreeBSD]]. When I get a chance I'll throw it online for others to test. --[[User:Drucci|Drucci]] 13:41, 20 January 2007 (EST)
 
 
== 2.0.4 port ==
 
 
[http://rucci.org/FreeBSD/ GnuCash-2.0.4 FreeBSD Port] works for me...
 

Latest revision as of 14:52, 15 March 2007