[freefempp] 02/07: Correct architecture names for hurd and kfreebsd

Dimitrios Eftaxiopoulos eftaxiop-guest at moszumanska.debian.org
Wed Dec 18 22:27:23 UTC 2013


This is an automated email from the git hooks/post-receive script.

eftaxiop-guest pushed a commit to branch master
in repository freefempp.

commit 21ac0a85a971a4e0f0087df0a2ce39e43aa5e2a7
Author: Dimitrios Eftaxiopoulos <eftaxi12 at otenet.gr>
Date:   Sun Dec 15 23:55:37 2013 +0200

    Correct architecture names for hurd and kfreebsd
---
 debian/patches/examples++-load.patch | 11 +++++++++++
 src/fflib/strversionnumber.cpp       |  4 ++--
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/debian/patches/examples++-load.patch b/debian/patches/examples++-load.patch
index 63f8595..59d8af2 100644
--- a/debian/patches/examples++-load.patch
+++ b/debian/patches/examples++-load.patch
@@ -79,3 +79,14 @@ Add ability to compile freefem++ with Ipopt, freeyams, mmg3d_v4, mshmet, mumps_s
  	$(INSTALL_SCRIPT) ff-c++  $(DESTDIR)${bindir}
  	$(INSTALL_SCRIPT) ff-pkg-download  $(DESTDIR)${bindir}
  	$(INSTALL_SCRIPT) ff-get-dep  $(DESTDIR)${bindir}
+--- a/examples++-load/load.link.in
++++ b/examples++-load/load.link.in
+@@ -216,7 +216,7 @@
+         LIBS="'$b/libff.dll' $LIBS $DLL"
+ #        SUF=dll
+ 	;;
+-    FreeBSD|NetBSD)
++    kfreebsd-i386|kfreebsd-amd64|hurd-i386)
+ 	SHARED="-shared" 
+ 	FLAGS='-fPIC';;
+ 	# 64 bit Linux needs -fPIC (ALH)
diff --git a/src/fflib/strversionnumber.cpp b/src/fflib/strversionnumber.cpp
index 5ec6763..5fcad99 100644
--- a/src/fflib/strversionnumber.cpp
+++ b/src/fflib/strversionnumber.cpp
@@ -18,6 +18,6 @@ string StrVersionNumber(){
 //  buffer.precision(8);
 //  buffer<<VersionNumber();
   static char buffer[100];
-  sprintf(buffer," %9f (date Κυρ 15 Δεκ 2013 11:19:01 μμ EET)",VersionNumber());
-  return buffer; //.str()+" (date Κυρ 15 Δεκ 2013 11:19:01 μμ EET)" ;
+  sprintf(buffer," %9f (date Κυρ 15 Δεκ 2013 11:34:40 μμ EET)",VersionNumber());
+  return buffer; //.str()+" (date Κυρ 15 Δεκ 2013 11:34:40 μμ EET)" ;
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/freefempp.git



More information about the debian-science-commits mailing list