FreeBSD Bugzilla – Attachment 203541 Details for
Bug 237159
deskutils/sysctlview: fix build with GCC-based architectures
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
sysctlview.patch (text/plain), 2.25 KB, created by
Piotr Kubaj
on 2019-04-09 12:28:36 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2019-04-09 12:28:36 UTC
Size:
2.25 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 498040) >+++ Makefile (working copy) >@@ -12,7 +12,7 @@ > > LIB_DEPENDS= libsysctlmibinfo.so:devel/libsysctlmibinfo > >-USES= pkgconfig gettext-runtime gnome >+USES= compiler:c++11-lang pkgconfig gettext-runtime gnome > USE_GNOME= gtkmm30 atkmm glibmm pangomm glibmm gtk30 pango atk \ > cairo glib20 cairomm libsigc++20 gdkpixbuf2 glib20 > >@@ -32,6 +32,9 @@ > PLIST_FILES= bin/sysctlview \ > man/man1/sysctlview.1.gz > >+post-patch: >+ @${REINPLACE_CMD} '/CXX =/d; s/^CXXFLAGS =/CXXFLAGS +=/; s/^LDFLAGS =/LDFLAGS +=/' ${WRKSRC}/Makefile >+ > do-install: > ${INSTALL_PROGRAM} ${WRKSRC}/sysctlview ${STAGEDIR}${PREFIX}/bin > ${INSTALL_MAN} ${WRKSRC}/sysctlview.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 >Index: files/patch-mytreeview.cc >=================================================================== >--- files/patch-mytreeview.cc (nonexistent) >+++ files/patch-mytreeview.cc (working copy) >@@ -0,0 +1,28 @@ >+--- mytreeview.cc.orig 2019-04-09 12:24:35 UTC >++++ mytreeview.cc >+@@ -31,24 +31,7 @@ >+ >+ #include "mytreeview.h" >+ >+-static const char *ctl_typename[CTLTYPE+1] = { >+- [CTLTYPE_INT] = "integer", >+- [CTLTYPE_UINT] = "unsigned integer", >+- [CTLTYPE_LONG] = "long integer", >+- [CTLTYPE_ULONG] = "unsigned long", >+- [CTLTYPE_U8] = "uint8_t", >+- [CTLTYPE_U16] = "uint16_t", >+- [CTLTYPE_U32] = "uint32_t", >+- [CTLTYPE_U64] = "uint64_t", >+- [CTLTYPE_S8] = "int8_t", >+- [CTLTYPE_S16] = "int16_t", >+- [CTLTYPE_S32] = "int32_t", >+- [CTLTYPE_S64] = "int64_t", >+- [CTLTYPE_NODE] = "node", >+- [CTLTYPE_STRING] = "string", >+- [CTLTYPE_OPAQUE] = "opaque", >+-}; >+- >++static const char *ctl_typename[CTLTYPE+1] = { "node", "integer", "string", "int64_t", "opaque", "unsigned integer", "long integer", "unsigned long", "uint64_t", "int8_t", "int16_t", "int32_t", "uint32_t" }; >+ >+ MyTreeView::MyTreeView(Gtk::Window *w) >+ { > >Property changes on: files/patch-mytreeview.cc >___________________________________________________________________ >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 237159
:
203541
|
203649