ports/55085: Port Fix: unbreak net/mutella on -CURRENT

Dominic Marks dom at cus.org.uk
Wed Jul 30 23:40:17 UTC 2003


	Note: There was a bad value `low>' for the field `>Priority:'.
	It was set to the default value of `medium'.


>Number:         55085
>Category:       ports
>Synopsis:       Port Fix: unbreak net/mutella on -CURRENT
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 30 16:40:15 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Dominic Marks
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD moo.cus.org.uk 4.7-STABLE FreeBSD 4.7-STABLE #4: Wed Apr 16 15:13:46 BST 2003 root at moo.cus.org.uk:/usr/obj/usr/src/sys/BAA i386

	
>Description:
	Two mutella source files used the assert macro but didn't
	include assert.h file which meant it didn't compile on
	-CURRENT. Adding the include makes GCC happy again.

	
>How-To-Repeat:
	On a recent 5-CURRENT:
	
	 cd /usr/ports/net/mutella && make
	
>Fix:

diff -ruN --exclude=CVS net/mutella/files/patch-gnudownload.cpp /home/dom/ports/freebsd/net/mutella/files/patch-gnudownload.cpp
--- net/mutella/files/patch-gnudownload.cpp	Thu Jan  1 00:00:00 1970
+++ /home/dom/ports/freebsd/net/mutella/files/patch-gnudownload.cpp	Thu Jul 31 00:27:46 2003
@@ -0,0 +1,10 @@
+--- mutella/gnudownload.cpp	Wed Jan 22 14:48:30 2003
++++ gnudownload.cpp.new	Thu Jul 31 00:26:42 2003
+@@ -43,6 +43,7 @@
+ #include "property.h"
+ #include "preferences.h"
+ 
++#include <assert.h>
+ #include <unistd.h>
+ #include <sys/ioctl.h>
+ #include <sys/stat.h>
diff -ruN --exclude=CVS net/mutella/files/patch-gnushare.cpp /home/dom/ports/freebsd/net/mutella/files/patch-gnushare.cpp
--- net/mutella/files/patch-gnushare.cpp	Thu Jan  1 00:00:00 1970
+++ /home/dom/ports/freebsd/net/mutella/files/patch-gnushare.cpp	Thu Jul 31 00:24:43 2003
@@ -0,0 +1,10 @@
+--- mutella/gnushare.cpp	Mon Nov 18 17:04:17 2002
++++ gnushare.cpp.new	Thu Jul 31 00:12:32 2003
+@@ -44,6 +44,7 @@
+ #include "gnuwordhash.h"
+ #include "sha1thread.h"
+ 
++#include <assert.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>

	


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



More information about the freebsd-ports-bugs mailing list