[arch-commits] Commit in leafpad/trunk (PKGBUILD cstr.patch)
Ionut Biru
ibiru at archlinux.org
Fri Dec 24 13:01:26 UTC 2010
Date: Friday, December 24, 2010 @ 08:01:26
Author: ibiru
Revision: 103948
upgpkg: leafpad 0.8.18.1-1
update to 0.8.18.1
Modified:
leafpad/trunk/PKGBUILD
Deleted:
leafpad/trunk/cstr.patch
------------+
PKGBUILD | 11 ++++-------
cstr.patch | 12 ------------
2 files changed, 4 insertions(+), 19 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-12-24 12:30:01 UTC (rev 103947)
+++ PKGBUILD 2010-12-24 13:01:26 UTC (rev 103948)
@@ -3,8 +3,8 @@
# Contributor: Link Dupont <link at subpop.net>
pkgname=leafpad
-pkgver=0.8.18
-pkgrel=2
+pkgver=0.8.18.1
+pkgrel=1
pkgdesc="A notepad clone for GTK+ 2.0"
arch=('i686' 'x86_64')
url="http://tarot.freeshell.org/leafpad/"
@@ -12,14 +12,11 @@
depends=('gtk2')
makedepends=('intltool')
install=leafpad.install
-source=(http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz
- cstr.patch)
-md5sums=('9acb750a05161329a335c06889778be1'
- '5cb75143f6a5064cbbb8cc7957d22ebd')
+source=(http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+md5sums=('254a72fc67505e3aa52884c729cd7b97')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i "${srcdir}/cstr.patch"
./configure --prefix=/usr --enable-chooser
make
make DESTDIR="${pkgdir}" install
Deleted: cstr.patch
===================================================================
--- cstr.patch 2010-12-24 12:30:01 UTC (rev 103947)
+++ cstr.patch 2010-12-24 13:01:26 UTC (rev 103948)
@@ -1,12 +0,0 @@
-diff -Nur leafpad-0.8.18.orig/src/file.c leafpad-0.8.18/src/file.c
---- leafpad-0.8.18.orig/src/file.c 2010-12-17 22:01:35.000000000 -0800
-+++ leafpad-0.8.18/src/file.c 2010-12-21 09:26:00.236670201 -0800
-@@ -223,7 +223,7 @@
- GTK_MESSAGE_ERROR, _("Can't open file to write"));
- return -1;
- }
-- if (fwrite(str, 1, wbytes, fp) != wbytes) {
-+ if (fwrite(cstr, 1, wbytes, fp) != wbytes) {
- run_dialog_message(gtk_widget_get_toplevel(view),
- GTK_MESSAGE_ERROR, _("Can't write file"));
- return -1;
More information about the arch-commits
mailing list