From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- .../radiusclient-ng-0.5.6-cross-compile.patch | 73 ++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 net-dialup/radiusclient-ng/files/radiusclient-ng-0.5.6-cross-compile.patch (limited to 'net-dialup/radiusclient-ng/files') diff --git a/net-dialup/radiusclient-ng/files/radiusclient-ng-0.5.6-cross-compile.patch b/net-dialup/radiusclient-ng/files/radiusclient-ng-0.5.6-cross-compile.patch new file mode 100644 index 000000000000..ff11d841bcec --- /dev/null +++ b/net-dialup/radiusclient-ng/files/radiusclient-ng-0.5.6-cross-compile.patch @@ -0,0 +1,73 @@ +Fix by Bertrand Jacquin + +Gentoo bugreport: https://bugs.gentoo.org/show_bug.cgi?id=373365 +Upstream bugreport: https://developer.berlios.de/bugs/?func=detailbug&bug_id=18190&group_id=1208 + +--- configure.in.orig 2011-06-28 16:26:10.000000000 +0200 ++++ configure.in 2011-06-28 16:26:12.000000000 +0200 +@@ -104,32 +104,40 @@ + AC_CHECK_FUNCS(flock fcntl uname gethostname sysinfo getdomainname) + AC_CHECK_FUNCS(stricmp random rand snprintf vsnprintf) + +-if test "$ac_cv_func_uname" = 'yes' +-then +- AC_MSG_CHECKING([for field domainname in struct utsname]) +- AC_TRY_RUN([ +- #include ++AC_CACHE_CHECK([for field domainname in struct utsname], ac_cv_struct_utsname, ++ [AC_TRY_RUN([ ++ #include + +- main(int argc, char **argv) +- { +- struct utsname uts; +- uts.domainname[0] = '\0'; +- } +- ], +- AC_MSG_RESULT(yes) +- AC_DEFINE(HAVE_STRUCT_UTSNAME_DOMAINNAME), +- AC_MSG_RESULT(no) +- ) +-fi ++ main(int argc, char **argv) ++ { ++ struct utsname uts; ++ uts.domainname[0] = '\0'; ++ } ++ ], ++ ac_cv_struct_utsname=yes, ++ ac_cv_struct_utsname=no, ++ [AC_MSG_ERROR([cross-compiling, ++ presetting ac_cv_struct_utsname=(yes|no) will help])] ++ ) ++]) ++AS_VAR_IF(ac_cv_struct_utsname, yes, ++ [AC_DEFINE(HAVE_STRUCT_UTSNAME_DOMAINNAME)], ++) + +-AC_MSG_CHECKING([for /dev/urandom]) +-if test -c /dev/urandom +-then +- AC_MSG_RESULT(yes) +- AC_DEFINE(HAVE_DEV_URANDOM) +-else +- AC_MSG_RESULT(no) +-fi ++AC_CACHE_CHECK([for /dev/urandom], ac_cv_file__dev_urandom, ++ [AS_IF([test "$cross_compiling" = yes], ++ [AC_MSG_ERROR([cross-compiling, ++ presetting ac_cv_file__dev_urandom=(yes|no) will help])], ++ if test -c /dev/urandom ; then ++ ac_cv_file__dev_urandom=yes ++ else ++ ac_cv_file__dev_urandom=no ++ fi ++ )] ++) ++AS_VAR_IF(ac_cv_file__dev_urandom, yes, ++ [AC_DEFINE(HAVE_DEV_URANDOM)] ++) + + dnl Determine PATH setting + echo $ac_n "using the following PATH setting for exec'ed programs... $ac_c" 1>&6 + -- cgit v1.2.3-65-gdbad