openbsd-ports/editors/openoffice/patches/patch-solenv_bin_mapgen_pl
robert ea9d172be4 Import of OpenOffice.Org version 2.0.3m179.
OpenOffice is an Open Source, community-developed, multi-platform office
productivity suite. It includes the key desktop applications, such as a
word processor, spreadsheet, presentation manager, and drawing program,
with a user interface and feature set similar to other office suites.
 
I would like to thank everyone who helped porting:
Peter Valchev, Kurt Miller, Dale Rahn, Ian Darwin and the OpenOffice.Org team.
 
This import is an explicit request by pvalchev@ and espie@.
This means that the current ports lock is still in effect and this import
is only a planned exception by the release managers.

This port is not yet connected to the builds.
 
okay pvalchev@, espie@
2006-08-17 14:56:21 +00:00

14 lines
805 B
Plaintext

$OpenBSD: patch-solenv_bin_mapgen_pl,v 1.1.1.1 2006/08/17 14:56:24 robert Exp $
--- solenv/bin/mapgen.pl.orig Thu Sep 8 00:10:44 2005
+++ solenv/bin/mapgen.pl Tue Aug 15 14:03:11 2006
@@ -143,7 +143,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, $_);
};