From 0adb56c16b2370ec7da33e7539946147e78fc0c1 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Aug 27 2007 23:04:32 +0000 Subject: Drop unused patches --- diff --git a/nco-3.0.0-fixudunits.patch b/nco-3.0.0-fixudunits.patch deleted file mode 100644 index b723e1e..0000000 --- a/nco-3.0.0-fixudunits.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- nco-3.0.0/configure.in.BAD 2005-04-22 10:53:36.000000000 -0500 -+++ nco-3.0.0/configure.in 2005-04-22 10:53:54.000000000 -0500 -@@ -408,10 +408,8 @@ - LDFLAGS="${LDFLAGS} -L${UDUNITS_PATH}/lib" - CPPFLAGS="${CPPFLAGS} -I${UDUNITS_PATH}/include" - # nco_udunits_dat=${UDUNITS_PATH}/src/lib/udunits.dat -- elif test "${NETCDF_INC}"; then -- nco_udunits_dat="${NETCDF_INC}/../etc/udunits.dat" - else -- nco_udunits_dat="/usr/local/etc/udunits.dat" -+ nco_udunits_dat="/etc/udunits.dat" - fi - # warn if udunits.dat is not found, but continue anyway since the builder may savy and know to add it later, like when building packages (e.g. .debs) - AC_CHECK_FILE([$nco_udunits_dat],,AC_WARN([file $nco_udunits_dat was not found but will be compiled into NCO. Some executables may fail without it.])) diff --git a/nco_find_udunits-dat.patch b/nco_find_udunits-dat.patch deleted file mode 100644 index 7ad814b..0000000 --- a/nco_find_udunits-dat.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- nco-3.1.5/configure.in.ORIG 2006-09-02 16:47:04.000000000 -0400 -+++ nco-3.1.5/configure.in 2006-09-02 16:49:23.000000000 -0400 -@@ -681,7 +681,11 @@ - elif test "${NETCDF_INC}"; then - nco_udunits_dat="${NETCDF_INC}/../etc/udunits.dat" - else -- nco_udunits_dat="/usr/local/etc/udunits.dat" -+ for udunits_fdat_file in /usr/local/etc/udunits.dat /etc/udunits.dat ; do -+ if test -e "$udunits_fdat_file" ; then -+ nco_udunits_dat="$udunits_fdat_file" -+ fi -+ done - fi - # warn if udunits.dat is not found, but continue anyway since the builder may savy and know to add it later, like when building packages (e.g. .debs) - AC_CHECK_FILE([$nco_udunits_dat],,AC_WARN([file $nco_udunits_dat was not found but will be compiled into NCO. Some executables may fail without it.]))