summaryrefslogtreecommitdiff
path: root/recipes/acct/files
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/acct/files
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/acct/files')
-rw-r--r--recipes/acct/files/cross-compile.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes/acct/files/cross-compile.patch b/recipes/acct/files/cross-compile.patch
new file mode 100644
index 0000000000..78b57104c7
--- /dev/null
+++ b/recipes/acct/files/cross-compile.patch
@@ -0,0 +1,34 @@
+diff -ur acct-6.4-pre1.org/configure.in acct-6.4-pre1/configure.in
+--- acct-6.4-pre1.org/configure.in 2006-01-07 23:56:46.000000000 +0200
++++ acct-6.4-pre1/configure.in 2006-08-03 21:16:17.000000000 +0300
+@@ -87,6 +87,10 @@
+ ACCTON_MAN=accton.8
+ LASTCOMM_MAN=lastcomm.1
+ SA_MAN=sa.8
++ WTMP_FILE_LOC=/var/log/wtmp
++ ACCT_FILE_LOC=/var/account/pacct
++ SAVACCT_FILE_LOC=/var/account/savacct
++ USRACCT_FILE_LOC=/var/account/usracct
+ AC_DEFINE(HAVE_ACUTIME, ,
+ [Define if <sys/acct.h> has the AC_UTIME field.])
+ AC_DEFINE(ACUTIME_COMPT, ,
+@@ -130,6 +134,10 @@
+ ACCTON_MAN=accton.8
+ LASTCOMM_MAN=lastcomm.1
+ SA_MAN=sa.8
++ WTMP_FILE_LOC=/var/log/wtmp
++ ACCT_FILE_LOC=/var/account/pacct
++ SAVACCT_FILE_LOC=/var/account/savacct
++ USRACCT_FILE_LOC=/var/account/usracct
+ AC_HEADER_EGREP(ac_utime, sys/acct.h,
+ AC_DEFINE(HAVE_ACUTIME, ,
+ [Define if <sys/acct.h> has the AC_UTIME field.])
+@@ -277,7 +285,7 @@
+ }
+ ], . ./locs; rm locs,
+ echo "Error -- could not locate your wtmp and acct files."; exit 1,
+- echo "Sorry -- you cannot cross-compile this package (FIXME)."; exit 1 )
++ echo "Cross-compiling - cannot find out accounting file locations - using Linux defaults."; )
+ AC_TYPE_PID_T dnl for sys/acct.h
+ AC_TYPE_UID_T dnl same as above
+ AC_TYPE_SIZE_T