summaryrefslogtreecommitdiffstats
path: root/meta/packages/dpkg/files
diff options
context:
space:
mode:
authorChris Larson <kergoth@openedhand.com>2006-09-05 07:24:58 +0000
committerChris Larson <kergoth@openedhand.com>2006-09-05 07:24:58 +0000
commit8f47d85143c108040aa921b32aa9974b8edb0ba1 (patch)
tree6e72f083172c00f7a04b6180052bba07f55e3788 /meta/packages/dpkg/files
parentf8b1e634eb3cfc6e59e9fe11b8a198aec6bd3d29 (diff)
downloadpoky-8f47d85143c108040aa921b32aa9974b8edb0ba1.tar.gz
Add dpkg, modified from upstream oe.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@696 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/dpkg/files')
-rw-r--r--meta/packages/dpkg/files/autofoo.patch48
-rw-r--r--meta/packages/dpkg/files/noman.patch16
2 files changed, 64 insertions, 0 deletions
diff --git a/meta/packages/dpkg/files/autofoo.patch b/meta/packages/dpkg/files/autofoo.patch
new file mode 100644
index 0000000000..691121e418
--- /dev/null
+++ b/meta/packages/dpkg/files/autofoo.patch
@@ -0,0 +1,48 @@
1
2#
3# Patch managed by http://www.holgerschurig.de/patcher.html
4#
5
6--- dpkg-1.10.23/configure.in~autofoo
7+++ dpkg-1.10.23/configure.in
8@@ -227,21 +227,36 @@
9 # OpenBSD passes AC_TRY_COMPILE for va_copy even though
10 # it doesn't seem to exist, which is odd. We need to use
11 # AC_TRY_RUN.
12+#
13+# If crosscompiling, use AC_TRY_COMPILE. -CL
14 AC_TRY_RUN([
15 #include <stdarg.h>
16 main(){
17 va_list v1,v2;
18 va_copy(v1, v2);
19 exit(0);}
20-], [AC_MSG_RESULT(yes)
21-AC_DEFINE(HAVE_VA_COPY,,[Whether the va_copy macro exists])],[AC_MSG_RESULT(no)
22-AC_MSG_CHECKING([for va_list assignment copy])
23+], [dpkg_cv_va_copy=yes], [dpkg_cv_va_copy=no],
24 AC_TRY_COMPILE([
25 #include <stdarg.h>
26+main(){
27+va_list v1,v2;
28+va_copy(v1, v2);
29+exit(0);}
30+], [dpkg_cv_va_copy=yes], [dpkg_vc_va_copy=no]))
31+
32+if test "$dpkg_cv_va_copy" = "yes"; then
33+ AC_MSG_RESULT(yes)
34+ AC_DEFINE(HAVE_VA_COPY,,[Whether the va_copy macro exists])
35+else
36+ AC_MSG_RESULT(no)
37+ AC_MSG_CHECKING([for va_list assignment copy])
38+ AC_TRY_COMPILE([
39+#include <stdarg.h>
40 ],[
41 va_list v1,v2;
42 v1 = v2;
43-], AC_MSG_RESULT(yes),AC_MSG_ERROR(no))])
44+], AC_MSG_RESULT(yes), AC_MSG_ERROR(no))
45+fi
46
47 DPKG_C_GCC_ATTRIBUTE([,,],supported,[int x],[,,],ATTRIB,[Define if function attributes a la GCC 2.5 and higher are available.],
48 DPKG_C_GCC_ATTRIBUTE(noreturn,noreturn,[int x],noreturn,NORETURN,[Define if nonreturning functions a la GCC 2.5 and higher are available.])
diff --git a/meta/packages/dpkg/files/noman.patch b/meta/packages/dpkg/files/noman.patch
new file mode 100644
index 0000000000..f5984fe14a
--- /dev/null
+++ b/meta/packages/dpkg/files/noman.patch
@@ -0,0 +1,16 @@
1---
2 Makefile.am | 3 +--
3 1 file changed, 1 insertion(+), 2 deletions(-)
4
5--- dpkg-1.13.22.orig/Makefile.am
6+++ dpkg-1.13.22/Makefile.am
7@@ -15,8 +15,7 @@ SUBDIRS = \
8 utils \
9 scripts \
10 po \
11- origins \
12- man
13+ origins
14
15 ACLOCAL_AMFLAGS = -I m4
16