diff options
author | Koen Kooi <koen@openembedded.org> | 2005-06-30 08:19:37 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-06-30 08:19:37 +0000 |
commit | c8e5702127e507e82e6f68a4b8c546803accea9d (patch) | |
tree | 00583491f40ecc640f2b28452af995e3a63a09d7 /packages/dpkg | |
parent | 87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff) |
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/dpkg')
-rw-r--r-- | packages/dpkg/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/dpkg/dpkg_1.10.23.bb | 11 | ||||
-rw-r--r-- | packages/dpkg/dpkg_1.10.27.bb | 13 | ||||
-rw-r--r-- | packages/dpkg/dpkg_1.13.4.bb | 13 | ||||
-rw-r--r-- | packages/dpkg/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/dpkg/files/autofoo.patch | 48 |
6 files changed, 85 insertions, 0 deletions
diff --git a/packages/dpkg/.mtn2git_empty b/packages/dpkg/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/dpkg/.mtn2git_empty diff --git a/packages/dpkg/dpkg_1.10.23.bb b/packages/dpkg/dpkg_1.10.23.bb index e69de29bb2..21d2a9b2b3 100644 --- a/packages/dpkg/dpkg_1.10.23.bb +++ b/packages/dpkg/dpkg_1.10.23.bb @@ -0,0 +1,11 @@ +include dpkg.inc + +SRC_URI += "file://autofoo.patch;patch=1" + +inherit autotools gettext + +EXTRA_OECONF = "--without-static-progs \ + --without-dselect \ + --with-start-stop-daemon \ + --with-zlib \ + --without-sgml-doc" diff --git a/packages/dpkg/dpkg_1.10.27.bb b/packages/dpkg/dpkg_1.10.27.bb index e69de29bb2..ec8a887300 100644 --- a/packages/dpkg/dpkg_1.10.27.bb +++ b/packages/dpkg/dpkg_1.10.27.bb @@ -0,0 +1,13 @@ +include dpkg.inc +DEPENDS += "bzip2" + +SRC_URI += "file://autofoo.patch;patch=1" + +inherit autotools gettext + +EXTRA_OECONF = "--without-static-progs \ + --without-dselect \ + --with-start-stop-daemon \ + --with-zlib \ + --with-bz2lib \ + --without-sgml-doc" diff --git a/packages/dpkg/dpkg_1.13.4.bb b/packages/dpkg/dpkg_1.13.4.bb index e69de29bb2..ec8a887300 100644 --- a/packages/dpkg/dpkg_1.13.4.bb +++ b/packages/dpkg/dpkg_1.13.4.bb @@ -0,0 +1,13 @@ +include dpkg.inc +DEPENDS += "bzip2" + +SRC_URI += "file://autofoo.patch;patch=1" + +inherit autotools gettext + +EXTRA_OECONF = "--without-static-progs \ + --without-dselect \ + --with-start-stop-daemon \ + --with-zlib \ + --with-bz2lib \ + --without-sgml-doc" diff --git a/packages/dpkg/files/.mtn2git_empty b/packages/dpkg/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/dpkg/files/.mtn2git_empty diff --git a/packages/dpkg/files/autofoo.patch b/packages/dpkg/files/autofoo.patch index e69de29bb2..691121e418 100644 --- a/packages/dpkg/files/autofoo.patch +++ b/packages/dpkg/files/autofoo.patch @@ -0,0 +1,48 @@ + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- dpkg-1.10.23/configure.in~autofoo ++++ dpkg-1.10.23/configure.in +@@ -227,21 +227,36 @@ + # OpenBSD passes AC_TRY_COMPILE for va_copy even though + # it doesn't seem to exist, which is odd. We need to use + # AC_TRY_RUN. ++# ++# If crosscompiling, use AC_TRY_COMPILE. -CL + AC_TRY_RUN([ + #include <stdarg.h> + main(){ + va_list v1,v2; + va_copy(v1, v2); + exit(0);} +-], [AC_MSG_RESULT(yes) +-AC_DEFINE(HAVE_VA_COPY,,[Whether the va_copy macro exists])],[AC_MSG_RESULT(no) +-AC_MSG_CHECKING([for va_list assignment copy]) ++], [dpkg_cv_va_copy=yes], [dpkg_cv_va_copy=no], + AC_TRY_COMPILE([ + #include <stdarg.h> ++main(){ ++va_list v1,v2; ++va_copy(v1, v2); ++exit(0);} ++], [dpkg_cv_va_copy=yes], [dpkg_vc_va_copy=no])) ++ ++if test "$dpkg_cv_va_copy" = "yes"; then ++ AC_MSG_RESULT(yes) ++ AC_DEFINE(HAVE_VA_COPY,,[Whether the va_copy macro exists]) ++else ++ AC_MSG_RESULT(no) ++ AC_MSG_CHECKING([for va_list assignment copy]) ++ AC_TRY_COMPILE([ ++#include <stdarg.h> + ],[ + va_list v1,v2; + v1 = v2; +-], AC_MSG_RESULT(yes),AC_MSG_ERROR(no))]) ++], AC_MSG_RESULT(yes), AC_MSG_ERROR(no)) ++fi + + DPKG_C_GCC_ATTRIBUTE([,,],supported,[int x],[,,],ATTRIB,[Define if function attributes a la GCC 2.5 and higher are available.], + DPKG_C_GCC_ATTRIBUTE(noreturn,noreturn,[int x],noreturn,NORETURN,[Define if nonreturning functions a la GCC 2.5 and higher are available.]) |