[Libreoffice-commits] .: gettext/gettext-0.18.1.1.stpncpy.patch

Tor Lillqvist tml at kemper.freedesktop.org
Thu Sep 29 10:51:44 PDT 2011


 gettext/gettext-0.18.1.1.stpncpy.patch |   12 ++++++++++++
 1 file changed, 12 insertions(+)

New commits:
commit 473514a9e20bf368fab8510bfe71adcc5ef27fe5
Author: Tor Lillqvist <tml at iki.fi>
Date:   Thu Sep 29 20:51:36 2011 +0300

    Add gettext-0.18.1.1.stpncpy.patch

diff --git a/gettext/gettext-0.18.1.1.stpncpy.patch b/gettext/gettext-0.18.1.1.stpncpy.patch
new file mode 100644
index 0000000..a940086
--- /dev/null
+++ b/gettext/gettext-0.18.1.1.stpncpy.patch
@@ -0,0 +1,12 @@
+--- misc/gettext-0.18.1.1/gettext-tools/configure	2010-06-06 22:12:20.000000000 +0200
++++ misc/build/gettext-0.18.1.1/gettext-tools/configure	2011-08-12 22:46:06.000000000 +0200
+@@ -40606,7 +40606,9 @@
+ #include <stdlib.h>
+ #include <string.h> /* for strcpy */
+ /* The stpncpy prototype is missing in <string.h> on AIX 4.  */
++#if !defined stpncpy /* see <https://savannah.gnu.org/bugs/index.php?33999> */
+ extern char *stpncpy (char *dest, const char *src, size_t n);
++#endif
+ int main () {
+   const char *src = "Hello";
+   char dest[10];


More information about the Libreoffice-commits mailing list