$NetBSD: patch-aa,v 1.2 2012/10/22 23:47:15 rh Exp $

Make this compile with recent versions of GNUstep.

--- ExtProgressIndicator.m.orig	2005-05-12 15:58:49.000000000 +0000
+++ ExtProgressIndicator.m
@@ -22,8 +22,11 @@
  */
 
 #include <AppKit/NSColor.h>
+#include <AppKit/NSGraphics.h>
 #include <AppKit/NSParagraphStyle.h>
+#include <AppKit/NSAttributedString.h>
 #include <Foundation/Foundation.h>
+#include <GNUstepGUI/GSTheme.h>
 
 #include "ExtProgressIndicator.h"
 
@@ -79,7 +82,7 @@
 
     // Calculate the inside rect to be drawn
 	if (_isBezeled) {
-		NSSize borderSize = _sizeForBorderType (NSBezelBorder);
+		NSSize borderSize = [[GSTheme theme] sizeForBorderType: NSBezelBorder];
 		origRect = NSInsetRect(_bounds, borderSize.width, borderSize.height);
 	} else
 		origRect = _bounds;
@@ -96,7 +99,7 @@
             if (value > _maxValue)
                 value = _maxValue;
 
-            if (_isVertical){
+            if ([self isVertical]){
                 fillRect.size.height = 1;
                 fillRect.origin.y += NSHeight(origRect) * (value / (_maxValue - _minValue));
             } else {
