14 lines
806 B
Plaintext
14 lines
806 B
Plaintext
$OpenBSD: patch-solenv_bin_mapgen_pl,v 1.3 2010/06/26 15:48:12 robert Exp $
|
|
--- solenv/bin/mapgen.pl.orig.port Wed May 26 20:30:08 2010
|
|
+++ solenv/bin/mapgen.pl Fri Jun 25 23:56:14 2010
|
|
@@ -135,7 +135,8 @@ sub filter_symbols {
|
|
$env_section = '1' and next if ((/^# SOLARIS #$/) && ($ENV{OS} eq 'SOLARIS'));
|
|
$env_section = '1' and next if ((/^# LINUX #$/) && ($ENV{OS} eq 'LINUX'));
|
|
$env_section = '1' and next if ((/^# FREEBSD #$/) && ($ENV{OS} eq 'FREEBSD'));
|
|
- last if ($env_section && ((/^# SOLARIS #$/) || (/^# FREEBSD #$/) || (/^# LINUX #$/)));
|
|
+ $env_section = '1' and next if ((/^# OPENBSD #$/) && ($ENV{OS} eq 'OPENBSD'));
|
|
+ last if ($env_section && ((/^# SOLARIS #$/) || (/^# FREEBSD #$/) || (/^# OPENBSD #$/) || (/^# LINUX #$/)));
|
|
next if (!$_ || /^#/);
|
|
push(@filters, $_);
|
|
};
|