FreeBSD Bugzilla – Attachment 201102 Details for
Bug 234923
sysutils/xfce4-battery-plugin: Update to 1.1.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to update sysutils/xfce4-battery-plugin
xfce4-battery-plugin.diff (text/plain), 2.98 KB, created by
Olivier Duchateau
on 2019-01-13 17:25:33 UTC
(
hide
)
Description:
Patch to update sysutils/xfce4-battery-plugin
Filename:
MIME Type:
Creator:
Olivier Duchateau
Created:
2019-01-13 17:25:33 UTC
Size:
2.98 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (révision 490157) >+++ Makefile (copie de travail) >@@ -2,7 +2,7 @@ > # $FreeBSD$ > > PORTNAME= xfce4-battery-plugin >-PORTVERSION= 1.1.1 >+PORTVERSION= 1.1.2 > CATEGORIES= sysutils xfce > MASTER_SITES= XFCE/src/panel-plugins/${PORTNAME}/${PORTVERSION:R} > DIST_SUBDIR= xfce4 >@@ -15,7 +15,8 @@ > ONLY_FOR_ARCHS= amd64 i386 > > SSP_UNSAFE= yes >-USES= alias gettext-tools gmake libtool pkgconfig tar:bzip2 xfce:gtk3 >+USES= alias gettext-tools gmake gnome libtool pkgconfig tar:bzip2 \ >+ xfce:gtk3 > GNU_CONFIGURE= yes > USE_GNOME= gtk30 glib20 intltool cairo > USE_XFCE= panel >Index: distinfo >=================================================================== >--- distinfo (révision 490157) >+++ distinfo (copie de travail) >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1537694606 >-SHA256 (xfce4/xfce4-battery-plugin-1.1.1.tar.bz2) = 1e94969b93e0c1d6da87364b64c0cdfb40bae5e4a055039be8b67b9e5b3dd44b >-SIZE (xfce4/xfce4-battery-plugin-1.1.1.tar.bz2) = 465880 >+TIMESTAMP = 1547398587 >+SHA256 (xfce4/xfce4-battery-plugin-1.1.2.tar.bz2) = d601349fa9a979dae99ace39b24d99b97f62b80f42ac5dea5a99e5af3e88d7db >+SIZE (xfce4/xfce4-battery-plugin-1.1.2.tar.bz2) = 464077 >Index: files/patch-panel-plugin_libacpi.c >=================================================================== >--- files/patch-panel-plugin_libacpi.c (nonexistent) >+++ files/patch-panel-plugin_libacpi.c (copie de travail) >@@ -0,0 +1,38 @@ >+--- panel-plugin/libacpi.c.orig 2018-12-31 22:14:28 UTC >++++ panel-plugin/libacpi.c >+@@ -100,7 +100,7 @@ oidfmt(int *oid, int len, char *fmt, u_int *kind) >+ j = sizeof(buf); >+ i = sysctl(qoid, len + 2, buf, &j, 0, 0); >+ if (i) >+- err(1, "sysctl fmt %d %d %d", i, j, errno); >++ err(1, "sysctl fmt %d %zu %d", i, j, errno); >+ >+ if (kind) >+ *kind = *(u_int *)buf; >+@@ -129,7 +129,7 @@ get_var(int *oid, int nlen) >+ j = sizeof(name); >+ i = sysctl(qoid, nlen + 2, name, &j, 0, 0); >+ if (i || !j) >+- err(1, "sysctl name %d %d %d", i, j, errno); >++ err(1, "sysctl name %d %zu %d", i, j, errno); >+ >+ sep = "="; >+ >+@@ -145,7 +145,7 @@ get_var(int *oid, int nlen) >+ return (1); >+ >+ val[len] = '\0'; >+- fmt = buf; >++ fmt = (char *)buf; >+ oidfmt(oid, nlen, fmt, &kind); >+ p = val; >+ switch (*fmt) { >+@@ -170,7 +170,7 @@ get_var(int *oid, int nlen) >+ return (retval); >+ default: >+ printf("%s%s", name, sep); >+- printf("Format:%s Length:%d Dump:0x", fmt, len); >++ printf("Format:%s Length:%zu Dump:0x", fmt, len); >+ while (len-- && (p < val + 16)) >+ printf("%02x", *p++); >+ if (len > 16) > >Property changes on: files/patch-panel-plugin_libacpi.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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 234923
: 201102