summaryrefslogtreecommitdiff
path: root/editors/openoffice.org-2.0/files
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2005-12-24 05:06:48 +0000
committerMaho Nakata <maho@FreeBSD.org>2005-12-24 05:06:48 +0000
commitae8a8584ac0b36ac2c08b660d91e36a9e08debfb (patch)
tree71f001c22718f25e3ee9f728169fdae149f646d6 /editors/openoffice.org-2.0/files
parentUpdate maintainer address (diff)
Add missing patch.
Submitted by: Bartosz Fabianowski <freebsd@chillt.de>
Notes
Notes: svn path=/head/; revision=151957
Diffstat (limited to 'editors/openoffice.org-2.0/files')
-rw-r--r--editors/openoffice.org-2.0/files/patch-sdkoo64
1 files changed, 64 insertions, 0 deletions
diff --git a/editors/openoffice.org-2.0/files/patch-sdkoo b/editors/openoffice.org-2.0/files/patch-sdkoo
new file mode 100644
index 000000000000..6dfc9a5fb029
--- /dev/null
+++ b/editors/openoffice.org-2.0/files/patch-sdkoo
@@ -0,0 +1,64 @@
+Issuetracker : #iXXXXX#
+CWS : N/A
+Author : <maho@openoffice.org> (JCA)
+Description : FreeBSD porting : building sdk fails for FreeBSD
+
+1. Build error
+dmake sdkoo fails like:
+
+##############################################################################
+... starting unpatched epm ...
+... epm -f bsd openoffice.org-sdk /work/ports/editors/openoffice.org-2.0-devel/work/instsetoo_native/unxfbsd.pro/OpenOffice_SDK/bsd/listfile/en-US/epm_OpenOffice_SDK_gid_Module_Root_unxfbsd_SRC680__en-US.lst -v 2>&1 | ...
+
+**************************************************
+ERROR: ERROR: "epm -f bsd openoffice.org-sdk /work/ports/editors/openoffice.org-2.0-devel/work/instsetoo_native/unxfbsd.pro/OpenOffice_SDK/bsd/listfile/en-US/epm_OpenOffice_SDK_gid_Module_Root_unxfbsd_SRC680__en-US.lst -v 2>&1 |"!
+in function: call_epm
+**************************************************
+
+**************************************************
+ERROR: Saved logfile: /work/ports/editors/openoffice.org-2.0-devel/work/instsetoo_native/unxfbsd.pro/OpenOffice_SDK/bsd/logging/en-US/log_SRC680__en-US.log
+**************************************************
+... cleaning the output tree ...
+... removing directory /work/ports/editors/openoffice.org-2.0-devel/work/instsetoo_native/unxfbsd.pro/OpenOffice_SDK/bsd/zip/en-US ...
+Fri Nov 18 22:49:33 2005 (08:05 min.)
+dmake: Error code 255, while making 'sdkoo_en-US.bsd'
+'---* tg_merge.mk *---'
+##############################################################################
+
+2. Reason why it fails:
+since quoting for filename containing `$' produces an error
+
+tar: opt/openoffice.org2.0_sdk/classes/com/sun/star/lib/loader/InstallationFinder\$StreamGobbler.class: Could not stat: No such file or directory
+tar: opt/openoffice.org2.0_sdk/classes/com/sun/star/lib/loader/Loader\$CustomURLClassLoader.class: Could not stat: No such file or directory
+
+3. Solution
+
+For FreeBSD, we don't need quoting. We use printf for files names
+instead of using qprintf, a function that treats quoting string.
+
+--- epm/epm-3.7.patch Sat Nov 19 10:21:34 2005
++++ epm/epm-3.7.patch Sat Nov 19 10:22:23 2005
+@@ -586,3 +586,23 @@
+ }
+
+ --- 457,462 ----
++
++*** misc/epm-3.7/bsd.c Wed Jan 15 02:05:01 2003
++--- misc/build/epm-3.7/bsd.c Sat Jun 4 06:18:27 2005
++***************
++*** 234,240 ****
++ case 'c' :
++ case 'f' :
++ case 'l' :
++! qprintf(fp, "%s\n", file->dst + 1);
++ break;
++ }
++ }
++--- 243,249 ----
++ case 'c' :
++ case 'f' :
++ case 'l' :
++! fprintf(fp, "%s\n", file->dst + 1);
++ break;
++ }
++ }