summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgraziano.giuliani2016-11-05 10:41:18 +0100
committergraziano.giuliani2016-11-05 10:41:18 +0100
commitccbf258b391a4175b05b34a5495a0e93608398e3 (patch)
treeabe3566304ad8325b5b0b26dc4995fd463a08661
parenta2f55d70827a8495ab110b36286c982a0e26b34c (diff)
downloadaur-ccbf258b391a4175b05b34a5495a0e93608398e3.tar.gz
added PIC flag
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD4
-rw-r--r--wgrib2.patch4
3 files changed, 7 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a9801b0d127..b93aea99de2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sun Oct 9 10:27:39 UTC 2016
+# Sat Nov 5 09:41:02 UTC 2016
pkgbase = wgrib2
pkgdesc = A program to manipulate, inventory and decode GRIB-2 files
pkgver = 2.0.5
- pkgrel = 1
+ pkgrel = 2
url = http://www.cpc.noaa.gov/products/wesley/wgrib2/
arch = i686
arch = x86_64
@@ -19,7 +19,7 @@ pkgbase = wgrib2
source = ftp://ftp.cpc.ncep.noaa.gov/wd51we/wgrib2/wgrib2_nolib.tgz.v2.0.5
source = wgrib2.patch
md5sums = 0b6f0e9d5dc1f0d1245cf37abcb25f02
- md5sums = 98e2810e5dea2210d97ce561ea3579a4
+ md5sums = ff244fa30d9890e30fee4f9de9bfa7ae
pkgname = wgrib2
diff --git a/PKGBUILD b/PKGBUILD
index 9592e0549f7..95a14275dd0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=wgrib2
pkgver=2.0.5
-pkgrel=1
+pkgrel=2
pkgdesc="A program to manipulate, inventory and decode GRIB-2 files"
arch=('i686' 'x86_64')
url="http://www.cpc.noaa.gov/products/wesley/wgrib2/"
@@ -13,7 +13,7 @@ makedepends=('g2clib' 'gctpc')
source=(ftp://ftp.cpc.ncep.noaa.gov/wd51we/${pkgname}/${pkgname}_nolib.tgz.v${pkgver}
wgrib2.patch)
md5sums=('0b6f0e9d5dc1f0d1245cf37abcb25f02'
- '98e2810e5dea2210d97ce561ea3579a4')
+ 'ff244fa30d9890e30fee4f9de9bfa7ae')
build() {
cd ${srcdir}/grib2
diff --git a/wgrib2.patch b/wgrib2.patch
index 30843ff1d6a..f763e0f9416 100644
--- a/wgrib2.patch
+++ b/wgrib2.patch
@@ -45,7 +45,7 @@
ifeq ($(findstring gcc,$(notdir $(CC))),gcc)
- wCPPFLAGS+=-Wall -Wmissing-prototypes -Wold-style-definition -Werror=format-security -ffast-math -O3
-+ wCPPFLAGS+=$(CPPFLAGS) -DGFORTRAN
++ wCPPFLAGS+=$(CPPFLAGS) -DGFORTRAN -fPIC
netcdf3CPPFLAGS+=-Wall -Wmissing-prototypes -Wold-style-definition -Werror=format-security -O3
hdf5CFLAGS+=-Wall -Wmissing-prototypes -Wold-style-definition -O1
endif
@@ -54,7 +54,7 @@
wLDFLAGS+=-lgfortran
wCPPFLAGS+=-DGFORTRAN
- wFFLAGS+=-O2
-+ wFFLAGS+=$(CFLAGS)
++ wFFLAGS+=$(CFLAGS) -fPIC
endif
# for open64 fortran - personal system