FreeBSD Bugzilla – Attachment 52461 Details for
Bug 79476
Update port: graphics/gliv to 1.9.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 5.15 KB, created by
tkato432
on 2005-04-02 18:10:16 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2005-04-02 18:10:16 UTC
Size:
5.15 KB
patch
obsolete
>diff -urN /usr/ports/graphics/gliv/Makefile graphics/gliv/Makefile >--- /usr/ports/graphics/gliv/Makefile Sat Mar 12 20:24:40 2005 >+++ graphics/gliv/Makefile Tue Mar 22 22:13:23 2005 >@@ -6,8 +6,7 @@ > # > > PORTNAME= gliv >-PORTVERSION= 1.9.1 >-PORTREVISION= 1 >+PORTVERSION= 1.9.2 > CATEGORIES= graphics > MASTER_SITES= http://guichaz.free.fr/gliv/ > >diff -urN /usr/ports/graphics/gliv/distinfo graphics/gliv/distinfo >--- /usr/ports/graphics/gliv/distinfo Sun Jan 9 14:32:06 2005 >+++ graphics/gliv/distinfo Tue Mar 22 22:17:27 2005 >@@ -1,2 +1,2 @@ >-MD5 (gliv-1.9.1.tar.bz2) = 2feec67d5a3263a50cb6d75c6ff42fa7 >-SIZE (gliv-1.9.1.tar.bz2) = 446120 >+MD5 (gliv-1.9.2.tar.bz2) = 171c4be01093f0517b040a340c1a69b7 >+SIZE (gliv-1.9.2.tar.bz2) = 455979 >diff -urN /usr/ports/graphics/gliv/files/patch-src::collection.c graphics/gliv/files/patch-src::collection.c >--- /usr/ports/graphics/gliv/files/patch-src::collection.c Thu Dec 30 19:55:05 2004 >+++ graphics/gliv/files/patch-src::collection.c Thu Jan 1 09:00:00 1970 >@@ -1,87 +0,0 @@ >---- src/collection.c.orig Mon Dec 20 08:16:25 2004 >-+++ src/collection.c Sat Dec 25 23:01:11 2004 >-@@ -713,8 +713,8 @@ >- guchar *base; >- guchar *ptr; >- guchar *end; >-- }; >-- }; >-+ } s; >-+ } u; >- }; >- >- static void free_buffer(struct coll_src *source, guchar * buffer) >-@@ -730,16 +730,16 @@ >- >- if (source->is_file) { >- data = g_new(guchar, length); >-- if (fread(data, 1, length, source->file) != length) { >-+ if (fread(data, 1, length, source->u.file) != length) { >- g_free(data); >- return NULL; >- } >- } else { >-- if (source->ptr + length > source->end) >-+ if (source->u.s.ptr + length > source->u.s.end) >- return NULL; >- >-- data = source->ptr; >-- source->ptr += length; >-+ data = source->u.s.ptr; >-+ source->u.s.ptr += length; >- } >- >- if (is_string && data[length - 1] != '\0') { >-@@ -753,12 +753,12 @@ >- static gint read_char(struct coll_src *source) >- { >- if (source->is_file) >-- return fgetc(source->file); >-+ return fgetc(source->u.file); >- >-- if (source->ptr >= source->end) >-+ if (source->u.s.ptr >= source->u.s.end) >- return EOF; >- >-- return *(source->ptr++); >-+ return *(source->u.s.ptr++); >- } >- >- static GdkPixbufDestroyNotify destroy_func(struct coll_src *source) >-@@ -930,22 +930,22 @@ >- goto no_mmap; >- } >- >-- source->base = mmap(NULL, length, PROT_READ, MAP_PRIVATE, fileno(file), 0); >-- if (source->base == MAP_FAILED) { >-+ source->u.s.base = mmap(NULL, length, PROT_READ, MAP_PRIVATE, fileno(file), 0); >-+ if (source->u.s.base == MAP_FAILED) { >- perror("mmap"); >- goto no_mmap; >- } >- >- source->is_file = FALSE; >-- source->ptr = source->base; >-- source->end = source->base + length; >-+ source->u.s.ptr = source->u.s.base; >-+ source->u.s.end = source->u.s.base + length; >- goto ok; >- >- no_mmap: >- fseeko(file, 0, SEEK_SET); >- >- source->is_file = TRUE; >-- source->file = file; >-+ source->u.file = file; >- >- ok: >- return source; >-@@ -954,7 +954,7 @@ >- static void destroy_source(struct coll_src *source, gboolean ok) >- { >- if (ok == FALSE && source->is_file == FALSE) >-- if (munmap(source->base, source->end - source->base) < 0) >-+ if (munmap(source->u.s.base, source->u.s.end - source->u.s.base) < 0) >- perror("munmap"); >- } >- >diff -urN /usr/ports/graphics/gliv/files/patch-src::options.c graphics/gliv/files/patch-src::options.c >--- /usr/ports/graphics/gliv/files/patch-src::options.c Thu Dec 30 17:50:58 2004 >+++ graphics/gliv/files/patch-src::options.c Thu Jan 1 09:00:00 1970 >@@ -1,38 +0,0 @@ >---- src/options.c.orig Mon Dec 20 08:24:26 2004 >-+++ src/options.c Sat Dec 25 23:10:14 2004 >-@@ -199,12 +199,15 @@ >- >- static gboolean on_read_config_realize(GtkLabel * widget) >- { >-- const gchar *filename = get_read_config_file(); >-+ const gchar *filename; >-+ gchar *text; >-+ >-+ filename = get_read_config_file(); >- >- if (filename == NULL) >- filename = _("NONE"); >- >-- gchar *text = >-+ text = >- g_strdup_printf(_("This configuration file has been read: %s"), >- filename); >- >-@@ -216,12 +219,15 @@ >- >- static gboolean on_write_config_realize(GtkLabel * widget) >- { >-- const gchar *filename = get_write_config_file(); >-+ const gchar *filename; >-+ gchar *text; >-+ >-+ filename = get_write_config_file(); >- >- if (filename == NULL) >- filename = _("NONE"); >- >-- gchar *text = >-+ text = >- g_strdup_printf(_("This configuration file will be written: %s"), >- filename); >- >diff -urN /usr/ports/graphics/gliv/pkg-plist graphics/gliv/pkg-plist >--- /usr/ports/graphics/gliv/pkg-plist Thu Dec 30 19:55:06 2004 >+++ graphics/gliv/pkg-plist Tue Mar 22 22:25:37 2005 >@@ -8,6 +8,7 @@ > share/locale/ro/LC_MESSAGES/gliv.mo > share/locale/ru/LC_MESSAGES/gliv.mo > share/locale/sk/LC_MESSAGES/gliv.mo >+share/locale/tr/LC_MESSAGES/gliv.mo > @unexec rmdir %D/man/ru/man1 2>/dev/null || true > @unexec rmdir %D/man/ru 2>/dev/null || true > @unexec rmdir %D/man/fr/man1 2>/dev/null || true
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 79476
: 52461