Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 353792 Details for
Bug 467436
[gcc 4.8] dev-ruby/rqr-0.2.2 fails to build
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
GCC 4.8 patch
rqr-0.2.2-gcc48.patch (text/plain), 1008 bytes, created by
Mark Loeser (RETIRED)
on 2013-07-21 20:59:21 UTC
(
hide
)
Description:
GCC 4.8 patch
Filename:
MIME Type:
Creator:
Mark Loeser (RETIRED)
Created:
2013-07-21 20:59:21 UTC
Size:
1008 bytes
patch
obsolete
>diff -ur rqr-0.2.2/all/rqr-0.2.2/ext/rqr/qr_draw_png.cpp rqr-0.2.2-patch/all/rqr-0.2.2/ext/rqr/qr_draw_png.cpp >--- rqr-0.2.2/all/rqr-0.2.2/ext/rqr/qr_draw_png.cpp 2013-07-21 16:49:42.304114836 -0400 >+++ rqr-0.2.2-patch/all/rqr-0.2.2/ext/rqr/qr_draw_png.cpp 2013-07-21 16:50:33.488195705 -0400 >@@ -33,7 +33,7 @@ > bit_image = (unsigned char **)malloc(sizeof(unsigned char *) * this->rsize); > for(int i=0; i<this->rsize; i++){ > bit_image[i] = (unsigned char *)malloc(bitw); >- memset(bit_image[i], 0, bitw); >+ std::memset(bit_image[i], 0, bitw); > } > > for(int i=0; i<this->ssize; i++){ >diff -ur rqr-0.2.2/all/rqr-0.2.2/ext/rqr/qr_draw_png.h rqr-0.2.2-patch/all/rqr-0.2.2/ext/rqr/qr_draw_png.h >--- rqr-0.2.2/all/rqr-0.2.2/ext/rqr/qr_draw_png.h 2013-07-21 16:49:42.304114836 -0400 >+++ rqr-0.2.2-patch/all/rqr-0.2.2/ext/rqr/qr_draw_png.h 2013-07-21 16:51:11.593000307 -0400 >@@ -3,6 +3,7 @@ > > #include <stdlib.h> > #include <math.h> >+#include <cstring> > #include "qr_draw.h" > > #ifdef USE_PNG
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 467436
: 353792