[Pkg-jed-commit] r658 - in slcfitsio/trunk/debian: . patches

Rafael Laboissiere rafael at alioth.debian.org
Tue May 1 20:32:05 UTC 2007


Author: rafael
Date: 2007-05-01 20:32:05 +0000 (Tue, 01 May 2007)
New Revision: 658

Added:
   slcfitsio/trunk/debian/patches/
   slcfitsio/trunk/debian/patches/01_define-fneqs.patch
Modified:
   slcfitsio/trunk/debian/changelog
   slcfitsio/trunk/debian/rules
Log:
* debian/patches/01_define-fneqs.patch: Added patch containing the
  definition of the fneqs function.  This patch will be removed in the
  future, when slang2 will be released containing this function in its
  core (not yet present in 2.0.7, but already in SVN)
* debian/rules: Include CDBS' simple-patchsys



Modified: slcfitsio/trunk/debian/changelog
===================================================================
--- slcfitsio/trunk/debian/changelog	2007-05-01 19:56:47 UTC (rev 657)
+++ slcfitsio/trunk/debian/changelog	2007-05-01 20:32:05 UTC (rev 658)
@@ -5,6 +5,10 @@
   [ Rafael Laboissiere ]
   * New upstream release
   * debian/control: Added XS-Vcs-Svn and XS-Vcs-Browser fields
+  * debian/patches/01_define-fneqs.patch: Added patch containing the
+    definition of the fneqs function.  This patch will be removed in the
+    future, when slang2 will be released containing this function in its
+    core (not yet present in 2.0.7, but already in SVN)
 
  --
 

Added: slcfitsio/trunk/debian/patches/01_define-fneqs.patch
===================================================================
--- slcfitsio/trunk/debian/patches/01_define-fneqs.patch	2007-05-01 19:56:47 UTC (rev 657)
+++ slcfitsio/trunk/debian/patches/01_define-fneqs.patch	2007-05-01 20:32:05 UTC (rev 658)
@@ -0,0 +1,14 @@
+diff -Nur slcfitsio-0.3.8/src/tests/test_wcs.sl slcfitsio-0.3.8.new/src/tests/test_wcs.sl
+--- slcfitsio-0.3.8/src/tests/test_wcs.sl	2007-05-01 21:29:45.000000000 +0200
++++ slcfitsio-0.3.8.new/src/tests/test_wcs.sl	2007-05-01 21:59:44.000000000 +0200
+@@ -13,6 +13,10 @@
+    Failed++;
+ }
+ 
++private define fneqs (a, b)
++{
++   (abs (b - a) > 1e-6) and (abs (b - a) / abs (b) > 0.001);
++}
+ 
+ private define test_wcs ()
+ {

Modified: slcfitsio/trunk/debian/rules
===================================================================
--- slcfitsio/trunk/debian/rules	2007-05-01 19:56:47 UTC (rev 657)
+++ slcfitsio/trunk/debian/rules	2007-05-01 20:32:05 UTC (rev 658)
@@ -2,6 +2,7 @@
 
 include /usr/share/cdbs/1/class/autotools.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
 
 DEB_MAKE_BUILD_TARGET := all RPATH=
 




More information about the Pkg-jed-commit mailing list