diff options
| author | Vineet Kumar <git@vineetk.net> | 2026-06-15 14:54:51 -0400 |
|---|---|---|
| committer | Vineet Kumar <git@vineetk.net> | 2026-06-15 14:54:51 -0400 |
| commit | e81f04fa53e7e01afdc834d9c22b5c982c98f59b (patch) | |
| tree | 763d6d68516ca9d184ddd2402978adcc4027a99d /lang/ruby/3.2/patches/patch-lib_fileutils_rb | |
| parent | 92e45e47c29ec037842c4a34ebc0c14143d413ff (diff) | |
This is due to the following two reasons:
1. it's very out of date compared with current ports tree (like by 2+
years!)
- some of the ports here were mainly just updates I didn't upstream,
which have since now been part of openbsd, like verilator
2. removing dependencies is a lot of headache to stay in sync and/or for
ports I no longer use
- e.g. dbus is very difficult to remove in a desktop while patching
to remove from gtk and downstream
- I don't want to spend more time reducing number of dependencies
when I can be working instead. I no longer have as much free time
as I did in high school :(
Diffstat (limited to 'lang/ruby/3.2/patches/patch-lib_fileutils_rb')
| -rw-r--r-- | lang/ruby/3.2/patches/patch-lib_fileutils_rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/lang/ruby/3.2/patches/patch-lib_fileutils_rb b/lang/ruby/3.2/patches/patch-lib_fileutils_rb deleted file mode 100644 index aef98f9..0000000 --- a/lang/ruby/3.2/patches/patch-lib_fileutils_rb +++ /dev/null | |||
| @@ -1,16 +0,0 @@ | |||
| 1 | Make FileUtils.mkdir_p act more like mkdir(1) -p, by not attempting | ||
| 2 | to create directories that already exist. This fixes systrace | ||
| 3 | warnings when building ports. | ||
| 4 | |||
| 5 | Index: lib/fileutils.rb | ||
| 6 | --- lib/fileutils.rb.orig | ||
| 7 | +++ lib/fileutils.rb | ||
| 8 | @@ -381,7 +381,7 @@ module FileUtils | ||
| 9 | end | ||
| 10 | stack.reverse_each do |dir| | ||
| 11 | begin | ||
| 12 | - fu_mkdir dir, mode | ||
| 13 | + fu_mkdir dir, mode unless File.directory?(dir) | ||
| 14 | rescue SystemCallError | ||
| 15 | raise unless File.directory?(dir) | ||
| 16 | end | ||
