update to 2.9.

This commit is contained in:
fgsch 2005-09-07 17:32:26 +00:00
parent 740cefcbc8
commit f35c7d27e6
4 changed files with 10 additions and 52 deletions

View File

@ -1,9 +1,8 @@
# $OpenBSD: Makefile,v 1.2 2005/08/23 20:43:40 fgsch Exp $
# $OpenBSD: Makefile,v 1.3 2005/09/07 17:32:26 fgsch Exp $
COMMENT= "virtual sticky pad system"
DISTNAME= xpad-2.8
PKGNAME= ${DISTNAME}p0
DISTNAME= xpad-2.9
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xpad/}

View File

@ -1,4 +1,4 @@
MD5 (xpad-2.8.tar.bz2) = f6e6609db6735e5c79b71511fd255a34
RMD160 (xpad-2.8.tar.bz2) = b0bd080f79e9c0c7f55e9108d9264e67abcaedd1
SHA1 (xpad-2.8.tar.bz2) = c91f0ea94fd6699c5d63851786807eccccfb1c15
SIZE (xpad-2.8.tar.bz2) = 229242
MD5 (xpad-2.9.tar.bz2) = e1d6daca8ba136917dcf3006e37da25d
RMD160 (xpad-2.9.tar.bz2) = 96c8e953bf861cff5cca7ba76d95fb5c0546ca45
SHA1 (xpad-2.9.tar.bz2) = f3545e07aa03bcaf0997fc93aceb21bf135f99f6
SIZE (xpad-2.9.tar.bz2) = 224409

View File

@ -1,25 +0,0 @@
$OpenBSD: patch-src_fio_c,v 1.1 2005/08/23 20:43:40 fgsch Exp $
--- src/fio.c.orig Tue Aug 23 16:46:29 2005
+++ src/fio.c Tue Aug 23 16:47:41 2005
@@ -170,6 +170,7 @@ gint fio_get_values_from_file (const gch
gchar *buf;
const gchar *item;
va_list ap;
+ size_t len;
buf = fio_get_file (filename);
@@ -179,9 +180,11 @@ gint fio_get_values_from_file (const gch
/* because of the way we look for a matching variable name, which is
to look for an endline, the variable name, and a space, we insert a
newline at the beginning, so that the first variable name is caught. */
- buf = g_realloc (buf, strlen (buf) + 1);
- g_memmove (buf + 1, buf, strlen (buf));
+ len = strlen(buf);
+ buf = g_realloc (buf, len + 2);
+ g_memmove (buf + 1, buf, len);
buf[0] = '\n';
+ buf[len + 1] = '\0';
va_start (ap, filename);

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/06/30 04:28:43 fgsch Exp $
@comment $OpenBSD: PLIST,v 1.2 2005/09/07 17:32:26 fgsch Exp $
bin/xpad
@man man/man1/xpad.1
share/applications/
@ -11,36 +11,22 @@ share/icons/hicolor/48x48/apps/xpad.png
share/icons/hicolor/scalable/
share/icons/hicolor/scalable/apps/
share/icons/hicolor/scalable/apps/xpad.svg
share/locale/
share/locale/af/
share/locale/af/LC_MESSAGES/
share/locale/af/LC_MESSAGES/xpad.mo
share/locale/bg/
share/locale/bg/LC_MESSAGES/
share/locale/bg/LC_MESSAGES/xpad.mo
share/locale/es/
share/locale/es/LC_MESSAGES/
share/locale/es/LC_MESSAGES/xpad.mo
share/locale/fr/
share/locale/fr/LC_MESSAGES/
share/locale/fr/LC_MESSAGES/xpad.mo
share/locale/ga/
share/locale/ga/LC_MESSAGES/
share/locale/ga/LC_MESSAGES/xpad.mo
share/locale/hu/
share/locale/hu/LC_MESSAGES/
share/locale/hu/LC_MESSAGES/xpad.mo
share/locale/it/
share/locale/it/LC_MESSAGES/
share/locale/it/LC_MESSAGES/xpad.mo
share/locale/nl/
share/locale/nl/LC_MESSAGES/
share/locale/ms/
share/locale/ms/LC_MESSAGES/
share/locale/ms/LC_MESSAGES/xpad.mo
share/locale/nl/LC_MESSAGES/xpad.mo
share/locale/ro/
share/locale/ro/LC_MESSAGES/
share/locale/ro/LC_MESSAGES/xpad.mo
share/locale/ru/
share/locale/ru/LC_MESSAGES/
share/locale/ru/LC_MESSAGES/xpad.mo
share/locale/rw/
share/locale/rw/LC_MESSAGES/
@ -48,8 +34,6 @@ share/locale/rw/LC_MESSAGES/xpad.mo
share/locale/vi/
share/locale/vi/LC_MESSAGES/
share/locale/vi/LC_MESSAGES/xpad.mo
share/locale/zh_TW/
share/locale/zh_TW/LC_MESSAGES/
share/locale/zh_TW/LC_MESSAGES/xpad.mo
share/pixmaps/
share/pixmaps/xpad.png