drm /dev nodes with the linux names are going to be added with the old
names going away sometime later.  When libdrm is changed to use the new
names firefox will need this.  chromium does sandboxing better so
doesn't need a change like this.

I didn't find any use of /dev/drm inside the firefox source itself.

Index: mozilla-firefox/Makefile
===================================================================
RCS file: /cvs/ports/www/mozilla-firefox/Makefile,v
retrieving revision 1.449
diff -u -p -r1.449 Makefile
--- mozilla-firefox/Makefile    26 Jan 2021 15:52:58 -0000      1.449
+++ mozilla-firefox/Makefile    11 Feb 2021 23:23:18 -0000
@@ -9,6 +9,7 @@ MOZILLA_VERSION =       85.0
 MOZILLA_BRANCH =       release
 MOZILLA_PROJECT =      firefox
 MOZILLA_CODENAME =     browser
+REVISION =             0
 
 WRKDIST =      ${WRKDIR}/${MOZILLA_DIST}-${MOZILLA_DIST_VERSION:C/b[0-9]*//}
 HOMEPAGE =     https://www.mozilla.org/firefox/
Index: mozilla-firefox/files/unveil.content
===================================================================
RCS file: /cvs/ports/www/mozilla-firefox/files/unveil.content,v
retrieving revision 1.3
diff -u -p -r1.3 unveil.content
--- mozilla-firefox/files/unveil.content        13 Sep 2020 06:34:08 -0000      
1.3
+++ mozilla-firefox/files/unveil.content        11 Feb 2021 23:21:04 -0000
@@ -1,5 +1,6 @@
 # $OpenBSD: unveil.content,v 1.3 2020/09/13 06:34:08 landry Exp $
 /dev/drm0 rw
+/dev/dri/card0 rw
 
 /etc/fonts r
 /etc/machine-id r
Index: mozilla-firefox/files/unveil.gpu
===================================================================
RCS file: /cvs/ports/www/mozilla-firefox/files/unveil.gpu,v
retrieving revision 1.4
diff -u -p -r1.4 unveil.gpu
--- mozilla-firefox/files/unveil.gpu    15 Jan 2021 11:00:50 -0000      1.4
+++ mozilla-firefox/files/unveil.gpu    11 Feb 2021 23:21:22 -0000
@@ -1,5 +1,6 @@
 # $OpenBSD: unveil.gpu,v 1.4 2021/01/15 11:00:50 sthen Exp $
 /dev/drm0 rw
+/dev/dri/card0 rw
 
 /usr/local/lib/firefox r
 /usr/local/lib/gdk-pixbuf-2.0 r
Index: mozilla-firefox/files/unveil.main
===================================================================
RCS file: /cvs/ports/www/mozilla-firefox/files/unveil.main,v
retrieving revision 1.7
diff -u -p -r1.7 unveil.main
--- mozilla-firefox/files/unveil.main   15 Jan 2021 11:00:50 -0000      1.7
+++ mozilla-firefox/files/unveil.main   11 Feb 2021 23:21:48 -0000
@@ -6,6 +6,7 @@
 /dev/fido rw
 # for webgl info in about:support
 /dev/drm0 rw
+/dev/dri/card0 rw
 /usr/lib r
 
 /etc/fonts r
Index: firefox-esr/Makefile
===================================================================
RCS file: /cvs/ports/www/firefox-esr/Makefile,v
retrieving revision 1.141
diff -u -p -r1.141 Makefile
--- firefox-esr/Makefile        26 Jan 2021 15:54:32 -0000      1.141
+++ firefox-esr/Makefile        11 Feb 2021 23:24:51 -0000
@@ -8,6 +8,7 @@ MOZILLA_BRANCH =        release
 MOZILLA_PROJECT =      firefox-esr
 MOZILLA_CODENAME =     browser
 MOZILLA_DIST =         firefox
+REVISION =             0
 
 WRKDIST =      ${WRKDIR}/${MOZILLA_DIST}-${MOZILLA_DIST_VERSION:C/esr//}
 HOMEPAGE =     https://www.mozilla.org/firefox/organizations/
Index: firefox-esr/files/unveil.content
===================================================================
RCS file: /cvs/ports/www/firefox-esr/files/unveil.content,v
retrieving revision 1.2
diff -u -p -r1.2 unveil.content
--- firefox-esr/files/unveil.content    25 Aug 2020 13:19:08 -0000      1.2
+++ firefox-esr/files/unveil.content    11 Feb 2021 23:24:20 -0000
@@ -1,5 +1,6 @@
 # $OpenBSD: unveil.content,v 1.2 2020/08/25 13:19:08 landry Exp $
 /dev/drm0 rw
+/dev/dri/card0 rw
 
 /etc/fonts r
 /etc/machine-id r
Index: firefox-esr/files/unveil.gpu
===================================================================
RCS file: /cvs/ports/www/firefox-esr/files/unveil.gpu,v
retrieving revision 1.2
diff -u -p -r1.2 unveil.gpu
--- firefox-esr/files/unveil.gpu        15 Jan 2021 11:00:50 -0000      1.2
+++ firefox-esr/files/unveil.gpu        11 Feb 2021 23:24:28 -0000
@@ -1,5 +1,6 @@
 # $OpenBSD: unveil.gpu,v 1.2 2021/01/15 11:00:50 sthen Exp $
 /dev/drm0 rw
+/dev/dri/card0 rw
 
 /usr/local/lib/firefox-esr r
 /usr/local/lib/gdk-pixbuf-2.0 r
Index: tor-browser/browser/Makefile
===================================================================
RCS file: /cvs/ports/www/tor-browser/browser/Makefile,v
retrieving revision 1.57
diff -u -p -r1.57 Makefile
--- tor-browser/browser/Makefile        31 Jan 2021 11:54:21 -0000      1.57
+++ tor-browser/browser/Makefile        11 Feb 2021 23:26:04 -0000
@@ -11,7 +11,7 @@ MOZILLA_PROJECT =     ${BROWSER_NAME}
 MOZILLA_CODENAME =     browser
 TL_VERSION =           0.2.26
 HE_VERSION =           2020.11.17
-REVISION =             0
+REVISION =             1
 
 EXTRACT_SUFX =         .tar.xz
 PATCHORIG =            .pat.orig
Index: tor-browser/browser/files/unveil.content
===================================================================
RCS file: /cvs/ports/www/tor-browser/browser/files/unveil.content,v
retrieving revision 1.1
diff -u -p -r1.1 unveil.content
--- tor-browser/browser/files/unveil.content    23 Oct 2020 07:04:09 -0000      
1.1
+++ tor-browser/browser/files/unveil.content    11 Feb 2021 23:25:33 -0000
@@ -1,5 +1,6 @@
 # $OpenBSD: unveil.content,v 1.1 2020/10/23 07:04:09 landry Exp $
 /dev/drm0 rw
+/dev/dri/card0 rw
 
 /etc/fonts r
 /etc/machine-id r
Index: tor-browser/browser/files/unveil.gpu
===================================================================
RCS file: /cvs/ports/www/tor-browser/browser/files/unveil.gpu,v
retrieving revision 1.2
diff -u -p -r1.2 unveil.gpu
--- tor-browser/browser/files/unveil.gpu        15 Jan 2021 11:00:50 -0000      
1.2
+++ tor-browser/browser/files/unveil.gpu        11 Feb 2021 23:25:38 -0000
@@ -1,5 +1,6 @@
 # $OpenBSD: unveil.gpu,v 1.2 2021/01/15 11:00:50 sthen Exp $
 /dev/drm0 rw
+/dev/dri/card0 rw
 
 /usr/local/lib/tor-browser r
 /usr/local/lib/gdk-pixbuf-2.0 r

Reply via email to