freebsd-ports/graphics/xmrm/files/patch-ag
Alexander Langer 6a645f9b15 Fix for 4.x (include the correct header file which defines
TRUE and FALSE).

Portlint, while I'm here.

Submitted by:	bento
2000-07-19 13:47:00 +00:00

29 lines
742 B
Plaintext

--- xmrm_mpeg_main.cc.orig Tue Mar 10 00:00:00 1998
+++ xmrm_mpeg_main.cc Wed Jul 19 15:43:38 2000
@@ -8,6 +8,7 @@
#include <forms.h>
#include <unistd.h>
#include "xmrm_mpeg.h"
+#include "const.h"
#define MAX_PIC_NUM 999
#define BORDER_WIDTH -1
@@ -68,7 +69,7 @@
{
int count = 0;
- backup_class->number_str = ".000.";
+ strcpy(backup_class->number_str, ".000.");
while ( !(*ext = strstr(fname_only,backup_class->number_str)) && (count <= MAX_PIC_NUM) )
{
@@ -417,7 +418,7 @@
// Check for even picture size
if ( (tif_w % 2) || (tif_h % 2) )
{
- work_class->even = ".even";
+ strcpy(work_class->even,".even");
if ( Even_Size( tif, tif_w, tif_h) )
return 1;
}