aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice.org-1.0
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2003-04-18 03:03:10 +0800
committermbr <mbr@FreeBSD.org>2003-04-18 03:03:10 +0800
commita6fb9063640e24823da563c82437c47bb679dca2 (patch)
tree25f5cfc0848e641f11dc366e493e12961c47701b /editors/openoffice.org-1.0
parentb7437dc70c0567604ea4c46c7e63200c7c50fe22 (diff)
downloadfreebsd-ports-gnome-a6fb9063640e24823da563c82437c47bb679dca2.tar.gz
freebsd-ports-gnome-a6fb9063640e24823da563c82437c47bb679dca2.tar.zst
freebsd-ports-gnome-a6fb9063640e24823da563c82437c47bb679dca2.zip
Fix application hangs if I try to print to a printer which is not set
as default. #i13031# fixed non matching allocator/deallocator issue Because of this severe bug OO.org1.03 release will be rerolled.
Diffstat (limited to 'editors/openoffice.org-1.0')
-rw-r--r--editors/openoffice.org-1.0/Makefile1
-rw-r--r--editors/openoffice.org-1.0/files/patch-vcl+source+gdi+print.cxx11
2 files changed, 12 insertions, 0 deletions
diff --git a/editors/openoffice.org-1.0/Makefile b/editors/openoffice.org-1.0/Makefile
index 0a12abe5d921..9e0ac92f2925 100644
--- a/editors/openoffice.org-1.0/Makefile
+++ b/editors/openoffice.org-1.0/Makefile
@@ -7,6 +7,7 @@
PORTNAME= openoffice
PORTVERSION= 1.0.3
+PORTREVISION= 1
CATEGORIES+= editors
MASTER_SITES+= http://ny1.mirror.openoffice.org/%SUBDIR%/ \
http://ftp.gwdg.de/pub/misc/openoffice/%SUBDIR%/ \
diff --git a/editors/openoffice.org-1.0/files/patch-vcl+source+gdi+print.cxx b/editors/openoffice.org-1.0/files/patch-vcl+source+gdi+print.cxx
new file mode 100644
index 000000000000..4ca91d11399d
--- /dev/null
+++ b/editors/openoffice.org-1.0/files/patch-vcl+source+gdi+print.cxx
@@ -0,0 +1,11 @@
+--- ../vcl/source/gdi/print.cxx.orig Thu Apr 17 18:58:42 2003
++++ ../vcl/source/gdi/print.cxx Thu Apr 17 18:59:10 2003
+@@ -532,7 +532,7 @@
+ if ( (pJobSetup->maPrinterName != pInfo->maPrinterName) ||
+ (pJobSetup->maDriver != pInfo->maDriver) )
+ {
+- rtl_freeMemory( pJobSetup->mpDriverData );
++ delete pJobSetup->mpDriverData;
+ pJobSetup->mpDriverData = NULL;
+ pJobSetup->mnDriverDataLen = 0;
+ }