diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-21 09:45:45 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-21 09:45:45 +0000 |
commit | 66bfb157ef8ea8ed56580822c13dbf563408127a (patch) | |
tree | 3e3118925732c9e7af7725428f17722aa19b682f /main | |
parent | 6eeb82b3383397fb6a18f4a6f6aee26fab22abc7 (diff) | |
download | aports-66bfb157ef8ea8ed56580822c13dbf563408127a.tar.bz2 aports-66bfb157ef8ea8ed56580822c13dbf563408127a.tar.xz |
main/eboard: remove. dead upstream
Diffstat (limited to 'main')
-rw-r--r-- | main/eboard/APKBUILD | 52 | ||||
-rw-r--r-- | main/eboard/eboard-const-safety.patch | 37 | ||||
-rw-r--r-- | main/eboard/eboard-libpng-1.5.patch | 16 | ||||
-rw-r--r-- | main/eboard/eboard.desktop | 7 |
4 files changed, 0 insertions, 112 deletions
diff --git a/main/eboard/APKBUILD b/main/eboard/APKBUILD deleted file mode 100644 index fbb23bb206..0000000000 --- a/main/eboard/APKBUILD +++ /dev/null @@ -1,52 +0,0 @@ -# Contributor: Natanael Copa <ncopa@alpinelinux.org> -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=eboard -pkgver=1.1.1 -pkgrel=4 -pkgdesc="Chess board interface for ICS" -url="http://www.bergo.eng.br/eboard" -arch="all" -license="GPLv2+" -depends= -makedepends="gtk+2.0-dev perl" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="http://prdownloads.sourceforge.net/eboard/eboard-$pkgver.tar.bz2 - eboard-libpng-1.5.patch - eboard.desktop - eboard-const-safety.patch" - -_builddir="$srcdir"/eboard-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --man-prefix=/usr/share/man \ - --extra-libs=dl \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - install -Dm644 "$srcdir"/eboard.desktop \ - "$pkgdir"/usr/share/applications/eboard.desktop -} - -md5sums="03dcdaa2bc85218b1b18c4bee276fea7 eboard-1.1.1.tar.bz2 -349dd8db4cca191925b9d30fb0da837b eboard-libpng-1.5.patch -70f985b6841c2e6374555a5a4c0cca79 eboard.desktop -9d2c97f724a083de7f39a4b3e87f22fe eboard-const-safety.patch" diff --git a/main/eboard/eboard-const-safety.patch b/main/eboard/eboard-const-safety.patch deleted file mode 100644 index de275c3bb6..0000000000 --- a/main/eboard/eboard-const-safety.patch +++ /dev/null @@ -1,37 +0,0 @@ ---- eboard-1.1.1.orig/ntext.cc -+++ eboard-1.1.1/ntext.cc -@@ -237,6 +237,7 @@ - void NText::append(const char *text, int len, int color) { - int i; - NLine *nl; -+ char buf[len + 1]; - char *p; - - if (len < 0) { -@@ -244,11 +245,14 @@ - return; - } - -- p = strchr(text, '\n'); -+ strncpy(buf, text, len); -+ buf[len] = '\0'; -+ -+ p = strchr(buf, '\n'); - if (p!=NULL) { - *p = 0; -- i = strlen(text); -- nl = new NLine(text, color); -+ i = strlen(buf); -+ nl = new NLine(buf, color); - *p = '\n'; - lines.push_back(nl); - formatLine(lines.size()-1); -@@ -257,7 +261,7 @@ - } - - // if search for \n failed, this is a single line -- nl = new NLine(text, color); -+ nl = new NLine(buf, color); - lines.push_back(nl); - formatLine(lines.size()-1); - discardExcess(); diff --git a/main/eboard/eboard-libpng-1.5.patch b/main/eboard/eboard-libpng-1.5.patch deleted file mode 100644 index 7ff3f51cb2..0000000000 --- a/main/eboard/eboard-libpng-1.5.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- eboard-1.1.1.orig/cimg.cc -+++ eboard-1.1.1/cimg.cc -@@ -94,11 +94,11 @@ - ct == PNG_COLOR_TYPE_GRAY_ALPHA) - png_set_gray_to_rgb(pngp); - -- alloc(pngp->width,pngp->height); -+ alloc(png_get_image_width(pngp, infp), png_get_image_height(pngp, infp)); - if (!ok) { fclose(f); return; } - ok = 0; - -- for(i=0;i<pngp->height;i++) { -+ for(i=0;i<png_get_image_height(pngp, infp);i++) { - png_read_row(pngp, (png_bytep) (&data[i*rowlen]), NULL); - } - diff --git a/main/eboard/eboard.desktop b/main/eboard/eboard.desktop deleted file mode 100644 index 28d0b2fee7..0000000000 --- a/main/eboard/eboard.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Name=Eboard -Comment=Play chess against an engine, on a LAN or on the Internet -Exec=eboard -Terminal=false -Type=Application -Categories=Game;BoardGame; |