ports/50355: [patch] cad/leocad checksum update and simple strcmp() error

Scott A. Morris samorris at jomche.org
Thu Mar 27 17:24:41 UTC 2003


>Number:         50355
>Category:       ports
>Synopsis:       [PATCH] cad/leocad checksum update and minor include file fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 27 09:20:08 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Scott A. Morris <samorris at jomche.org>
>Release:        FreeBSD 5.0-RELEASE-p2 i386
>Organization:
none
>Environment:
System: FreeBSD forge.gol 5.0-RELEASE-p2 FreeBSD 5.0-RELEASE-p2 #0: Fri Feb 21 00:52:24 MST 2003 
root at forge.gol:/gol/ss1/usr_obj/gol/ss1/src/os/freebsd_releng_5_0/src/sys/FORGE i386

>Description:

   Two minor problems:
   -------------------
   1. The cad/leocad port has an out-of-date checksum for pieces.zip.
      (pieces.zip appears to be periodicly updated separate from the
      main package, and isn't versioned)

   2. linux/gtkmisc.cpp can't find strcmp()

>How-To-Repeat:

   % cd /usr/ports/cad/leocad
   % sudo make

>Fix:

diff -crN leocad.old/Makefile leocad/Makefile
*** leocad.old/Makefile	Fri Feb 21 04:04:53 2003
--- leocad/Makefile	Wed Mar 26 17:48:50 2003
***************
*** 20,27 ****
  LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg \
      png.5:${PORTSDIR}/graphics/png
  
- BROKEN=		Unknown problem
- 
  USE_GMAKE=	yes
  USE_GNOMENG=	yes
  USE_GNOME=	gtk12
--- 20,25 ----
diff -crN leocad.old/distinfo leocad/distinfo
*** leocad.old/distinfo	Sat Mar  2 17:40:21 2002
--- leocad/distinfo	Wed Mar 26 17:47:55 2003
***************
*** 1,2 ****
  MD5 (leocad-0.73.tgz) = 7bce5fc75817f83bf2c789e2ef8d95ec
! MD5 (pieces.zip) = 62767e47e02924e82a1a2d3f6b2e866c
--- 1,2 ----
  MD5 (leocad-0.73.tgz) = 7bce5fc75817f83bf2c789e2ef8d95ec
! MD5 (pieces.zip) = f3f0cbe8ed606f22c1e40a20b75b3cf5
diff -crN leocad.old/files/patch-gtkmisc.cpp leocad/files/patch-gtkmisc.cpp
*** leocad.old/files/patch-gtkmisc.cpp	Wed Dec 31 17:00:00 1969
--- leocad/files/patch-gtkmisc.cpp	Wed Mar 26 17:47:55 2003
***************
*** 0 ****
--- 1,10 ----
+ --- linux/gtkmisc.cpp  Sun Jul 23 14:17:56 2000
+ +++ linux/gtkmisc.cpp Wed Mar 26 14:17:55 2003
+ @@ -4,6 +4,7 @@
+  
+  #include <gtk/gtk.h>
+  #include <gdk/gdkx.h>
+ +#include <string.h>
+  #include "gtkmisc.h"
+  #include "globals.h"
+  #include "project.h"

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list