Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/devel
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv13029

Modified Files:
        lammpi.patch 
Log Message:
update to 7.1.4, build on x86_64, build with gcc44 and fix -dev dependency

Index: lammpi.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/devel/lammpi.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- lammpi.patch        28 May 2007 14:26:52 -0000      1.3
+++ lammpi.patch        30 Apr 2009 01:44:39 -0000      1.4
@@ -255,3 +255,155 @@
  }
  
  
+--- lam-7.1.4-rh1/config/lam_check_prefix_memcpy.m4.gcc43      2006-06-24 
16:42:44.000000000 -0400
++++ lam-7.1.4-rh1/config/lam_check_prefix_memcpy.m4    2008-06-24 
20:16:47.000000000 -0400
+@@ -28,7 +28,7 @@ AC_MSG_CHECKING([for glibc])
+ AC_TRY_RUN([
+ #include <stdio.h>
+ 
+-int main(int argc, char* argv[]) 
++int main(int argc, char** argv) 
+ {
+   FILE *fp = fopen("configtest.out", "w");
+ #ifdef __GLIBC__
+--- lam-7.1.4-rh1/config/lam_check_bsd43_fd_passing.m4.gcc43   2006-06-24 
16:42:44.000000000 -0400
++++ lam-7.1.4-rh1/config/lam_check_bsd43_fd_passing.m4 2008-06-24 
20:16:47.000000000 -0400
+@@ -76,7 +76,7 @@ LAM_TRY_RUN_FD_PASSING([#include <sys/ty
+ pid_t child_pid = 0;
+ 
+ int
+-main(int argc, char *argv[])
++main(int argc, char **argv)
+ {
+   int fd[2];
+   int status = 0;
+--- lam-7.1.4-rh1/config/lam_get_shmmax.m4.gcc43       2006-06-24 
16:42:44.000000000 -0400
++++ lam-7.1.4-rh1/config/lam_get_shmmax.m4     2008-06-24 20:16:47.000000000 
-0400
+@@ -44,7 +44,7 @@ test_alloc(int size)
+     return(1);
+ }
+ int
+-main(int argc, char* argv[])
++main(int argc, char** argv)
+ {
+     int       poolsize, maxalloc;
+     FILE *f=fopen("conftestval", "w");
+--- lam-7.1.4-rh1/config/cxx_find_template_repository.m4.gcc43 2006-06-24 
16:42:44.000000000 -0400
++++ lam-7.1.4-rh1/config/cxx_find_template_repository.m4       2008-06-24 
20:16:47.000000000 -0400
+@@ -82,7 +82,7 @@ foo<T>::member(int i)
+ }
+ 
+ int
+-main(int argc, char *argv[])
++main(int argc, char **argv)
+ {
+   foo<bar> var1(6);
+   foo< foo<bar> > var2(var1);
+--- lam-7.1.4-rh1/config/lam_check_pthread_pids.m4.gcc43       2006-06-24 
16:42:44.000000000 -0400
++++ lam-7.1.4-rh1/config/lam_check_pthread_pids.m4     2008-06-24 
20:16:47.000000000 -0400
+@@ -44,7 +44,7 @@ AC_TRY_RUN([#include <pthread.h>
+ #include <unistd.h>
+ #include <stdlib.h>
+ void *checkpid(void *arg);
+-int main(int argc, char* argv[]) {
++int main(int argc, char** argv) {
+   pthread_t thr;
+   int pid, retval;
+   pid = getpid();
+--- lam-7.1.4-rh1/config/lam_check_stdc.m4.gcc43       2006-06-24 
16:42:44.000000000 -0400
++++ lam-7.1.4-rh1/config/lam_check_stdc.m4     2008-06-24 20:16:47.000000000 
-0400
+@@ -23,7 +23,7 @@ cat > conftest.c <<EOF
+ extern "C" {
+ void exit(int);
+ #endif
+-int main(int argc, char* argv[])
++int main(int argc, char** argv)
+ {
+     FILE *f=fopen("conftestval", "w");
+ #ifndef __STDC__
+--- lam-7.1.4-rh1/config/lam_get_alignment.m4.gcc43    2006-06-24 
16:42:44.000000000 -0400
++++ lam-7.1.4-rh1/config/lam_get_alignment.m4  2008-06-24 20:16:47.000000000 
-0400
+@@ -24,7 +24,7 @@ AC_TRY_RUN([
+ #include <stdlib.h>
+ 
+ struct foo { char c; $1 x; };
+-int main(int argc, char* argv[])
++int main(int argc, char** argv)
+ {
+     struct foo *p = (struct foo *) malloc(sizeof(struct foo));
+     int diff;
+--- lam-7.1.4-rh1/config/cxx_have_nothrow_new.m4.gcc43 2006-06-24 
16:42:44.000000000 -0400
++++ lam-7.1.4-rh1/config/cxx_have_nothrow_new.m4       2008-06-24 
20:16:47.000000000 -0400
+@@ -37,7 +37,7 @@ rm -f conftest.cc conftest.o
+ cat > conftest.cc <<EOF
+ #include <new>
+ 
+-int main(int argc, char* argv[]) {
++int main(int argc, char** argv) {
+   int *baz;
+   unsigned int foo = 3;
+   baz = new(std::nothrow) int;
+--- lam-7.1.4-rh1/config/lam_mutex_pshared.m4.gcc43    2006-06-24 
16:42:44.000000000 -0400
++++ lam-7.1.4-rh1/config/lam_mutex_pshared.m4  2008-06-24 20:16:47.000000000 
-0400
+@@ -17,7 +17,7 @@ dnl
+ define(LAM_MUTEX_PSHARED,[
+ AC_MSG_CHECKING(for process shared pthread mutex)
+ AC_TRY_RUN([#include <pthread.h>
+-int main(int argc, char* argv[]) {
++int main(int argc, char** argv) {
+   pthread_mutex_t m; pthread_mutexattr_t mattr;
+   if (pthread_mutexattr_init(&mattr)) return(1);
+   if (pthread_mutexattr_setpshared(&mattr, PTHREAD_PROCESS_SHARED)) return(1);
+--- lam-7.1.4-rh1/config/lam_check_fd_setsize.m4.gcc43 2006-06-24 
16:42:44.000000000 -0400
++++ lam-7.1.4-rh1/config/lam_check_fd_setsize.m4       2008-06-24 
20:16:47.000000000 -0400
+@@ -86,7 +86,7 @@ if test ! "$LAM_FD_SETSIZE" = "0" ; then
+ #include <sys/resource.h>
+ #include <unistd.h>
+ int
+-main(int argc, char* argv[])
++main(int argc, char** argv)
+ {
+   int fd = 0;
+   struct rlimit rlp;
+@@ -135,7 +135,7 @@ if test ! "$LAM_FD_SETSIZE" = "0"; then
+ #include <sys/select.h>
+ #endif
+ int
+-main(int argc, char* argv[])
++main(int argc, char** argv)
+ {
+   int ret;
+   fd_set fds;
+--- lam-7.1.4-rh1/config/lam_wrapper_extra_ldflags.m4.gcc43    2006-06-24 
16:42:44.000000000 -0400
++++ lam-7.1.4-rh1/config/lam_wrapper_extra_ldflags.m4  2008-06-24 
20:16:47.000000000 -0400
+@@ -75,7 +75,7 @@ int foo(void) { return 1; }
+ EOF
+     cat > conftest.c <<EOF
+ extern int foo(void);
+-int main(int argc, char* argv[]) { return foo(); }
++int main(int argc, char** argv) { return foo(); }
+ EOF
+ 
+     ../libtool --mode=compile $CC foo.c -o foo.lo -c > /dev/null 2>&1
+--- lam-7.1.4-rh1/config/cxx_have_bool.m4.gcc43        2006-06-24 
16:42:44.000000000 -0400
++++ lam-7.1.4-rh1/config/cxx_have_bool.m4      2008-06-24 20:16:47.000000000 
-0400
+@@ -42,7 +42,7 @@ cat > conftest.cc <<EOF
+ #include <stdio.h>
+ #include <sys/types.h>
+ 
+-int main(int argc, char* argv[]) {
++int main(int argc, char** argv) {
+   bool foo = (bool) 0;
+   printf("so foo is used and the compiler wont complain: %d", (int) foo);
+   return 0;
+--- lam-7.1.4-rh1/config/cxx_have_true_false.m4.gcc43  2006-06-24 
16:42:44.000000000 -0400
++++ lam-7.1.4-rh1/config/cxx_have_true_false.m4        2008-06-24 
20:16:47.000000000 -0400
+@@ -41,7 +41,7 @@ cat > conftest.cc <<EOF
+ #include <stdio.h>
+ #include <sys/types.h>
+ 
+-int main(int argc, char* argv[]) {
++int main(int argc, char** argv) {
+   int foo;
+   foo = (int) true;
+   foo = (int) false;


------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to