summaryrefslogtreecommitdiff
path: root/editors/abiword/files/patch-src_wp_ap_unix_ap_UnixApp.cpp
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2007-12-30 23:46:29 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2007-12-30 23:46:29 +0000
commit47c1047a0dbd89b2a61fb0dc98c18a87e5e876a3 (patch)
tree9df54683e9be0be762427d8278574cee39c0c4ff /editors/abiword/files/patch-src_wp_ap_unix_ap_UnixApp.cpp
parentReturn to pool. (diff)
Use an explicit (void *)0 instead of NULL to indicate a varargs sentinel.
This fixes the runtime on 64-bit platforms since since C++ treats NULL as simply 0. PR: 119127
Notes
Notes: svn path=/head/; revision=204722
Diffstat (limited to '')
-rw-r--r--editors/abiword/files/patch-src_wp_ap_unix_ap_UnixApp.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/abiword/files/patch-src_wp_ap_unix_ap_UnixApp.cpp b/editors/abiword/files/patch-src_wp_ap_unix_ap_UnixApp.cpp
new file mode 100644
index 000000000000..c0ff7430562f
--- /dev/null
+++ b/editors/abiword/files/patch-src_wp_ap_unix_ap_UnixApp.cpp
@@ -0,0 +1,11 @@
+--- src/wp/ap/unix/ap_UnixApp.cpp.orig 2007-12-30 18:44:50.000000000 -0500
++++ src/wp/ap/unix/ap_UnixApp.cpp 2007-12-30 18:41:23.000000000 -0500
+@@ -1405,7 +1405,7 @@ int AP_UnixApp::main(const char * szAppN
+ GNOME_PARAM_APP_DATADIR, ABIWORD_DATADIR,
+ GNOME_PARAM_APP_LIBDIR, ABIWORD_APP_LIBDIR,
+ GNOME_PARAM_POPT_TABLE, AP_Args::options,
+- GNOME_PARAM_NONE);
++ (void *)0);
+ #ifdef LOGFILE
+ fprintf(logfile,"gnome_program_init completed \n");
+ #endif