summaryrefslogtreecommitdiffstats
path: root/finance/gnucash-devel/files
diff options
context:
space:
mode:
Diffstat (limited to 'finance/gnucash-devel/files')
-rw-r--r--finance/gnucash-devel/files/patch-Makefile.in11
-rw-r--r--finance/gnucash-devel/files/patch-PostgresBackend16
-rw-r--r--finance/gnucash-devel/files/patch-configure44
-rw-r--r--finance/gnucash-devel/files/patch-lib::srfi::srfi-8.scm15
-rw-r--r--finance/gnucash-devel/files/patch-ltmain.sh29
-rw-r--r--finance/gnucash-devel/files/patch-po::ru.po26
-rw-r--r--finance/gnucash-devel/files/patch-src::gnome::Makefile.in11
-rw-r--r--finance/gnucash-devel/files/patch-src_app-utils_i18n.h8
-rw-r--r--finance/gnucash-devel/files/patch-src_doc_Makefile.in11
9 files changed, 171 insertions, 0 deletions
diff --git a/finance/gnucash-devel/files/patch-Makefile.in b/finance/gnucash-devel/files/patch-Makefile.in
new file mode 100644
index 000000000..7ce6ec379
--- /dev/null
+++ b/finance/gnucash-devel/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in~ Wed Oct 19 21:05:51 2005
++++ Makefile.in Wed Oct 19 21:06:29 2005
+@@ -412,7 +412,7 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+-SUBDIRS = intl m4 macros doc lib src intl-scm po rpm accounts
++SUBDIRS = m4 macros doc lib src intl-scm po rpm accounts
+ docdir = ${GNC_DOC_INSTALL_DIR}
+ @GNC_FALSE@dummy_SOURCES = dummy.c
+ noinst_DATA = make-gnucash-patch make-gnucash-potfiles
diff --git a/finance/gnucash-devel/files/patch-PostgresBackend b/finance/gnucash-devel/files/patch-PostgresBackend
new file mode 100644
index 000000000..2126e467f
--- /dev/null
+++ b/finance/gnucash-devel/files/patch-PostgresBackend
@@ -0,0 +1,16 @@
+*** src/backend/postgres/PostgresBackend.orig Mon Jul 26 17:17:45 2004
+--- src/backend/postgres/PostgresBackend.c Mon Jul 26 17:33:16 2004
+***************
+*** 2104,2109 ****
+--- 2104,2114 ----
+ 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;
+ p = stpcpy (p, "CREATE DATABASE ");
diff --git a/finance/gnucash-devel/files/patch-configure b/finance/gnucash-devel/files/patch-configure
new file mode 100644
index 000000000..aae73e5c8
--- /dev/null
+++ b/finance/gnucash-devel/files/patch-configure
@@ -0,0 +1,44 @@
+--- configure.orig Thu Oct 20 21:05:33 2005
++++ configure Thu Oct 20 21:12:31 2005
+@@ -9710,12 +9710,12 @@
+ /* end confdefs.h. */
+ #include <libintl.h>
+ extern int _nl_msg_cat_cntr;
+-extern int *_nl_domain_bindings;
++extern int *libintl_nl_domain_bindings;
+ int
+ main ()
+ {
+ bindtextdomain ("", "");
+-return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
++return (int) gettext ("") + _nl_msg_cat_cntr + *libintl_nl_domain_bindings
+ ;
+ return 0;
+ }
+@@ -20102,7 +20102,7 @@
+ withval="$with_help_prefix"
+ GNC_HELPDIR="$with_help_prefix/gnome/help/gnucash"
+ else
+- GNC_HELPDIR="\${datadir}/gnome/help/gnucash"
++ GNC_HELPDIR="\${datadir}/help/gnucash"
+ fi;
+
+
+@@ -21587,7 +21587,7 @@
+
+
+
+-for ac_header in db_185.h db1/db.h db4/db_185.h
++for ac_header in db_185.h db1/db.h db41/db_185.h
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
+@@ -21750,7 +21750,7 @@
+
+
+
+-for ac_header in db.h db_185.h db1/db.h db4/db_185.h
++for ac_header in db.h db_185.h db1/db.h db41/db_185.h
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
diff --git a/finance/gnucash-devel/files/patch-lib::srfi::srfi-8.scm b/finance/gnucash-devel/files/patch-lib::srfi::srfi-8.scm
new file mode 100644
index 000000000..ad81cdef9
--- /dev/null
+++ b/finance/gnucash-devel/files/patch-lib::srfi::srfi-8.scm
@@ -0,0 +1,15 @@
+
+$FreeBSD: ports/finance/gnucash-devel/files/patch-lib::srfi::srfi-8.scm,v 1.2 2002/08/18 07:40:20 sobomax Exp $
+
+--- 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)
diff --git a/finance/gnucash-devel/files/patch-ltmain.sh b/finance/gnucash-devel/files/patch-ltmain.sh
new file mode 100644
index 000000000..64f959dd4
--- /dev/null
+++ b/finance/gnucash-devel/files/patch-ltmain.sh
@@ -0,0 +1,29 @@
+--- ltmain.sh.orig Fri Sep 13 15:38:11 2002
++++ ltmain.sh Fri Oct 11 01:44:24 2002
+@@ -1073,8 +1073,16 @@
+ continue
+ ;;
+
++ -pthread)
++ compile_command="$compile_command -pthread"
++ finalize_command="$finalize_command -pthread"
++ compiler_flags="$compiler_flags -pthread"
++ continue
++ ;;
++
+ -module)
+ module=yes
++ build_old_libs=no
+ continue
+ ;;
+
+@@ -2502,6 +2510,9 @@
+ *-*-openbsd*)
+ # Do not include libc due to us having libc/libc_r.
+ ;;
++ *-*-freebsd*)
++ # FreeBSD doesn't need this...
++ ;;
+ *)
+ # Add libc to deplibs on all other systems if necessary.
+ if test $build_libtool_need_lc = "yes"; then
diff --git a/finance/gnucash-devel/files/patch-po::ru.po b/finance/gnucash-devel/files/patch-po::ru.po
new file mode 100644
index 000000000..d1d17a2ad
--- /dev/null
+++ b/finance/gnucash-devel/files/patch-po::ru.po
@@ -0,0 +1,26 @@
+--- po/ru.po.orig Sun Oct 16 13:14:00 2005
++++ po/ru.po Wed Oct 19 21:10:01 2005
+@@ -4953,7 +4953,7 @@
+
+ #: src/gnome/dialog-totd.c:303
+ msgid "-*-helvetica-bold-r-normal-*-*-180-*-*-p-*-*-*"
+-msgstr "-rfx-helvetica-bold-r-normal-*-*-180-*-*-p-*-*-*"
++msgstr "-cronyx-helvetica-bold-r-normal-*-*-180-*-*-p-*-*-*"
+
+ #: src/gnome/dialog-totd.c:304
+ msgid "Tip of the Day:"
+@@ -8660,12 +8660,12 @@
+ msgid ""
+ "register-default-font:-adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*"
+ msgstr ""
+-"register-default-font:-rfx-helvetica-medium-r-normal--*-120-*-*-*-*-*-*"
++"register-hint-font:-cronyx-helvetica-medium-o-normal--*-120-*-*-*-*-*-*"
+
+ #: src/register/register-gnome/gnucash-style.c:819
+ #: intl-scm/guile-strings.c:1093
+ msgid "register-hint-font:-adobe-helvetica-medium-o-normal--*-120-*-*-*-*-*-*"
+-msgstr "register-hint-font:-rfx-helvetica-medium-o-normal--*-120-*-*-*-*-*-*"
++msgstr "register-hint-font:-cronyx-helvetica-medium-o-normal--*-120-*-*-*-*-*-*"
+
+ #: src/report/report-gnome/dialog-column-view.c:271
+ msgid "Contents"
diff --git a/finance/gnucash-devel/files/patch-src::gnome::Makefile.in b/finance/gnucash-devel/files/patch-src::gnome::Makefile.in
new file mode 100644
index 000000000..704a756bc
--- /dev/null
+++ b/finance/gnucash-devel/files/patch-src::gnome::Makefile.in
@@ -0,0 +1,11 @@
+--- src/gnome/Makefile.in.orig Wed Oct 19 21:10:12 2005
++++ src/gnome/Makefile.in Wed Oct 19 21:10:41 2005
+@@ -470,7 +470,7 @@
+ window-reconcile.c \
+ window-register.c
+
+-gnomeappdir = ${datadir}/gnome/apps/Applications
++gnomeappdir = ${datadir}/apps/Applications
+ gnomeapp_in_files = gnucash.desktop.in
+ gnomeapp_DATA = $(gnomeapp_in_files:.desktop.in=.desktop)
+ appicondir = $(datadir)/pixmaps
diff --git a/finance/gnucash-devel/files/patch-src_app-utils_i18n.h b/finance/gnucash-devel/files/patch-src_app-utils_i18n.h
new file mode 100644
index 000000000..0625fd7df
--- /dev/null
+++ b/finance/gnucash-devel/files/patch-src_app-utils_i18n.h
@@ -0,0 +1,8 @@
+--- src/app-utils/i18n.h.orig Fri Feb 14 12:35:54 2003
++++ src/app-utils/i18n.h Fri Feb 14 12:36:07 2003
+@@ -26,4 +26,4 @@
+ #endif
+
+ #define TEXT_DOMAIN "gnucash"
+-#define LOCALE_DIR "/usr/local/share/locale"
++#define LOCALE_DIR "%%PREFIX%%/share/locale"
diff --git a/finance/gnucash-devel/files/patch-src_doc_Makefile.in b/finance/gnucash-devel/files/patch-src_doc_Makefile.in
new file mode 100644
index 000000000..45eec5037
--- /dev/null
+++ b/finance/gnucash-devel/files/patch-src_doc_Makefile.in
@@ -0,0 +1,11 @@
+--- src/doc/Makefile.in.orig Wed Oct 19 21:11:16 2005
++++ src/doc/Makefile.in Wed Oct 19 21:23:15 2005
+@@ -726,7 +726,7 @@
+ $(mkinstalldirs) $(DESTDIR)$(docdir)/html
+ mkdir -p html #Workaround to allow libofx-cvs user to install without doc.
+ # cp -rp $(srcdir)/html ${docdir}
+- cp -rp html $(DESTDIR)$(docdir)/html
++ cp -rp html $(DESTDIR)$(docdir)
+
+ uninstall-hook:
+ rm -rf ${docdir}/html