system/proj: Updated for version 4.8.0.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Benjamin Trigona-Harany 2012-12-30 13:39:14 -05:00 committed by dsomero
parent 27c2b3acab
commit 5cdddf9521
3 changed files with 21 additions and 8 deletions

11
system/proj/jni.patch Normal file
View file

@ -0,0 +1,11 @@
diff -Nur proj-4.8.0.a/src/jniproj.c proj-4.8.0.b/src/jniproj.c
--- proj-4.8.0.a/src/jniproj.c 2012-02-20 17:11:24.000000000 -0800
+++ proj-4.8.0.b/src/jniproj.c 2012-12-29 22:04:56.199425359 -0800
@@ -49,7 +49,6 @@
#include <math.h>
#include <string.h>
#include "projects.h"
-#include "org_proj4_PJ.h"
#include <jni.h>
#define PJ_FIELD_NAME "ptr"

View file

@ -2,18 +2,17 @@
# Slackware build script for proj # Slackware build script for proj
# Written by Kyle Guinn <elyk03@gmail.com> # Written by Kyle Guinn <elyk03@gmail.com>
# Maintained by Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
PRGNAM=proj PRGNAM=proj
VERSION=${VERSION:-4.6.0} VERSION=${VERSION:-4.8.0}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi
@ -52,6 +51,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \
-o -perm 400 \) -exec chmod 644 {} \; -o -perm 400 \) -exec chmod 644 {} \;
# remove header that is no longer part of source
patch -p1 < $CWD/jni.patch
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
./configure \ ./configure \

View file

@ -1,10 +1,10 @@
PRGNAM="proj" PRGNAM="proj"
VERSION="4.6.0" VERSION="4.8.0"
HOMEPAGE="http://trac.osgeo.org/proj/" HOMEPAGE="http://trac.osgeo.org/proj/"
DOWNLOAD="http://download.osgeo.org/proj/proj-4.6.0.tar.gz" DOWNLOAD="http://download.osgeo.org/proj/proj-4.8.0.tar.gz"
MD5SUM="975d9b5954869e53523726a9c0e0e070" MD5SUM="d815838c92a29179298c126effbb1537"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""
MAINTAINER="Kyle Guinn" MAINTAINER="Benjamin Trigona-Harany"
EMAIL="elyk03@gmail.com" EMAIL="bosth@alumni.sfu.ca"