summaryrefslogtreecommitdiff
path: root/packages/dpkg/files/autofoo.patch
diff options
context:
space:
mode:
authorPhilip Balister <philip@balister.org>2006-12-03 15:01:20 +0000
committerPhilip Balister <philip@balister.org>2006-12-03 15:01:20 +0000
commitacfb7d8bb9d2c2d22232e75836d563f02c2aca6f (patch)
treef835fa5613461b9a6b9c053f3bcc81d116d69900 /packages/dpkg/files/autofoo.patch
parentd47a4f6235ca779fb8635daa62405300a374950f (diff)
parent4c54e301d475c4faab9b4234bd029a14c793a3dc (diff)
merge of '82ba6ac51742ea64d989ab1d8b3b4633425bcd41'
and 'b2521ddf7e798d79e5d8d18be1513bf0945cb051'
Diffstat (limited to 'packages/dpkg/files/autofoo.patch')
-rw-r--r--packages/dpkg/files/autofoo.patch48
1 files changed, 0 insertions, 48 deletions
diff --git a/packages/dpkg/files/autofoo.patch b/packages/dpkg/files/autofoo.patch
deleted file mode 100644
index 691121e418..0000000000
--- a/packages/dpkg/files/autofoo.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-
-#
-# 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.])