diff options
Diffstat (limited to 'community')
-rw-r--r-- | community/autocutsel/autocutsel.sh | 2 | ||||
-rw-r--r-- | community/gambas2/gambas2.desktop | 13 | ||||
-rw-r--r-- | community/gambas2/gambas2.png | bin | 1965 -> 0 bytes | |||
-rw-r--r-- | community/llvm/clang-2.8-alignOf.patch | 199 | ||||
-rw-r--r-- | community/llvm/clang-2.8-cindexer-clang-path.patch | 13 | ||||
-rw-r--r-- | community/llvm/cpp-headers.patch | 17 | ||||
-rw-r--r-- | community/llvm/llvm-2.8-alignOf.patch | 59 | ||||
-rw-r--r-- | community/rawstudio/rawstudio-const.patch | 12 | ||||
-rw-r--r-- | community/ruby-pango/mkmf-gnome2.patch | 19 | ||||
-rw-r--r-- | community/teeworlds/fix_datadir_search.patch | 36 | ||||
-rw-r--r-- | community/vifm/ncurses58.patch | 140 | ||||
-rw-r--r-- | community/xnee/ChangeLog | 2 |
12 files changed, 0 insertions, 512 deletions
diff --git a/community/autocutsel/autocutsel.sh b/community/autocutsel/autocutsel.sh deleted file mode 100644 index 82fe19124..000000000 --- a/community/autocutsel/autocutsel.sh +++ /dev/null @@ -1,2 +0,0 @@ -autocutsel -fork & -autocutsel -selection PRIMARY -fork & diff --git a/community/gambas2/gambas2.desktop b/community/gambas2/gambas2.desktop deleted file mode 100644 index 40968158f..000000000 --- a/community/gambas2/gambas2.desktop +++ /dev/null @@ -1,13 +0,0 @@ - -[Desktop Entry] -Name=Gambas2 -Exec=gambas2 -Icon=/usr/share/pixmaps/gambas2.png -Terminal=false -X-MultipleArgs=false -Type=Application -Categories=Application;Development; -Encoding=UTF-8 -StartupNotify=true - -GenericName= diff --git a/community/gambas2/gambas2.png b/community/gambas2/gambas2.png Binary files differdeleted file mode 100644 index e7baa8699..000000000 --- a/community/gambas2/gambas2.png +++ /dev/null diff --git a/community/llvm/clang-2.8-alignOf.patch b/community/llvm/clang-2.8-alignOf.patch deleted file mode 100644 index 77aa5219a..000000000 --- a/community/llvm/clang-2.8-alignOf.patch +++ /dev/null @@ -1,199 +0,0 @@ -Index: lib/Basic/IdentifierTable.cpp -=================================================================== ---- lib/Basic/IdentifierTable.cpp (revision 117774) -+++ lib/Basic/IdentifierTable.cpp (revision 117775) -@@ -390,7 +390,7 @@ - unsigned Size = sizeof(MultiKeywordSelector) + nKeys*sizeof(IdentifierInfo *); - MultiKeywordSelector *SI = - (MultiKeywordSelector*)SelTabImpl.Allocator.Allocate(Size, -- llvm::alignof<MultiKeywordSelector>()); -+ llvm::alignOf<MultiKeywordSelector>()); - new (SI) MultiKeywordSelector(nKeys, IIV); - SelTabImpl.Table.InsertNode(SI, InsertPos); - return Selector(SI); -Index: lib/AST/ExprCXX.cpp -=================================================================== ---- lib/AST/ExprCXX.cpp (revision 117774) -+++ lib/AST/ExprCXX.cpp (revision 117775) -@@ -233,7 +233,7 @@ - if (NumTemplateArgs != 0) - size += ExplicitTemplateArgumentList::sizeFor(NumTemplateArgs); - -- void *Mem = C.Allocate(size, llvm::alignof<UnresolvedLookupExpr>()); -+ void *Mem = C.Allocate(size, llvm::alignOf<UnresolvedLookupExpr>()); - UnresolvedLookupExpr *E = new (Mem) UnresolvedLookupExpr(EmptyShell()); - E->HasExplicitTemplateArgs = NumTemplateArgs != 0; - return E; -@@ -261,7 +261,7 @@ - if (NumResults) { - Results = static_cast<DeclAccessPair *>( - C.Allocate(sizeof(DeclAccessPair) * NumResults, -- llvm::alignof<DeclAccessPair>())); -+ llvm::alignOf<DeclAccessPair>())); - memcpy(Results, &*Begin.getIterator(), - NumResults * sizeof(DeclAccessPair)); - } -@@ -737,7 +737,7 @@ - if (TemplateArgs) - size += ExplicitTemplateArgumentList::sizeFor(*TemplateArgs); - -- void *Mem = C.Allocate(size, llvm::alignof<CXXDependentScopeMemberExpr>()); -+ void *Mem = C.Allocate(size, llvm::alignOf<CXXDependentScopeMemberExpr>()); - return new (Mem) CXXDependentScopeMemberExpr(C, Base, BaseType, - IsArrow, OperatorLoc, - Qualifier, QualifierRange, -@@ -756,7 +756,7 @@ - - std::size_t size = sizeof(CXXDependentScopeMemberExpr) + - ExplicitTemplateArgumentList::sizeFor(NumTemplateArgs); -- void *Mem = C.Allocate(size, llvm::alignof<CXXDependentScopeMemberExpr>()); -+ void *Mem = C.Allocate(size, llvm::alignOf<CXXDependentScopeMemberExpr>()); - CXXDependentScopeMemberExpr *E - = new (Mem) CXXDependentScopeMemberExpr(C, 0, QualType(), - 0, SourceLocation(), 0, -@@ -812,7 +812,7 @@ - if (TemplateArgs) - size += ExplicitTemplateArgumentList::sizeFor(*TemplateArgs); - -- void *Mem = C.Allocate(size, llvm::alignof<UnresolvedMemberExpr>()); -+ void *Mem = C.Allocate(size, llvm::alignOf<UnresolvedMemberExpr>()); - return new (Mem) UnresolvedMemberExpr(C, - Dependent ? C.DependentTy : C.OverloadTy, - Dependent, HasUnresolvedUsing, Base, BaseType, -@@ -826,7 +826,7 @@ - if (NumTemplateArgs != 0) - size += ExplicitTemplateArgumentList::sizeFor(NumTemplateArgs); - -- void *Mem = C.Allocate(size, llvm::alignof<UnresolvedMemberExpr>()); -+ void *Mem = C.Allocate(size, llvm::alignOf<UnresolvedMemberExpr>()); - UnresolvedMemberExpr *E = new (Mem) UnresolvedMemberExpr(EmptyShell()); - E->HasExplicitTemplateArgs = NumTemplateArgs != 0; - return E; -Index: lib/AST/DeclObjC.cpp -=================================================================== ---- lib/AST/DeclObjC.cpp (revision 117774) -+++ lib/AST/DeclObjC.cpp (revision 117775) -@@ -711,7 +711,7 @@ - void ObjCClassDecl::setClassList(ASTContext &C, ObjCInterfaceDecl*const*List, - const SourceLocation *Locs, unsigned Num) { - ForwardDecls = (ObjCClassRef*) C.Allocate(sizeof(ObjCClassRef)*Num, -- llvm::alignof<ObjCClassRef>()); -+ llvm::alignOf<ObjCClassRef>()); - for (unsigned i = 0; i < Num; ++i) - new (&ForwardDecls[i]) ObjCClassRef(List[i], Locs[i]); - -Index: lib/AST/Stmt.cpp -=================================================================== ---- lib/AST/Stmt.cpp (revision 117774) -+++ lib/AST/Stmt.cpp (revision 117775) -@@ -416,7 +416,7 @@ - Stmt *atFinallyStmt) { - unsigned Size = sizeof(ObjCAtTryStmt) + - (1 + NumCatchStmts + (atFinallyStmt != 0)) * sizeof(Stmt *); -- void *Mem = Context.Allocate(Size, llvm::alignof<ObjCAtTryStmt>()); -+ void *Mem = Context.Allocate(Size, llvm::alignOf<ObjCAtTryStmt>()); - return new (Mem) ObjCAtTryStmt(atTryLoc, atTryStmt, CatchStmts, NumCatchStmts, - atFinallyStmt); - } -@@ -426,7 +426,7 @@ - bool HasFinally) { - unsigned Size = sizeof(ObjCAtTryStmt) + - (1 + NumCatchStmts + HasFinally) * sizeof(Stmt *); -- void *Mem = Context.Allocate(Size, llvm::alignof<ObjCAtTryStmt>()); -+ void *Mem = Context.Allocate(Size, llvm::alignOf<ObjCAtTryStmt>()); - return new (Mem) ObjCAtTryStmt(EmptyShell(), NumCatchStmts, HasFinally); - } - -@@ -448,7 +448,7 @@ - std::size_t Size = sizeof(CXXTryStmt); - Size += ((numHandlers + 1) * sizeof(Stmt)); - -- void *Mem = C.Allocate(Size, llvm::alignof<CXXTryStmt>()); -+ void *Mem = C.Allocate(Size, llvm::alignOf<CXXTryStmt>()); - return new (Mem) CXXTryStmt(tryLoc, tryBlock, handlers, numHandlers); - } - -@@ -457,7 +457,7 @@ - std::size_t Size = sizeof(CXXTryStmt); - Size += ((numHandlers + 1) * sizeof(Stmt)); - -- void *Mem = C.Allocate(Size, llvm::alignof<CXXTryStmt>()); -+ void *Mem = C.Allocate(Size, llvm::alignOf<CXXTryStmt>()); - return new (Mem) CXXTryStmt(Empty, numHandlers); - } - -Index: lib/AST/Expr.cpp -=================================================================== ---- lib/AST/Expr.cpp (revision 117774) -+++ lib/AST/Expr.cpp (revision 117775) -@@ -257,7 +257,7 @@ - if (TemplateArgs) - Size += ExplicitTemplateArgumentList::sizeFor(*TemplateArgs); - -- void *Mem = Context.Allocate(Size, llvm::alignof<DeclRefExpr>()); -+ void *Mem = Context.Allocate(Size, llvm::alignOf<DeclRefExpr>()); - return new (Mem) DeclRefExpr(Qualifier, QualifierRange, D, NameInfo, - TemplateArgs, T); - } -@@ -271,7 +271,7 @@ - if (NumTemplateArgs) - Size += ExplicitTemplateArgumentList::sizeFor(NumTemplateArgs); - -- void *Mem = Context.Allocate(Size, llvm::alignof<DeclRefExpr>()); -+ void *Mem = Context.Allocate(Size, llvm::alignOf<DeclRefExpr>()); - return new (Mem) DeclRefExpr(EmptyShell()); - } - -@@ -432,7 +432,7 @@ - // any concatenated string tokens. - void *Mem = C.Allocate(sizeof(StringLiteral)+ - sizeof(SourceLocation)*(NumStrs-1), -- llvm::alignof<StringLiteral>()); -+ llvm::alignOf<StringLiteral>()); - StringLiteral *SL = new (Mem) StringLiteral(Ty); - - // OPTIMIZE: could allocate this appended to the StringLiteral. -@@ -452,7 +452,7 @@ - StringLiteral *StringLiteral::CreateEmpty(ASTContext &C, unsigned NumStrs) { - void *Mem = C.Allocate(sizeof(StringLiteral)+ - sizeof(SourceLocation)*(NumStrs-1), -- llvm::alignof<StringLiteral>()); -+ llvm::alignOf<StringLiteral>()); - StringLiteral *SL = new (Mem) StringLiteral(QualType()); - SL->StrData = 0; - SL->ByteLength = 0; -@@ -714,7 +714,7 @@ - if (targs) - Size += ExplicitTemplateArgumentList::sizeFor(*targs); - -- void *Mem = C.Allocate(Size, llvm::alignof<MemberExpr>()); -+ void *Mem = C.Allocate(Size, llvm::alignOf<MemberExpr>()); - MemberExpr *E = new (Mem) MemberExpr(base, isarrow, memberdecl, nameinfo, ty); - - if (hasQualOrFound) { -Index: lib/AST/DeclCXX.cpp -=================================================================== ---- lib/AST/DeclCXX.cpp (revision 117774) -+++ lib/AST/DeclCXX.cpp (revision 117775) -@@ -1057,7 +1057,7 @@ - unsigned NumIndices) { - void *Mem = Context.Allocate(sizeof(CXXBaseOrMemberInitializer) + - sizeof(VarDecl *) * NumIndices, -- llvm::alignof<CXXBaseOrMemberInitializer>()); -+ llvm::alignOf<CXXBaseOrMemberInitializer>()); - return new (Mem) CXXBaseOrMemberInitializer(Context, Member, MemberLoc, - L, Init, R, Indices, NumIndices); - } -Index: lib/Lex/TokenLexer.cpp -=================================================================== ---- lib/Lex/TokenLexer.cpp (revision 117774) -+++ lib/Lex/TokenLexer.cpp (revision 117775) -@@ -287,7 +287,7 @@ - llvm::BumpPtrAllocator &Alloc = PP.getPreprocessorAllocator(); - Token *Res = - static_cast<Token *>(Alloc.Allocate(sizeof(Token)*ResultToks.size(), -- llvm::alignof<Token>())); -+ llvm::alignOf<Token>())); - if (NumTokens) - memcpy(Res, &ResultToks[0], NumTokens*sizeof(Token)); - Tokens = Res; diff --git a/community/llvm/clang-2.8-cindexer-clang-path.patch b/community/llvm/clang-2.8-cindexer-clang-path.patch deleted file mode 100644 index e283009e9..000000000 --- a/community/llvm/clang-2.8-cindexer-clang-path.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -upr clang-2.8.orig/tools/libclang/CIndexer.cpp clang-2.8/tools/libclang/CIndexer.cpp ---- clang-2.8.orig/tools/libclang/CIndexer.cpp 2010-05-27 23:16:37.000000000 +0300 -+++ clang-2.8/tools/libclang/CIndexer.cpp 2011-02-11 01:14:20.000000000 +0200 -@@ -68,7 +68,8 @@ const llvm::sys::Path& CIndexer::getClan - - // We now have the CIndex directory, locate clang relative to it. - CIndexPath.eraseComponent(); -- CIndexPath.appendComponent(".."); -+ CIndexPath.eraseComponent(); -+ CIndexPath.eraseComponent(); - CIndexPath.appendComponent("bin"); - CIndexPath.appendComponent("clang"); - #endif diff --git a/community/llvm/cpp-headers.patch b/community/llvm/cpp-headers.patch deleted file mode 100644 index 7e32a3f5b..000000000 --- a/community/llvm/cpp-headers.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff -uprb clang-2.7.orig/lib/Frontend/InitHeaderSearch.cpp clang-2.7/lib/Frontend/InitHeaderSearch.cpp ---- clang-2.7.orig/lib/Frontend/InitHeaderSearch.cpp 2010-03-06 21:38:10.000000000 +0200 -+++ clang-2.7/lib/Frontend/InitHeaderSearch.cpp 2010-04-30 19:05:24.000000000 +0300 -@@ -539,10 +539,10 @@ void InitHeaderSearch::AddDefaultCPlusPl - "i586-suse-linux", "", "", triple); - AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.4", - "x86_64-suse-linux", "", "", triple); -- // Arch Linux 2008-06-24 -- AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.3.1", -+ // Arch Linux 2010-12-17 -+ AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.5.2", - "i686-pc-linux-gnu", "", "", triple); -- AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.3.1", -+ AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.5.2", - "x86_64-unknown-linux-gnu", "", "", triple); - // Gentoo x86 2009.1 stable - AddGnuCPlusPlusIncludePaths( diff --git a/community/llvm/llvm-2.8-alignOf.patch b/community/llvm/llvm-2.8-alignOf.patch deleted file mode 100644 index d48c10cd9..000000000 --- a/community/llvm/llvm-2.8-alignOf.patch +++ /dev/null @@ -1,59 +0,0 @@ -Index: include/llvm/ADT/StringMap.h -=================================================================== ---- include/llvm/ADT/StringMap.h (revision 117773) -+++ include/llvm/ADT/StringMap.h (revision 117774) -@@ -167,7 +167,7 @@ - - unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+ - KeyLength+1; -- unsigned Alignment = alignof<StringMapEntry>(); -+ unsigned Alignment = alignOf<StringMapEntry>(); - - StringMapEntry *NewItem = - static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment)); -Index: include/llvm/Support/AlignOf.h -=================================================================== ---- include/llvm/Support/AlignOf.h (revision 117773) -+++ include/llvm/Support/AlignOf.h (revision 117774) -@@ -49,12 +49,12 @@ - - }; - --/// alignof - A templated function that returns the mininum alignment of -+/// alignOf - A templated function that returns the mininum alignment of - /// of a type. This provides no extra functionality beyond the AlignOf - /// class besides some cosmetic cleanliness. Example usage: --/// alignof<int>() returns the alignment of an int. -+/// alignOf<int>() returns the alignment of an int. - template <typename T> --static inline unsigned alignof() { return AlignOf<T>::Alignment; } -+static inline unsigned alignOf() { return AlignOf<T>::Alignment; } - - } // end namespace llvm - #endif -Index: include/llvm/Support/Allocator.h -=================================================================== ---- include/llvm/Support/Allocator.h (revision 117773) -+++ include/llvm/Support/Allocator.h (revision 117774) -@@ -201,7 +201,7 @@ - char *End = Slab == Allocator.CurSlab ? Allocator.CurPtr : - (char *)Slab + Slab->Size; - for (char *Ptr = (char*)(Slab+1); Ptr < End; Ptr += sizeof(T)) { -- Ptr = Allocator.AlignPtr(Ptr, alignof<T>()); -+ Ptr = Allocator.AlignPtr(Ptr, alignOf<T>()); - if (Ptr + sizeof(T) <= End) - reinterpret_cast<T*>(Ptr)->~T(); - } -Index: include/llvm/CodeGen/SlotIndexes.h -=================================================================== ---- include/llvm/CodeGen/SlotIndexes.h (revision 117773) -+++ include/llvm/CodeGen/SlotIndexes.h (revision 117774) -@@ -393,7 +393,7 @@ - IndexListEntry *entry = - static_cast<IndexListEntry*>( - ileAllocator.Allocate(sizeof(IndexListEntry), -- alignof<IndexListEntry>())); -+ alignOf<IndexListEntry>())); - - new (entry) IndexListEntry(mi, index); - diff --git a/community/rawstudio/rawstudio-const.patch b/community/rawstudio/rawstudio-const.patch deleted file mode 100644 index 00332fe88..000000000 --- a/community/rawstudio/rawstudio-const.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Nur rawstudio-1.2.orig/src/dcraw.cc rawstudio-1.2/src/dcraw.cc ---- rawstudio-1.2.orig/src/dcraw.cc 2009-04-10 00:21:45.000000000 +0300 -+++ rawstudio-1.2/src/dcraw.cc 2009-07-16 00:05:28.169155134 +0300 -@@ -8510,7 +8510,7 @@ - argv[argc] = ""; - for (arg=1; (((opm = argv[arg][0]) - 2) | 2) == '+'; ) { - opt = argv[arg++][1]; -- if ((cp = strchr (sp="nbrkStqmHACg", opt))) -+ if ((cp = (char *)strchr (sp="nbrkStqmHACg", opt))) - for (i=0; i < "114111111422"[cp-sp]-'0'; i++) - if (!isdigit(argv[arg+i][0])) { - dcraw_message (DCRAW_ERROR,_("Non-numeric argument to \"-%c\"\n"), opt); diff --git a/community/ruby-pango/mkmf-gnome2.patch b/community/ruby-pango/mkmf-gnome2.patch deleted file mode 100644 index a03ab9e4c..000000000 --- a/community/ruby-pango/mkmf-gnome2.patch +++ /dev/null @@ -1,19 +0,0 @@ -*** mkmf-gnome2.rb.orig 2011-02-21 12:41:16.563334382 -0600 ---- mkmf-gnome2.rb 2011-02-21 12:41:37.610001048 -0600 -*************** -*** 364,370 **** - rescue LoadError - end - end -! return false if rcairo_source_dir.nil? - - if /mingw|cygwin|mswin32/ =~ RUBY_PLATFORM - options = {} ---- 364,370 ---- - rescue LoadError - end - end -! return false if rcairo_source_dir.nil? && !(PKGConfig.have_package('cairo') && have_header('rb_cairo.h')) - - if /mingw|cygwin|mswin32/ =~ RUBY_PLATFORM - options = {} diff --git a/community/teeworlds/fix_datadir_search.patch b/community/teeworlds/fix_datadir_search.patch deleted file mode 100644 index 19a4ae1e5..000000000 --- a/community/teeworlds/fix_datadir_search.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff -r 9582fcee983b -r c1502459a920 src/engine/e_engine.c ---- a/src/engine/e_engine.c Sun Feb 01 20:50:22 2009 +0100 -+++ b/src/engine/e_engine.c Sun Feb 01 21:37:17 2009 +0100 -@@ -539,14 +539,15 @@ - } - - /* 2) use data-dir in PWD if present */ -- if(fs_is_dir("data")) -+ /* test subdir "/mapres" to reject unrelated "data" dir in PWD */ -+ if(fs_is_dir("data/mapres")) - { - strcpy(datadir, "data"); - return 0; - } - - /* 3) use compiled-in data-dir if present */ -- if (fs_is_dir(DATA_DIR)) -+ if (fs_is_dir(DATA_DIR "/mapres")) - { - strcpy(datadir, DATA_DIR); - return 0; -@@ -572,9 +573,11 @@ - /* 5) check for all default locations */ - { - const char *sdirs[] = { -- "/usr/share/teeworlds", -- "/usr/local/share/teeworlds" -- "/opt/teeworlds" -+ "/usr/share/teeworlds/data", -+ "/usr/share/games/teeworlds/data", -+ "/usr/local/share/teeworlds/data", -+ "/usr/local/share/games/teeworlds/data", -+ "/opt/teeworlds/data" - }; - const int sdirs_count = sizeof(sdirs) / sizeof(sdirs[0]); - diff --git a/community/vifm/ncurses58.patch b/community/vifm/ncurses58.patch deleted file mode 100644 index 68e85ca2f..000000000 --- a/community/vifm/ncurses58.patch +++ /dev/null @@ -1,140 +0,0 @@ -diff -aur vifm-0.5/src/keys.c vifm-0.5-new//src/keys.c ---- vifm-0.5/src/keys.c 2009-05-05 17:49:30.000000000 -0700 -+++ vifm-0.5-new//src/keys.c 2011-03-01 14:13:30.443352349 -0800 -@@ -721,7 +721,6 @@ - redrawwin(stat_win); - redrawwin(status_bar); - redrawwin(pos_win); -- redrawwin(lwin.title); - redrawwin(lwin.win); - redrawwin(num_win); - redrawwin(rborder); -@@ -740,7 +739,6 @@ - touchwin(num_win); - touchwin(rborder); - -- redrawwin(rwin.title); - redrawwin(rwin.win); - redrawwin(lborder); - redrawwin(stat_win); -@@ -768,10 +766,8 @@ - touchwin(num_win); - touchwin(rborder); - -- redrawwin(lwin.title); - redrawwin(lwin.win); - redrawwin(mborder); -- redrawwin(rwin.title); - redrawwin(rwin.win); - redrawwin(lborder); - redrawwin(stat_win); -diff -aur vifm-0.5/src/ui.c vifm-0.5-new//src/ui.c ---- vifm-0.5/src/ui.c 2009-08-27 07:07:03.000000000 -0700 -+++ vifm-0.5-new//src/ui.c 2011-03-01 14:09:59.646687287 -0800 -@@ -158,32 +158,32 @@ - - werase(stdscr); - -- menu_win = newwin(screen_y - 1, screen_x , 0, 0); -+ menu_win = newwin(screen_y - 1, screen_x , 1, 1); - wbkgdset(menu_win, COLOR_PAIR(WIN_COLOR)); - werase(menu_win); - -- sort_win = newwin(NUM_SORT_OPTIONS + 3, 30, (screen_y -12)/2, (screen_x -30)/2); -+ sort_win = newwin(NUM_SORT_OPTIONS + 3, 30, (screen_y -12)/2 > 0 ? (screen_y -12/2) :1, (screen_x -30)/2 > 0 ? (screen_x -30)/2: 1); - wbkgdset(sort_win, COLOR_PAIR(WIN_COLOR)); - werase(sort_win); - -- change_win = newwin(20, 30, (screen_y -20)/2, (screen_x -30)/2); -+ change_win = newwin(20, 30, ((screen_y -20)/2 > 0 ? (screen_y -20)/2 : 1), (screen_x -30)/2 > 0 ? (screen_x -30/2) : 1 ); - wbkgdset(change_win, COLOR_PAIR(WIN_COLOR)); - werase(change_win); - -- error_win = newwin(10, screen_x -2, (screen_y -10)/2, 1); -+ error_win = newwin(10, screen_x -2, (screen_y -10)/2 > 0 ? (screen_y -10)/2 : 1, 1); - wbkgdset(error_win, COLOR_PAIR(WIN_COLOR)); - werase(error_win); - -- lborder = newwin(screen_y - 2, 1, 0, 0); -+ lborder = newwin(screen_y - 2, 1, 1, 1); - - wbkgdset(lborder, COLOR_PAIR(BORDER_COLOR)); - - werase(lborder); - - if (curr_stats.number_of_windows == 1) -- lwin.title = newwin(0, screen_x -2, 0, 1); -+ lwin.title = newwin(0, screen_x -2, 1, 1); - else -- lwin.title = newwin(0, screen_x/2 -1, 0, 1); -+ lwin.title = newwin(0, screen_x/2 -1, 1, 1); - - wattrset(lwin.title, A_BOLD); - wbkgdset(lwin.title, COLOR_PAIR(BORDER_COLOR)); -@@ -204,16 +204,16 @@ - lwin.window_rows = y -1; - lwin.window_width = x -1; - -- mborder = newwin(screen_y, 2, 0, screen_x/2 -1); -+ mborder = newwin(screen_y, 2, 1, screen_x/2 -1 > 0 ? screen_x/2 -1 : 1); - - wbkgdset(mborder, COLOR_PAIR(BORDER_COLOR)); - - werase(mborder); - - if (curr_stats.number_of_windows == 1) -- rwin.title = newwin(0, screen_x -2 , 0, 1); -+ rwin.title = newwin(0, screen_x -2 , 1, 1); - else -- rwin.title = newwin(1, screen_x/2 -1 , 0, screen_x/2 +1); -+ rwin.title = newwin(1, screen_x/2 -1 , 1, screen_x/2 +1 > 0 ? screen_x/2 +1 :1); - - wbkgdset(rwin.title, COLOR_PAIR(BORDER_COLOR)); - wattrset(rwin.title, A_BOLD); -@@ -224,7 +224,7 @@ - if (curr_stats.number_of_windows == 1) - rwin.win = newwin(screen_y - 3, screen_x -2 , 1, 1); - else -- rwin.win = newwin(screen_y - 3, screen_x/2 -2 , 1, screen_x/2 +1); -+ rwin.win = newwin(screen_y - 3, screen_x/2 -2 , 1, screen_x/2 +1 > 0 ? screen_x/2 +1 : 1); - - keypad(rwin.win, TRUE); - wattrset(rwin.win, A_BOLD); -@@ -235,32 +235,32 @@ - rwin.window_rows = y - 1; - rwin.window_width = x -1; - -- rborder = newwin(screen_y - 2, 1, 0, screen_x -1); -+ rborder = newwin(screen_y - 2, 1, 1, screen_x -1 > 0 ? screen_x-1 : 1); - - wbkgdset(rborder, COLOR_PAIR(BORDER_COLOR)); - - werase(rborder); - -- stat_win = newwin(1, screen_x, screen_y -2, 0); -+ stat_win = newwin(1, screen_x, screen_y -2 > 0 ? screen_y -2 : 1, 1); - - wbkgdset(stat_win, COLOR_PAIR(BORDER_COLOR)); - - werase(stat_win); - -- status_bar = newwin(1, screen_x - 19, screen_y -1, 0); -+ status_bar = newwin(1, screen_x - 19, screen_y -1 > 0 ? screen_y -2: 1, 1); - keypad(status_bar, TRUE); - wattrset(status_bar, A_BOLD); - wattron(status_bar, A_BOLD); - wbkgdset(status_bar, COLOR_PAIR(STATUS_BAR_COLOR)); - werase(status_bar); - -- pos_win = newwin(1, 13, screen_y - 1, screen_x -13); -+ pos_win = newwin(1, 13, screen_y - 1 > 0 ? screen_y -1 : 1, screen_x -13 > 0 ? screen_x -13 : 1); - wattrset(pos_win, A_BOLD); - wattron(pos_win, A_BOLD); - wbkgdset(pos_win, COLOR_PAIR(STATUS_BAR_COLOR)); - werase(pos_win); - -- num_win = newwin(1, 6, screen_y - 1, screen_x -19); -+ num_win = newwin(1, 6, screen_y - 1 > 0 ? screen_y -1 : 1, screen_x -19 > 0 ? screen_x -19 : 1); - wattrset(num_win, A_BOLD); - wattron(num_win, A_BOLD); - wbkgdset(num_win, COLOR_PAIR(STATUS_BAR_COLOR)); diff --git a/community/xnee/ChangeLog b/community/xnee/ChangeLog deleted file mode 100644 index 062ec3b32..000000000 --- a/community/xnee/ChangeLog +++ /dev/null @@ -1,2 +0,0 @@ -2009-12-25 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> - * Update to major release 3.05 |