diff options
author | Rene Ladan <rene@FreeBSD.org> | 2014-02-28 10:23:09 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2014-02-28 10:23:09 +0000 |
commit | 81200ec6d85880adf248515c3d79402138f58b1b (patch) | |
tree | 38c5f1695238f93a5f24e2e4a99388460ee33419 /www/chromium | |
parent | 998d04687a535936c8e1948b24be5585b1d18c01 (diff) | |
download | ports-81200ec6d85880adf248515c3d79402138f58b1b.tar.gz ports-81200ec6d85880adf248515c3d79402138f58b1b.zip |
Notes
Diffstat (limited to 'www/chromium')
-rw-r--r-- | www/chromium/Makefile | 3 | ||||
-rw-r--r-- | www/chromium/files/patch-chrome__browser__extensions__api__music_manager_private__device_id_linux.cc | 8 |
2 files changed, 6 insertions, 5 deletions
diff --git a/www/chromium/Makefile b/www/chromium/Makefile index 7678657558c9..6265bc622722 100644 --- a/www/chromium/Makefile +++ b/www/chromium/Makefile @@ -6,6 +6,7 @@ PORTNAME= chromium DISTVERSIONPREFIX= courgette-redacted- DISTVERSION= 33.0.1750.117 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://commondatastorage.googleapis.com/chromium-browser-official/:testdata \ http://download.goodking.org/downloads/:browser \ @@ -46,7 +47,7 @@ RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:${PORTSDIR}/a ONLY_FOR_ARCHS= i386 amd64 USE_XZ= yes -USES= bison compiler:c++11-lang desktop-file-utils pkgconfig \ +USES= bison compiler:c++11-lib desktop-file-utils pkgconfig \ perl5 shebangfix ninja USE_PERL5= build USE_PYTHON_BUILD= 2 diff --git a/www/chromium/files/patch-chrome__browser__extensions__api__music_manager_private__device_id_linux.cc b/www/chromium/files/patch-chrome__browser__extensions__api__music_manager_private__device_id_linux.cc index 0b8519f4dbbd..fbacc011b063 100644 --- a/www/chromium/files/patch-chrome__browser__extensions__api__music_manager_private__device_id_linux.cc +++ b/www/chromium/files/patch-chrome__browser__extensions__api__music_manager_private__device_id_linux.cc @@ -1,5 +1,5 @@ ---- chrome/browser/extensions/api/music_manager_private/device_id_linux.cc.orig 2014-02-20 21:27:39.000000000 +0100 -+++ chrome/browser/extensions/api/music_manager_private/device_id_linux.cc 2014-02-25 00:17:02.000000000 +0100 +--- ./chrome/browser/extensions/api/music_manager_private/device_id_linux.cc.orig 2014-02-20 21:27:39.000000000 +0100 ++++ ./chrome/browser/extensions/api/music_manager_private/device_id_linux.cc 2014-02-28 11:05:01.000000000 +0100 @@ -4,6 +4,10 @@ #include "chrome/browser/extensions/api/music_manager_private/device_id.h" @@ -39,8 +39,8 @@ + } + } + -+ char* mac_address = nullptr; -+ strncpy(mac_address, (const char*)LLADDR((struct sockaddr_dl*)ifinfo->ifa_addr), 6); ++ char mac_address[6]; ++ strncpy(mac_address, (const char*)LLADDR((struct sockaddr_dl*)ifinfo->ifa_addr), sizeof(mac_address)); +#else + strncpy(ifinfo.ifr_name, ifaddr->ifa_name, sizeof(ifinfo.ifr_name) - 1); int sd = socket(AF_INET, SOCK_DGRAM, 0); |