ports/82917: [PATCH] update multimedia/lxdvdrip to 1.46

Ulrich Spoerlein spoerlein at informatik.uni-wuerzburg.de
Sun Jul 3 18:50:15 UTC 2005


The following reply was made to PR ports/82917; it has been noted by GNATS.

From: Ulrich Spoerlein <spoerlein at informatik.uni-wuerzburg.de>
To: bug-followup at FreeBSD.org, josemi at freebsd.jazztel.es
Cc:  
Subject: Re: ports/82917: [PATCH] update multimedia/lxdvdrip to 1.46
Date: Sun, 3 Jul 2005 20:45:13 +0200

 --ReaqsoxgOBHFXBhH
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 Heh, I had the exact same update sitting in my tree. Just waiting for
 1.46 to go final (looks like I missed it).
 
 The update can be committed, but lxdvdrip.c needs to be patched
 nevertheless.
 
 So to the committer: Replace patch-lxdvdrip.c with the attached one.
 Thanks.
 
 Ulrich Spoerlein
 
 --ReaqsoxgOBHFXBhH
 Content-Type: text/x-csrc; charset=us-ascii
 Content-Disposition: attachment; filename="patch-lxdvdrip.c"
 
 --- lxdvdrip.c.orig	Thu May  5 16:25:21 2005
 +++ lxdvdrip.c	Thu May  5 16:32:23 2005
 @@ -742,7 +742,7 @@
        return -1;
      }
  
 -  if (fseek (filehandle, 32808, SEEK_SET))
 +  if (fseek (filehandle, 32768, SEEK_SET))
      {
        fclose (filehandle);
        switch (lSprache)
 @@ -762,7 +762,10 @@
        return -1;
      }
  
 -  if (32 != (i = fread (title, 1, 32, filehandle)))
 +#define	DVD_SEC_SIZ	2048
 +  char	tempBuf[DVD_SEC_SIZ];
 +
 +  if (DVD_SEC_SIZ != fread (tempBuf, 1, DVD_SEC_SIZ, filehandle))
      {
        fclose (filehandle);
        switch (lSprache)
 @@ -780,7 +783,8 @@
        strcpy (title, "unknown");
        return -1;
      }
 -
 +  snprintf( title, 32, "%s", tempBuf + 40 );
 +  i=32;
    fclose (filehandle);
  
    title[32] = '\0';
 
 --ReaqsoxgOBHFXBhH--



More information about the freebsd-ports-bugs mailing list