]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/apt/apt-0.5.28.6/autofoo.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / apt / apt-0.5.28.6 / autofoo.patch
1
2 #
3 # Patch managed by http://www.holgerschurig.de/patcher.html
4 #
5
6 Index: apt-0.5.28.6/configure.in
7 ===================================================================
8 --- apt-0.5.28.6.orig/configure.in      2005-03-22 08:03:50.000000000 +0100
9 +++ apt-0.5.28.6/configure.in   2005-05-15 15:08:50.000000000 +0200
10 @@ -18,9 +18,9 @@
11  AC_CONFIG_HEADER(include/config.h:buildlib/config.h.in include/apti18n.h:buildlib/apti18n.h.in)
12  
13  dnl -- SET THIS TO THE RELEASE VERSION --
14 -AC_DEFINE_UNQUOTED(VERSION,"0.5.28.6")
15 +AC_DEFINE_UNQUOTED(VERSION,"0.5.28.6", [package version])
16  PACKAGE="apt"
17 -AC_DEFINE_UNQUOTED(PACKAGE,"$PACKAGE")
18 +AC_DEFINE_UNQUOTED(PACKAGE,"$PACKAGE", [package name])
19  AC_SUBST(PACKAGE)
20  
21  dnl Check the archs, we want the target type.
22 @@ -47,7 +47,7 @@
23  LIBS="$SAVE_LIBS"
24   
25  dnl Checks for pthread -- disabled due to glibc bugs jgg
26 -dnl AC_CHECK_LIB(pthread, pthread_create,[AC_DEFINE(HAVE_PTHREAD) PTHREADLIB="-lpthread"])
27 +dnl AC_CHECK_LIB(pthread, pthread_create,[AC_DEFINE(HAVE_PTHREAD, 1, [define if we have pthreads]) PTHREADLIB="-lpthread"])
28  AC_SUBST(PTHREADLIB)
29  dnl if test "$PTHREADLIB" != "-lpthread"; then
30  dnl   AC_MSG_ERROR(failed: I need posix threads, pthread)
31 @@ -64,7 +64,7 @@
32         [#include <db.h>],
33         [int r, s, t; db_version(&r, &s, &t);]
34        )],
35 -      [AC_DEFINE(HAVE_BDB)
36 +      [AC_DEFINE(HAVE_BDB, 1, [define if we have BerkeleyDB])
37         BDBLIB="-ldb"
38         AC_MSG_RESULT(yes)],
39        [BDBLIB=""
40 @@ -84,14 +84,14 @@
41    AC_MSG_ERROR(failed: use --host= or check buildlib/archtable)
42  fi
43  AC_MSG_RESULT($archset)
44 -AC_DEFINE_UNQUOTED(COMMON_CPU,"$archset")
45 +AC_DEFINE_UNQUOTED(COMMON_CPU,"$archset",[define to the system architecture])
46  
47  dnl Get a common name for the host OS - this is primarily only for HURD and is
48  dnl non fatal if it fails
49  AC_MSG_CHECKING(system OS)
50  osset="`awk \" ! /^#|^\\\$/ {if (match(\\\"$target_vendor-$target_os\\\",\\\$1)) {print \\\$2; exit}}\" $srcdir/buildlib/ostable`"
51  AC_MSG_RESULT($osset)
52 -AC_DEFINE_UNQUOTED(COMMON_OS,"$osset")
53 +AC_DEFINE_UNQUOTED(COMMON_OS,"$osset",[define to the system OS])
54  
55  dnl We use C99 types if at all possible
56  AC_CACHE_CHECK([for C99 integer types],c9x_ints,[
57 @@ -105,13 +105,13 @@
58  
59  dnl Arg, linux and bsd put their statfs function in different places
60  if test x"$HAVE_STATVFS" != x"yes"; then
61 -   AC_EGREP_HEADER(statfs,sys/vfs.h,[AC_DEFINE(HAVE_VFS_H)],[
62 -   AC_EGREP_HEADER(statfs,sys/mount.h,[AC_DEFINE(HAVE_MOUNT_H)],[AC_MSG_ERROR(failed: Need statvfs)])
63 +   AC_EGREP_HEADER(statfs,sys/vfs.h,[AC_DEFINE(HAVE_VFS_H, 1, [define if statfs is in sys/vfs.h])],[
64 +   AC_EGREP_HEADER(statfs,sys/mount.h,[AC_DEFINE(HAVE_MOUNT_H, 1, [define if statfs is in sys/mount.h])],[AC_MSG_ERROR(failed: Need statvfs)])
65     ])
66  fi
67  
68  dnl We should use the real timegm function if we have it.
69 -AC_CHECK_FUNC(timegm,AC_DEFINE(HAVE_TIMEGM))
70 +AC_CHECK_FUNC(timegm,AC_DEFINE(HAVE_TIMEGM, 1, [define if we have timegm]))
71  AC_SUBST(HAVE_TIMEGM)
72  
73  dnl Check the sizes etc. of the architecture
74 @@ -157,7 +157,7 @@
75  dnl HP-UX sux..
76  AC_MSG_CHECKING(for missing socklen_t)
77  AC_EGREP_HEADER(socklen_t, sys/socket.h,[AC_MSG_RESULT(no)],[
78 -       AC_DEFINE(NEED_SOCKLEN_T_DEFINE)
79 +       AC_DEFINE(NEED_SOCKLEN_T_DEFINE, 1, [define if we need to define socklen_t])
80         NEED_SOCKLEN_T_DEFINE=yes
81          AC_MSG_RESULT(missing.)])
82  AC_SUBST(NEED_SOCKLEN_T_DEFINE)
83 @@ -195,7 +195,7 @@
84  ALL_LINGUAS="da de en_GB es fr hu it nl no_NO pl pt_BR ru sv zh_TW"
85  AM_GNU_GETTEXT(external)
86  if test x"$USE_NLS" = "xyes"; then
87 -   AC_DEFINE(USE_NLS)
88 +   AC_DEFINE(USE_NLS, 1, [define if we have native language support])
89  fi
90  AC_SUBST(USE_NLS)
91  AC_PATH_PROG(BASH, bash)