fix crash on sparc64.
problem noticed by Jasper Lievisse Adriaanse ok Antoine Jacoutot (maintainer)
This commit is contained in:
parent
b00acee06d
commit
ca234aef46
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2006/03/09 01:43:48 pvalchev Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2006/04/07 07:02:36 steven Exp $
|
||||
|
||||
COMMENT= "simple GTK+ text editor"
|
||||
|
||||
DISTNAME= leafpad-0.8.7
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
CATEGORIES= editors x11
|
||||
|
||||
HOMEPAGE= http://tarot.freeshell.org/leafpad/
|
||||
|
12
editors/leafpad/patches/patch-src_file_c
Normal file
12
editors/leafpad/patches/patch-src_file_c
Normal file
@ -0,0 +1,12 @@
|
||||
$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));
|
12
editors/leafpad/patches/patch-src_print_c
Normal file
12
editors/leafpad/patches/patch-src_print_c
Normal file
@ -0,0 +1,12 @@
|
||||
$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;
|
Loading…
x
Reference in New Issue
Block a user