summaryrefslogtreecommitdiffstats
path: root/patches
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2013-01-03 14:23:37 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2013-01-03 15:31:45 +0100
commitf045580f0a9032e2eb9ba568ada16bc6de5df27b (patch)
treea20c26124c087c08259f72381e4d8f54cb858f21 /patches
parente0e4fba077daadb1d02d4fd68570b9361cebdab4 (diff)
downloadptxdist-f045580f0a9032e2eb9ba568ada16bc6de5df27b.tar.gz
ptxdist-f045580f0a9032e2eb9ba568ada16bc6de5df27b.tar.xz
vim: new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches')
-rw-r--r--patches/vim-7.3/0001-HACK-configure.in-remove-uint32_t-sanity-check.patch39
-rwxr-xr-xpatches/vim-7.3/autogen.sh4
-rw-r--r--patches/vim-7.3/series4
3 files changed, 47 insertions, 0 deletions
diff --git a/patches/vim-7.3/0001-HACK-configure.in-remove-uint32_t-sanity-check.patch b/patches/vim-7.3/0001-HACK-configure.in-remove-uint32_t-sanity-check.patch
new file mode 100644
index 000000000..2de6ba878
--- /dev/null
+++ b/patches/vim-7.3/0001-HACK-configure.in-remove-uint32_t-sanity-check.patch
@@ -0,0 +1,39 @@
+From: Michael Olbrich <m.olbrich@pengutronix.de>
+Date: Mon, 10 Dec 2012 16:57:53 +0100
+Subject: [PATCH] HACK: configure.in: remove uint32_t sanity check
+
+Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
+---
+ src/configure.in | 19 -------------------
+ 1 file changed, 19 deletions(-)
+
+diff --git a/src/configure.in b/src/configure.in
+index 152313b..9af93da 100644
+--- a/src/configure.in
++++ b/src/configure.in
+@@ -3163,25 +3163,6 @@ AC_CHECK_SIZEOF([long])
+ AC_CHECK_SIZEOF([time_t])
+ AC_CHECK_SIZEOF([off_t])
+
+-dnl Make sure that uint32_t is really 32 bits unsigned.
+-AC_MSG_CHECKING([uint32_t is 32 bits])
+-AC_TRY_RUN([
+-#ifdef HAVE_STDINT_H
+-# include <stdint.h>
+-#endif
+-#ifdef HAVE_INTTYPES_H
+-# include <inttypes.h>
+-#endif
+-main() {
+- uint32_t nr1 = (uint32_t)-1;
+- uint32_t nr2 = (uint32_t)0xffffffffUL;
+- if (sizeof(uint32_t) != 4 || nr1 != 0xffffffffUL || nr2 + 1 != 0) exit(1);
+- exit(0);
+-}],
+-AC_MSG_RESULT(ok),
+-AC_MSG_ERROR([WRONG! uint32_t not defined correctly.]),
+-AC_MSG_ERROR([could not compile program using uint32_t.]))
+-
+ dnl Check for memmove() before bcopy(), makes memmove() be used when both are
+ dnl present, fixes problem with incompatibility between Solaris 2.4 and 2.5.
+
diff --git a/patches/vim-7.3/autogen.sh b/patches/vim-7.3/autogen.sh
new file mode 100755
index 000000000..2f0f8903f
--- /dev/null
+++ b/patches/vim-7.3/autogen.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+cd src &&
+autoconf -o auto/configure
diff --git a/patches/vim-7.3/series b/patches/vim-7.3/series
new file mode 100644
index 000000000..4ab657afe
--- /dev/null
+++ b/patches/vim-7.3/series
@@ -0,0 +1,4 @@
+# generated by git-ptx-patches
+#tag:base --start-number 1
+0001-HACK-configure.in-remove-uint32_t-sanity-check.patch
+# 785fdc89e49183550fa0763e83384191 - git-ptx-patches magic