summaryrefslogtreecommitdiff
path: root/community-testing/psqlodbc
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2012-01-09 13:47:51 +0000
committerParabola <dev@list.parabolagnulinux.org>2012-01-09 13:47:51 +0000
commit7a3611f5caa5e34c1f2b582640f97b733110ae63 (patch)
tree5b0baf1ad1b36444ffbf73707a377b15fc67692f /community-testing/psqlodbc
parent46783b68621b6ad45cdd9ed64cfa8cdcfbc6f318 (diff)
Mon Jan 9 13:47:49 UTC 2012
Diffstat (limited to 'community-testing/psqlodbc')
-rw-r--r--community-testing/psqlodbc/PKGBUILD31
-rw-r--r--community-testing/psqlodbc/fix-function-declarations.patch47
2 files changed, 0 insertions, 78 deletions
diff --git a/community-testing/psqlodbc/PKGBUILD b/community-testing/psqlodbc/PKGBUILD
deleted file mode 100644
index aa6184935..000000000
--- a/community-testing/psqlodbc/PKGBUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-# $Id: PKGBUILD 60930 2011-12-19 18:10:47Z andrea $
-# Maintainer:
-# Contributor: Douglas Soares de Andrade <dsa@aur.archlinux-br.org>
-# Contributor: Rick Rein <jeebusroxors@gmail.com>
-
-pkgname=psqlodbc
-pkgver=09.00.0310
-pkgrel=2
-pkgdesc="PostgreSQL ODBC driver"
-arch=('i686' 'x86_64')
-license=('GPL')
-url="http://www.postgresql.org"
-depends=('unixodbc' 'postgresql-libs')
-makedepends=('postgresql')
-options=('!libtool')
-source=(ftp://ftp2.it.postgresql.org/mirrors/postgres//odbc/versions/src/$pkgname-$pkgver.tar.gz
- fix-function-declarations.patch)
-md5sums=('78144d9ea6c40f0a0a0b92128e6b0e05'
- 'f1189f9c6ae0b5bfb5ee8423eaa4076f')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-# patch -p1 -i "$srcdir/fix-function-declarations.patch"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
-}
diff --git a/community-testing/psqlodbc/fix-function-declarations.patch b/community-testing/psqlodbc/fix-function-declarations.patch
deleted file mode 100644
index 4504661b0..000000000
--- a/community-testing/psqlodbc/fix-function-declarations.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-diff -upr psqlodbc-08.04.0100.orig/odbcapi30.c psqlodbc-08.04.0100/odbcapi30.c
---- psqlodbc-08.04.0100.orig/odbcapi30.c 2008-10-07 00:46:09.000000000 +0300
-+++ psqlodbc-08.04.0100/odbcapi30.c 2009-09-19 20:13:57.000000000 +0300
-@@ -118,13 +118,7 @@ SQLColAttribute(SQLHSTMT StatementHandle
- SQLPOINTER CharacterAttribute,
- SQLSMALLINT BufferLength,
- SQLSMALLINT *StringLength,
--#if defined(_WIN64)
- SQLLEN *NumericAttribute
--#elif defined(WITH_UNIXODBC) || defined(WIN32)
-- SQLPOINTER NumericAttribute
--#else
-- SQLLEN *NumericAttribute
--#endif
- )
- {
- CSTR func = "SQLColAttribute";
-diff -upr psqlodbc-08.04.0100.orig/odbcapi30w.c psqlodbc-08.04.0100/odbcapi30w.c
---- psqlodbc-08.04.0100.orig/odbcapi30w.c 2009-03-22 16:17:10.000000000 +0200
-+++ psqlodbc-08.04.0100/odbcapi30w.c 2009-09-19 20:22:17.000000000 +0300
-@@ -262,11 +262,7 @@ SQLRETURN SQL_API SQLColAttributeW(
- SQLPOINTER pCharAttr,
- SQLSMALLINT cbCharAttrMax,
- SQLSMALLINT *pcbCharAttr,
--#if defined(WITH_UNIXODBC) || (defined(WIN32) && ! defined(_WIN64))
-- SQLPOINTER pNumAttr
--#else
- SQLLEN *pNumAttr
--#endif
- )
- {
- CSTR func = "SQLColAttributeW";
-diff -upr psqlodbc-08.04.0100.orig/odbcapi.c psqlodbc-08.04.0100/odbcapi.c
---- psqlodbc-08.04.0100.orig/odbcapi.c 2008-11-23 03:00:53.000000000 +0200
-+++ psqlodbc-08.04.0100/odbcapi.c 2009-09-19 20:13:56.000000000 +0300
-@@ -1111,11 +1111,7 @@ SQLExtendedFetch(
- HSTMT hstmt,
- SQLUSMALLINT fFetchType,
- SQLLEN irow,
--#ifdef WITH_UNIXODBC
-- SQLROWSETSIZE *pcrow,
--#else
- SQLULEN *pcrow,
--#endif /* WITH_UNIXODBC */
- SQLUSMALLINT *rgfRowStatus)
- {
- RETCODE ret;