$NetBSD: patch-aa,v 1.1.1.1 2004/02/15 15:47:29 minskim Exp $

--- src/pyvorbisfile.c.foo	Tue Sep  9 05:40:48 2003
+++ src/pyvorbisfile.c	Sat Nov 22 15:03:35 2003
@@ -178,10 +178,12 @@
 static void
 py_ov_file_dealloc(PyObject *self)
 {
+  py_vorbisfile *py_self;
+   
   if (PY_VORBISFILE(self))
     ov_clear(PY_VORBISFILE(self));
 
-  py_vorbisfile *py_self = (py_vorbisfile *) self;
+  py_self = (py_vorbisfile *) self;
   if (py_self->py_file) {
     /* If file was opened from a file object, decref it, so it can
        close */
@@ -221,6 +223,7 @@
     PyErr_Clear(); /* clear first failure */
     if (PyArg_ParseTuple(args, "O!|sl", &PyFile_Type, &fobject,
 			 &initial, &ibytes)) {
+      int orig_fd, new_fd;       
       
       fname = NULL;
       file = PyFile_AsFile(fobject);
@@ -234,7 +237,6 @@
 	 Really, you shouldn't be passing in files anymore, but in the
 	 interest of backwards compatibility it'll stay.
       */
-      int orig_fd, new_fd;
       orig_fd = fileno(file);
       new_fd = dup(orig_fd);
       file = fdopen(new_fd, "r");
