summaryrefslogtreecommitdiff
path: root/editors/abiword
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-11-14 15:41:40 +0000
committerrillig <rillig@pkgsrc.org>2007-11-14 15:41:40 +0000
commit8e2e66a6b960cd98e3528e0239187f7e5ee60b6c (patch)
tree84aa0d24200775b81f340e75476dd327dfebf13c /editors/abiword
parentb9377643114cb27d83ced1780c5083fba228129a (diff)
downloadpkgsrc-8e2e66a6b960cd98e3528e0239187f7e5ee60b6c.tar.gz
Fixed six little things that prevented sunpro from building the package.
Now it fails in the linker stage with an undefined reference to UT_XML::processingInstruction(const char *, const char *).
Diffstat (limited to 'editors/abiword')
-rw-r--r--editors/abiword/distinfo8
-rw-r--r--editors/abiword/patches/patch-sa22
-rw-r--r--editors/abiword/patches/patch-sb13
-rw-r--r--editors/abiword/patches/patch-sc13
-rw-r--r--editors/abiword/patches/patch-sd13
-rw-r--r--editors/abiword/patches/patch-se13
-rw-r--r--editors/abiword/patches/patch-sf13
7 files changed, 94 insertions, 1 deletions
diff --git a/editors/abiword/distinfo b/editors/abiword/distinfo
index 0fa4d676f3a..0ac57fa7693 100644
--- a/editors/abiword/distinfo
+++ b/editors/abiword/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.55 2006/11/09 15:25:32 adam Exp $
+$NetBSD: distinfo,v 1.56 2007/11/14 15:41:40 rillig Exp $
SHA1 (abiword-2.4.6.tar.bz2) = 3011d221d09336f09f4bb0732add3405961a8623
RMD160 (abiword-2.4.6.tar.bz2) = ca56800d811b3aca0af6b2fb6cd70cbea29ab792
@@ -9,3 +9,9 @@ SHA1 (patch-ac) = 8fe244939c96a322a4db61463b8f66af0fc61e35
SHA1 (patch-ad) = c3191d8e0e510708d9ab22ee9c6d28a655e031c5
SHA1 (patch-af) = d3fe1c03fe80648afb729b3dbc4721c413220a0d
SHA1 (patch-ag) = a4d4569e2bb67110aa160f2f596c32bbd5bac9c4
+SHA1 (patch-sa) = 97508591d7592f0a70260beddaa5f8acbdb6c154
+SHA1 (patch-sb) = f18bd370f10cfd59d81f949bf7b2d57334109abc
+SHA1 (patch-sc) = 13082820d8826f8418758a5f2c9f7fe78fe2f9e9
+SHA1 (patch-sd) = b371b780d35cf63b9809cad83cd5d50895a19510
+SHA1 (patch-se) = 0b1245d182cffc424b85909373107f1c29393b20
+SHA1 (patch-sf) = 8116fa7c1597a92993c373014b24350b3fa25e4f
diff --git a/editors/abiword/patches/patch-sa b/editors/abiword/patches/patch-sa
new file mode 100644
index 00000000000..b9a0be068d3
--- /dev/null
+++ b/editors/abiword/patches/patch-sa
@@ -0,0 +1,22 @@
+$NetBSD: patch-sa,v 1.1 2007/11/14 15:41:41 rillig Exp $
+
+--- src/af/util/xp/ut_misc.cpp.orig 2005-06-20 20:59:13.000000000 +0200
++++ src/af/util/xp/ut_misc.cpp 2007-11-14 14:24:39.136875000 +0100
+@@ -1128,7 +1128,7 @@ const XML_Char ** UT_splitPropsToArray(X
+ }
+
+ char * semi = NULL;
+- const char * p = pProps;
++ char * p = pProps;
+ while(semi = strchr(p, ';'))
+ {
+ *semi = 0;
+@@ -1142,7 +1142,7 @@ const XML_Char ** UT_splitPropsToArray(X
+ const XML_Char ** pPropsArray = new const XML_Char *[2 * iPropCount + 1];
+ UT_return_val_if_fail( pPropsArray, NULL );
+
+- const char * pStart = pProps;
++ char * pStart = pProps;
+
+ // we want to include the 0-terminator
+ for(i = 0; i <= iLen; i++)
diff --git a/editors/abiword/patches/patch-sb b/editors/abiword/patches/patch-sb
new file mode 100644
index 00000000000..c719ce4bef9
--- /dev/null
+++ b/editors/abiword/patches/patch-sb
@@ -0,0 +1,13 @@
+$NetBSD: patch-sb,v 1.1 2007/11/14 15:41:41 rillig Exp $
+
+--- src/af/util/xp/ut_png.cpp.orig 2005-01-07 20:44:09.000000000 +0100
++++ src/af/util/xp/ut_png.cpp 2007-11-14 14:26:59.534916000 +0100
+@@ -84,7 +84,7 @@ bool UT_PNG_getDimensions(const UT_ByteB
+ myBB.pBB = pBB;
+ myBB.iCurPos = 0;
+
+- png_set_read_fn(png_ptr, static_cast<void *>(&myBB), static_cast<png_rw_ptr>(_png_read));
++ png_set_read_fn(png_ptr, static_cast<void *>(&myBB), _png_read);
+
+ /* The call to png_read_info() gives us all of the information from the
+ * PNG file before the first IDAT (image data chunk). REQUIRED
diff --git a/editors/abiword/patches/patch-sc b/editors/abiword/patches/patch-sc
new file mode 100644
index 00000000000..f50082fbd36
--- /dev/null
+++ b/editors/abiword/patches/patch-sc
@@ -0,0 +1,13 @@
+$NetBSD: patch-sc,v 1.1 2007/11/14 15:41:41 rillig Exp $
+
+--- src/af/xap/unix/xap_UnixFont.cpp.orig 2005-10-10 01:28:07.000000000 +0200
++++ src/af/xap/unix/xap_UnixFont.cpp 2007-11-14 14:31:07.730470000 +0100
+@@ -151,7 +151,7 @@ bool XAP_UnixFontHandle::doesGlyphExist(
+
+ static float fixedToFloat(signed long in)
+ {
+- float res = static_cast<float>(in*64);
++ return float(in * 64);
+ }
+ //
+ // UT_Rect of glyph in Logical units.
diff --git a/editors/abiword/patches/patch-sd b/editors/abiword/patches/patch-sd
new file mode 100644
index 00000000000..a9539c11d91
--- /dev/null
+++ b/editors/abiword/patches/patch-sd
@@ -0,0 +1,13 @@
+$NetBSD: patch-sd,v 1.1 2007/11/14 15:41:41 rillig Exp $
+
+--- src/af/xap/unix/xap_UnixFrameImpl.cpp.orig 2006-06-16 21:20:13.000000000 +0200
++++ src/af/xap/unix/xap_UnixFrameImpl.cpp 2007-11-14 14:41:10.141208000 +0100
+@@ -739,7 +739,7 @@ gint XAP_UnixFrameImpl::_fe::configure_e
+
+ if(!pUnixFrameImpl->m_bDoZoomUpdate && (pUnixFrameImpl->m_iZoomUpdateID == 0))
+ {
+- pUnixFrameImpl->m_iZoomUpdateID = g_idle_add(static_cast<GSourceFunc>(do_ZoomUpdate), static_cast<gpointer>(pUnixFrameImpl));
++ pUnixFrameImpl->m_iZoomUpdateID = g_idle_add(do_ZoomUpdate, static_cast<gpointer>(pUnixFrameImpl));
+ }
+ }
+ return 1;
diff --git a/editors/abiword/patches/patch-se b/editors/abiword/patches/patch-se
new file mode 100644
index 00000000000..c8fcf10430e
--- /dev/null
+++ b/editors/abiword/patches/patch-se
@@ -0,0 +1,13 @@
+$NetBSD: patch-se,v 1.1 2007/11/14 15:41:42 rillig Exp $
+
+--- src/wp/ap/unix/abiwidget.cpp.orig 2005-01-26 20:52:07.000000000 +0100
++++ src/wp/ap/unix/abiwidget.cpp 2007-11-14 14:56:13.329692000 +0100
+@@ -589,7 +589,7 @@ static void s_abi_widget_map_cb(GObject
+ //
+ // Can't load until this event has finished propagating
+ //
+- g_idle_add(static_cast<GSourceFunc>(s_abi_widget_load_file),static_cast<gpointer>(abi));
++ g_idle_add(s_abi_widget_load_file,static_cast<gpointer>(abi));
+ }
+ }
+
diff --git a/editors/abiword/patches/patch-sf b/editors/abiword/patches/patch-sf
new file mode 100644
index 00000000000..ddad9de6004
--- /dev/null
+++ b/editors/abiword/patches/patch-sf
@@ -0,0 +1,13 @@
+$NetBSD: patch-sf,v 1.1 2007/11/14 15:41:42 rillig Exp $
+
+--- src/wp/impexp/unix/ie_impGraphic_GdkPixbuf.cpp.orig 2006-06-16 21:30:27.000000000 +0200
++++ src/wp/impexp/unix/ie_impGraphic_GdkPixbuf.cpp 2007-11-14 14:58:13.819843000 +0100
+@@ -396,7 +396,7 @@ UT_Error IE_ImpGraphic_GdkPixbuf::Initia
+ m_pPngBB = new UT_ByteBuf; /* Byte Buffer for Converted Data */
+
+ /* Setting up the Data Writing Function */
+- png_set_write_fn(m_pPNG, static_cast<void *>(m_pPngBB), static_cast<png_rw_ptr>(_write_png), NULL);
++ png_set_write_fn(m_pPNG, static_cast<void *>(m_pPngBB), _write_png, NULL);
+
+ return UT_OK;
+ }