On Sat, 8 Apr 2006, Jasper Lievisse Adriaanse wrote:
Your diff doesn't apply properly here, so made the changes by hand.
Anyway, it works ok now on sparc64.
OK, here's another diff. I hope this one will apply fine.
Do not forget to use the "--remove-empty-files" option of the patch
command (since the patches/ directory isn't needed anymore).
This should be OK to commit.
--
Antoine
diff -uNr --exclude=CVS /usr/ports/editors/leafpad/Makefile leafpad/Makefile
--- /usr/ports/editors/leafpad/Makefile Fri Apr 7 11:07:51 2006
+++ leafpad/Makefile Sat Apr 8 12:10:30 2006
@@ -2,8 +2,7 @@
COMMENT= "simple GTK+ text editor"
-DISTNAME= leafpad-0.8.7
-PKGNAME= ${DISTNAME}p0
+DISTNAME= leafpad-0.8.8
CATEGORIES= editors x11
HOMEPAGE= http://tarot.freeshell.org/leafpad/
diff -uNr --exclude=CVS /usr/ports/editors/leafpad/distinfo leafpad/distinfo
--- /usr/ports/editors/leafpad/distinfo Thu Mar 9 02:43:48 2006
+++ leafpad/distinfo Sat Apr 8 12:10:41 2006
@@ -1,4 +1,4 @@
-MD5 (leafpad-0.8.7.tar.gz) = 6dd5a0882a289a5351b08618883427a1
-RMD160 (leafpad-0.8.7.tar.gz) = 6bc07f837e528e65546b30d0036cbe1296200e9b
-SHA1 (leafpad-0.8.7.tar.gz) = e405e5cc0e73da71281d5148fe8dd4301dfbd276
-SIZE (leafpad-0.8.7.tar.gz) = 246464
+MD5 (leafpad-0.8.8.tar.gz) = 06d05c42230591f90e9f4dcc356784b2
+RMD160 (leafpad-0.8.8.tar.gz) = 5d093956a8e3add93067d7cf9c60d6cf3f4d6b98
+SHA1 (leafpad-0.8.8.tar.gz) = ec72dfdff616f7c707fb5ac3ee7657e97053580c
+SIZE (leafpad-0.8.8.tar.gz) = 245876
diff -uNr --exclude=CVS /usr/ports/editors/leafpad/patches/patch-src_file_c
leafpad/patches/patch-src_file_c
--- /usr/ports/editors/leafpad/patches/patch-src_file_c Fri Apr 7 09:02:36 2006
+++ leafpad/patches/patch-src_file_c Thu Jan 1 01:00:00 1970
@@ -1,12 +0,0 @@
-$OpenBSD: patch-src_file_c,v 1.1 2006/04/07 07:02:36 steven Exp $
---- src/file.c.orig Thu Apr 6 17:53:25 2006
-+++ src/file.c Thu Apr 6 17:53:37 2006
-@@ -185,7 +185,7 @@ gint file_save_real(GtkWidget *view, Fil
- FILE *fp;
- GtkTextIter start, end;
- gchar *str;
-- gint rbytes, wbytes;
-+ gsize rbytes, wbytes;
- GError *err = NULL;
-
- GtkTextBuffer *buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(view));
diff -uNr --exclude=CVS /usr/ports/editors/leafpad/patches/patch-src_print_c
leafpad/patches/patch-src_print_c
--- /usr/ports/editors/leafpad/patches/patch-src_print_c Fri Apr 7
09:02:36 2006
+++ leafpad/patches/patch-src_print_c Thu Jan 1 01:00:00 1970
@@ -1,12 +0,0 @@
-$OpenBSD: patch-src_print_c,v 1.1 2006/04/07 07:02:36 steven Exp $
---- src/print.c.orig Thu Apr 6 17:53:59 2006
-+++ src/print.c Thu Apr 6 17:54:08 2006
-@@ -41,7 +41,7 @@ static gint write_tmp(gint fd)
- FILE *fp;
- GtkTextIter start, end;
- gchar *str;
-- gint rbytes, wbytes;
-+ gsize rbytes, wbytes;
- GError *error = NULL;
-
- GtkTextBuffer *buffer = pub->mw->buffer;