FreeBSD Bugzilla – Attachment 218389 Details for
Bug 249964
sysutils/lcdproc fix build with -fno-common
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix build
lcdproc.patch (text/plain), 2.55 KB, created by
Olivier Cochard
on 2020-09-28 21:31:18 UTC
(
hide
)
Description:
patch to fix build
Filename:
MIME Type:
Creator:
Olivier Cochard
Created:
2020-09-28 21:31:18 UTC
Size:
2.55 KB
patch
obsolete
>Index: sysutils/lcdproc/Makefile >=================================================================== >--- sysutils/lcdproc/Makefile (revision 550433) >+++ sysutils/lcdproc/Makefile (working copy) >@@ -12,7 +12,7 @@ > LICENSE= GPLv2 > LICENSE_FILE= ${WRKSRC}/COPYING > >-ONLY_FOR_ARCHS= i386 amd64 >+ONLY_FOR_ARCHS= amd64 i386 > > USES= autoreconf pkgconfig > GNU_CONFIGURE= yes >Index: sysutils/lcdproc/files/patch-clients__lcdproc__iface.c >=================================================================== >--- sysutils/lcdproc/files/patch-clients__lcdproc__iface.c (nonexistent) >+++ sysutils/lcdproc/files/patch-clients__lcdproc__iface.c (working copy) >@@ -0,0 +1,10 @@ >+--- clients/lcdproc/iface.c.orig 2020-09-28 23:25:01.655900000 +0200 >++++ clients/lcdproc/iface.c 2020-09-28 23:25:27.294816000 +0200 >+@@ -37,6 +37,7 @@ >+ static char unit_label[10] = "B"; /* default unit label is Bytes */ >+ static int transfer_screen = 0; /* by default, transfer screen is not shown */ >+ >++IfaceInfo iface[MAX_INTERFACES]; /* interface info */ >+ >+ /** Reads and parses configuration file. >+ * \return 0 on success, -1 on error > >Property changes on: sysutils/lcdproc/files/patch-clients__lcdproc__iface.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 >Index: sysutils/lcdproc/files/patch-clients__lcdproc__iface.h >=================================================================== >--- sysutils/lcdproc/files/patch-clients__lcdproc__iface.h (nonexistent) >+++ sysutils/lcdproc/files/patch-clients__lcdproc__iface.h (working copy) >@@ -0,0 +1,11 @@ >+--- clients/lcdproc/iface.h.orig 2020-09-28 23:24:28.536083000 +0200 >++++ clients/lcdproc/iface.h 2020-09-28 23:24:52.494772000 +0200 >+@@ -18,7 +18,7 @@ >+ /** max number of interfaces in multi-interface mode */ >+ #define MAX_INTERFACES 3 >+ >+-IfaceInfo iface[MAX_INTERFACES]; /* interface info */ >++extern IfaceInfo iface[MAX_INTERFACES]; /* interface info */ >+ >+ /** Update screen content */ >+ int iface_screen(int rep, int display, int *flags_ptr); > >Property changes on: sysutils/lcdproc/files/patch-clients__lcdproc__iface.h >___________________________________________________________________ >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 249964
: 218389