[arch-commits] Commit in tvision/repos (6 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Sat Dec 5 17:34:47 UTC 2015
Date: Saturday, December 5, 2015 @ 18:34:47
Author: bpiotrowski
Revision: 148581
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
tvision/repos/community-staging-i686/
tvision/repos/community-staging-i686/PKGBUILD
(from rev 148580, tvision/trunk/PKGBUILD)
tvision/repos/community-staging-i686/tvision-build-fix.patch
(from rev 148580, tvision/trunk/tvision-build-fix.patch)
tvision/repos/community-staging-x86_64/
tvision/repos/community-staging-x86_64/PKGBUILD
(from rev 148580, tvision/trunk/PKGBUILD)
tvision/repos/community-staging-x86_64/tvision-build-fix.patch
(from rev 148580, tvision/trunk/tvision-build-fix.patch)
--------------------------------------------------+
community-staging-i686/PKGBUILD | 29 +++++++++++++++++++++
community-staging-i686/tvision-build-fix.patch | 13 +++++++++
community-staging-x86_64/PKGBUILD | 29 +++++++++++++++++++++
community-staging-x86_64/tvision-build-fix.patch | 13 +++++++++
4 files changed, 84 insertions(+)
Copied: tvision/repos/community-staging-i686/PKGBUILD (from rev 148580, tvision/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-05 17:34:47 UTC (rev 148581)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=tvision
+pkgver=2.2.1_r1
+pkgrel=5
+pkgdesc="turbo vision library port (console interface)"
+arch=(i686 x86_64)
+url="http://tvision.sourceforge.net"
+license=("GPL")
+depends=(gpm gcc-libs libxmu)
+options=('!makeflags')
+source=("http://downloads.sourceforge.net/project/tvision/UNIX/2.2.1%20CVS20100714%20Source%20and%20Debian%205.0/rhtvision_${pkgver/_r/-}.tar.gz"
+ tvision-build-fix.patch)
+md5sums=('46b815d86bbbb2f9b112b11f63e2f5a6'
+ 'e24e3520bd7c6beb441716b8998b4c64')
+
+build() {
+ cd $srcdir/$pkgname
+ patch -p1 <$srcdir/tvision-build-fix.patch
+ ./configure --prefix=/usr --include=/usr/include
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname
+ make prefix=$pkgdir/usr install
+}
Copied: tvision/repos/community-staging-i686/tvision-build-fix.patch (from rev 148580, tvision/trunk/tvision-build-fix.patch)
===================================================================
--- community-staging-i686/tvision-build-fix.patch (rev 0)
+++ community-staging-i686/tvision-build-fix.patch 2015-12-05 17:34:47 UTC (rev 148581)
@@ -0,0 +1,13 @@
+diff -wbBur tvision/classes/x11/x11src.cc tvision.q/classes/x11/x11src.cc
+--- tvision/classes/x11/x11src.cc 2009-12-29 15:52:24.000000000 +0000
++++ tvision.q/classes/x11/x11src.cc 2010-08-14 22:52:01.000000000 +0000
+@@ -40,6 +40,9 @@
+ // That's a nasty side effect: X defines Boolean!
+ #if (defined(TVOS_UNIX) || defined(TVCompf_Cygwin)) && defined(HAVE_X11)
+ #include <X11/Xmu/Atoms.h>
++ #include <sys/types.h>
++ #include <sys/stat.h>
++ #include <fcntl.h>
+ #endif
+
+ #define Uses_stdio
Copied: tvision/repos/community-staging-x86_64/PKGBUILD (from rev 148580, tvision/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-12-05 17:34:47 UTC (rev 148581)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=tvision
+pkgver=2.2.1_r1
+pkgrel=5
+pkgdesc="turbo vision library port (console interface)"
+arch=(i686 x86_64)
+url="http://tvision.sourceforge.net"
+license=("GPL")
+depends=(gpm gcc-libs libxmu)
+options=('!makeflags')
+source=("http://downloads.sourceforge.net/project/tvision/UNIX/2.2.1%20CVS20100714%20Source%20and%20Debian%205.0/rhtvision_${pkgver/_r/-}.tar.gz"
+ tvision-build-fix.patch)
+md5sums=('46b815d86bbbb2f9b112b11f63e2f5a6'
+ 'e24e3520bd7c6beb441716b8998b4c64')
+
+build() {
+ cd $srcdir/$pkgname
+ patch -p1 <$srcdir/tvision-build-fix.patch
+ ./configure --prefix=/usr --include=/usr/include
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname
+ make prefix=$pkgdir/usr install
+}
Copied: tvision/repos/community-staging-x86_64/tvision-build-fix.patch (from rev 148580, tvision/trunk/tvision-build-fix.patch)
===================================================================
--- community-staging-x86_64/tvision-build-fix.patch (rev 0)
+++ community-staging-x86_64/tvision-build-fix.patch 2015-12-05 17:34:47 UTC (rev 148581)
@@ -0,0 +1,13 @@
+diff -wbBur tvision/classes/x11/x11src.cc tvision.q/classes/x11/x11src.cc
+--- tvision/classes/x11/x11src.cc 2009-12-29 15:52:24.000000000 +0000
++++ tvision.q/classes/x11/x11src.cc 2010-08-14 22:52:01.000000000 +0000
+@@ -40,6 +40,9 @@
+ // That's a nasty side effect: X defines Boolean!
+ #if (defined(TVOS_UNIX) || defined(TVCompf_Cygwin)) && defined(HAVE_X11)
+ #include <X11/Xmu/Atoms.h>
++ #include <sys/types.h>
++ #include <sys/stat.h>
++ #include <fcntl.h>
+ #endif
+
+ #define Uses_stdio
More information about the arch-commits
mailing list