ports/79758: Update port: x11-wm/fluxconf to 0.9.8
KATO Tsuguru
tkato432 at yahoo.com
Sun Apr 10 14:10:22 UTC 2005
>Number: 79758
>Category: ports
>Synopsis: Update port: x11-wm/fluxconf to 0.9.8
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Apr 10 14:10:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.11-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 0.9.8
New file:
files/patch-src::fluxconf.c
files/patch-src::fluxkeys.c
files/patch-src::fluxmenu.c
Remove file:
pkg-plist
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/x11-wm/fluxconf/Makefile x11-wm/fluxconf/Makefile
--- /usr/ports/x11-wm/fluxconf/Makefile Sat Mar 12 20:33:05 2005
+++ x11-wm/fluxconf/Makefile Mon Mar 21 18:11:41 2005
@@ -6,8 +6,7 @@
#
PORTNAME= fluxconf
-PORTVERSION= 0.9.7
-PORTREVISION= 2
+PORTVERSION= 0.9.8
CATEGORIES= x11-wm
MASTER_SITES= http://devaux.fabien.free.fr/flux/
@@ -19,12 +18,15 @@
GNU_CONFIGURE= yes
PORTDOCS= fluxconf.png fluxkeys.png fluxmenu.png index.html
+PLIST_FILES= bin/fluxbare bin/fluxconf bin/fluxkeys bin/fluxmenu \
+ share/locale/fi/LC_MESSAGES/fluxconf.mo \
+ share/locale/fr/LC_MESSAGES/fluxconf.mo
post-install:
-.ifndef (NOPORTDOCS)
+.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for i in ${PORTDOCS}
- @${INSTALL_DATA} ${WRKSRC}/docs/${i} ${DOCSDIR}
+.for file in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/docs/${file} ${DOCSDIR}
.endfor
.endif
diff -urN /usr/ports/x11-wm/fluxconf/distinfo x11-wm/fluxconf/distinfo
--- /usr/ports/x11-wm/fluxconf/distinfo Tue Aug 10 00:48:04 2004
+++ x11-wm/fluxconf/distinfo Mon Mar 21 18:03:14 2005
@@ -1,2 +1,2 @@
-MD5 (fluxconf-0.9.7.tar.gz) = 207faf932e07642c779e54aba549c804
-SIZE (fluxconf-0.9.7.tar.gz) = 197481
+MD5 (fluxconf-0.9.8.tar.gz) = b4e17b45fcec48d04c1c16e75836b6b7
+SIZE (fluxconf-0.9.8.tar.gz) = 235490
diff -urN /usr/ports/x11-wm/fluxconf/files/patch-src::fluxconf.c x11-wm/fluxconf/files/patch-src::fluxconf.c
--- /usr/ports/x11-wm/fluxconf/files/patch-src::fluxconf.c Thu Jan 1 09:00:00 1970
+++ x11-wm/fluxconf/files/patch-src::fluxconf.c Mon Mar 21 18:17:24 2005
@@ -0,0 +1,21 @@
+--- src/fluxconf.c.orig Thu Dec 9 01:58:37 2004
++++ src/fluxconf.c Mon Mar 21 18:10:27 2005
+@@ -146,7 +146,9 @@
+ void sauver(GtkButton * button, char **laliste) /* FIXME without first parameter function hangs ... */
+ {
+ int n, x;
++ int source_fd, dest_fd, rdlen;
+ char *fullpath = NULL;
++ char tmp_buff[BUFSIZ + 1], * ptr = NULL;
+ FILE *file = NULL;
+ GList *widlist = NULL;
+ GtkWidget *tmpwid, *smallwin;
+@@ -166,8 +168,6 @@
+ /*
+ * try to make a backup
+ */
+- char tmp_buff[BUFSIZ + 1], * ptr = NULL;
+- int source_fd, dest_fd, rdlen;
+
+ memset(tmp_buff, 0, BUFSIZ + 1);
+
diff -urN /usr/ports/x11-wm/fluxconf/files/patch-src::fluxkeys.c x11-wm/fluxconf/files/patch-src::fluxkeys.c
--- /usr/ports/x11-wm/fluxconf/files/patch-src::fluxkeys.c Thu Jan 1 09:00:00 1970
+++ x11-wm/fluxconf/files/patch-src::fluxkeys.c Mon Mar 21 18:17:39 2005
@@ -0,0 +1,21 @@
+--- src/fluxkeys.c.orig Fri Dec 10 23:47:14 2004
++++ src/fluxkeys.c Mon Mar 21 18:10:27 2005
+@@ -265,7 +265,9 @@
+ GtkBoxChild *child;
+ GtkWidget *wid;
+ int mod, n;
++ int source_fd, dest_fd, rdlen;
+ char *initpath, *buf;
++ char tmp_buff[BUFSIZ + 1], *ptr;
+
+ #ifdef GTK2
+ G_CONST_RETURN gchar *key, *action, *execact;
+@@ -305,8 +307,6 @@
+ /*
+ * FIXME: this is highly redundant
+ */
+- char tmp_buff[BUFSIZ + 1], *ptr;
+- int source_fd, dest_fd, rdlen;
+
+ memset(tmp_buff, 0, BUFSIZ + 1);
+
diff -urN /usr/ports/x11-wm/fluxconf/files/patch-src::fluxmenu.c x11-wm/fluxconf/files/patch-src::fluxmenu.c
--- /usr/ports/x11-wm/fluxconf/files/patch-src::fluxmenu.c Thu Jan 1 09:00:00 1970
+++ x11-wm/fluxconf/files/patch-src::fluxmenu.c Mon Mar 21 18:17:54 2005
@@ -0,0 +1,22 @@
+--- src/fluxmenu.c.orig Fri Dec 10 23:47:14 2004
++++ src/fluxmenu.c Mon Mar 21 18:10:27 2005
+@@ -408,8 +408,10 @@
+ void savemenu(void)
+ {
+ char *initpath, *buf;
++ char tmp_buff[BUFSIZ+1],*ptr;
+ FILE *file;
+ int n;
++ int source_fd, dest_fd, rdlen;
+ initpath = malloc(sizeof(char) * 200);
+ buf = malloc(sizeof(char)*200);
+
+@@ -432,8 +434,6 @@
+ /*
+ * try to make a backup
+ */
+- char tmp_buff[BUFSIZ+1],*ptr;
+- int source_fd, dest_fd, rdlen;
+
+ memset(tmp_buff,0,BUFSIZ+1);
+
diff -urN /usr/ports/x11-wm/fluxconf/pkg-plist x11-wm/fluxconf/pkg-plist
--- /usr/ports/x11-wm/fluxconf/pkg-plist Mon Feb 10 19:57:04 2003
+++ x11-wm/fluxconf/pkg-plist Thu Jan 1 09:00:00 1970
@@ -1,6 +0,0 @@
-bin/fluxbare
-bin/fluxconf
-bin/fluxkeys
-bin/fluxmenu
-share/locale/fi/LC_MESSAGES/fluxconf.mo
-share/locale/fr/LC_MESSAGES/fluxconf.mo
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list