1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00

- Add two patches

This commit is contained in:
Sergey Matveychuk 2007-02-26 12:59:16 +00:00
parent dad8acacbd
commit eb1085d1bc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=185983
3 changed files with 62 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= portupgrade-devel
PORTVERSION= 2.2.5
PORTREVISION= 1
CATEGORIES= ports-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= portupgrade

View File

@ -0,0 +1,26 @@
Index: bin/pkgdb
===================================================================
RCS file: /cvsroot/portupgrade/pkgtools/bin/pkgdb,v
retrieving revision 1.9.2.3
retrieving revision 1.9.2.4
diff -u -r1.9.2.3 -r1.9.2.4
--- bin/pkgdb 26 Feb 2007 10:00:40 -0000 1.9.2.3
+++ bin/pkgdb 26 Feb 2007 12:52:26 -0000 1.9.2.4
@@ -30,7 +30,7 @@
#
MYREVISION = %w$Rev: 52 $[1]
-MYDATE = %w$Date: 2007/02/26 10:00:40 $[1]
+MYDATE = %w$Date: 2007/02/26 12:52:26 $[1]
MYNAME = File.basename($0)
require "optparse"
@@ -154,7 +154,7 @@
}
opts.def_option("-O", "--omit-check", "Specified with -F, turn off checks#{NEXTLINE}dependencies against the ports tree. Useful#{NEXTLINE}if you need a speed-up") {
- $omit_check = false
+ |$omit_check|
}
opts.def_option("-Q", "--quiet", "Do not write anything to stdout;#{NEXTLINE}Specified twice, stderr neither") {

View File

@ -0,0 +1,35 @@
Index: lib/portsdb.rb
===================================================================
RCS file: /cvsroot/portupgrade/pkgtools/lib/portsdb.rb,v
retrieving revision 1.9.2.2
retrieving revision 1.9.2.3
diff -u -r1.9.2.2 -r1.9.2.3
--- lib/portsdb.rb 24 Feb 2007 12:32:11 -0000 1.9.2.2
+++ lib/portsdb.rb 26 Feb 2007 12:12:27 -0000 1.9.2.3
@@ -25,7 +25,7 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
-# $Id: portsdb.rb,v 1.9.2.2 2007/02/24 12:32:11 sem_prg Exp $
+# $Id: portsdb.rb,v 1.9.2.3 2007/02/26 12:12:27 sem_prg Exp $
require 'singleton'
require 'tempfile'
@@ -43,15 +43,15 @@
DB_VERSION = [:FreeBSD, 3]
LANGUAGE_SPECIFIC_CATEGORIES = {
+ "arabic" => "ar-",
"chinese" => "zh-",
"french" => "fr-",
"german" => "de-",
"hebrew" => "iw-",
"hungarian" => "hu-",
"japanese" => "ja-",
- "polish" => "pl-",
- "portuguese" => "pt-",
"korean" => "ko-",
+ "polish" => "pl-",
"portuguese" => "pt-",
"russian" => "ru-",
"ukrainian" => "uk-",