File: 1002_find_syntax.patch

package info (click to toggle)
emscripten 3.1.69%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 121,860 kB
  • sloc: ansic: 636,110; cpp: 425,974; javascript: 78,401; python: 58,404; sh: 49,154; pascal: 5,237; makefile: 3,366; asm: 2,415; lisp: 1,869
file content (31 lines) | stat: -rw-r--r-- 1,370 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Description: avoid obsolete GNU-specific find syntax
 The syntax "find -perm +222" was a GNU extension
 which was dropped since findutils 4.5.11.
Author: Jonas Smedegaard <dr@jones.dk>
Bug: https://github.com/emscripten-core/emscripten/issues/12802
Bug-Debian: https://bugs.debian.org/803028
Last-Update: 2020-10-13
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/test/third_party/freealut/Makefile.am
+++ b/test/third_party/freealut/Makefile.am
@@ -33,7 +33,7 @@
 
 # The Creative repository has some broken permissions, let's fix this.
 permissions:
-	find . -type f \! -perm +222 \! -name "*.sh" -exec chmod +w {} \;
+	find . -type f \! -perm /222 \! -name "*.sh" -exec chmod +w {} \;
 
 # Automatically reformat all C headers and sources with indent according to
 # admin/autotools/.indent.pro, but be make-friendly and take some precautions to
--- a/test/third_party/freealut/Makefile.in
+++ b/test/third_party/freealut/Makefile.in
@@ -663,7 +663,7 @@
 
 # The Creative repository has some broken permissions, let's fix this.
 permissions:
-	find . -type f \! -perm +222 \! -name "*.sh" -exec chmod +w {} \;
+	find . -type f \! -perm /222 \! -name "*.sh" -exec chmod +w {} \;
 
 # Automatically reformat all C headers and sources with indent according to
 # admin/autotools/.indent.pro, but be make-friendly and take some precautions to