Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Oct 2006 15:52:40 +0330
From:      "Babak Farrokhi" <babak@farrokhi.net>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/104880: [update] port devel/libmba - update to 0.9.1
Message-ID:  <1162038160.32225@starfish.farrokhi.net>
Resent-Message-ID: <200610281230.k9SCUIZP031809@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         104880
>Category:       ports
>Synopsis:       [update] port devel/libmba - update to 0.9.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 28 12:30:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Babak Farrokhi
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:


System: FreeBSD 6.2-PRERELEASE #0: Fri Sep 22 14:10:00 IRST 2006
    root@starfish.datak.net:/usr/obj/usr/src/sys/STARFISH



>Description:


- update to 0.9.1
- adopt


>How-To-Repeat:





>Fix:


--- libmba.patch begins here ---
diff -ruN libmba.orig/Makefile libmba/Makefile
--- libmba.orig/Makefile	Sat Oct 28 15:31:43 2006
+++ libmba/Makefile	Sat Oct 28 15:40:06 2006
@@ -7,12 +7,11 @@
 #
 
 PORTNAME=	libmba
-PORTVERSION=	0.8.10
-PORTREVISION=	1
+PORTVERSION=	0.9.1
 CATEGORIES=	devel
 MASTER_SITES=	http://www.ioplex.com/~miallen/libmba/dl/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	babak@farrokhi.net
 COMMENT=	A collection of C modules potentially useful to any project
 
 LIB_DEPENDS=	expat.6:${PORTSDIR}/textproc/expat2
@@ -30,7 +29,7 @@
 		stack.3m suba.3m svcond.3m svsem.3m text.3m time.3m varray.3m
 MANCOMPRESSED=	yes
 
-SHLIB_MAJOR=	1
+SHLIB_MAJOR=	0
 
 .include <bsd.port.pre.mk>
 
diff -ruN libmba.orig/distinfo libmba/distinfo
--- libmba.orig/distinfo	Sat Oct 28 15:31:43 2006
+++ libmba/distinfo	Sat Oct 28 15:32:32 2006
@@ -1,3 +1,3 @@
-MD5 (libmba-0.8.10.tar.gz) = 868dc9cc9f1115868ad0e0cec7bcf65b
-SHA256 (libmba-0.8.10.tar.gz) = 88a45a3cbacf1369beb776f1f175f1ef820b718c818be896ad8f0c834c00bd8a
-SIZE (libmba-0.8.10.tar.gz) = 259427
+MD5 (libmba-0.9.1.tar.gz) = c208fb5c3826a6251d20f492e5afa696
+SHA256 (libmba-0.9.1.tar.gz) = 1482c6c1a32794d1c40df471d25006ee1cae5b07ebd76b0301268dddb8629394
+SIZE (libmba-0.9.1.tar.gz) = 290080
diff -ruN libmba.orig/files/patch-src::hashmap.c libmba/files/patch-src::hashmap.c
--- libmba.orig/files/patch-src::hashmap.c	Sat Oct 28 15:31:43 2006
+++ libmba/files/patch-src::hashmap.c	Thu Jan  1 03:30:00 1970
@@ -1,10 +0,0 @@
---- src/hashmap.c.orig	Tue May 25 18:10:09 2004
-+++ src/hashmap.c	Mon Feb 21 00:31:21 2005
-@@ -26,6 +26,7 @@
- #include <string.h>
- #include <errno.h>
- #include <stdio.h>
-+#include <wchar.h>
- #include "mba/msgno.h"
- #include "mba/iterator.h"
- #include "mba/allocator.h"
diff -ruN libmba.orig/files/patch-src::mba::shellout.h libmba/files/patch-src::mba::shellout.h
--- libmba.orig/files/patch-src::mba::shellout.h	Sat Oct 28 15:31:43 2006
+++ libmba/files/patch-src::mba::shellout.h	Thu Jan  1 03:30:00 1970
@@ -1,10 +0,0 @@
---- src/mba/shellout.h.orig	Tue May 18 18:07:17 2004
-+++ src/mba/shellout.h	Mon Feb 21 01:54:34 2005
-@@ -9,6 +9,7 @@
- #endif
- 
- #include <termios.h>
-+#include <unistd.h>
- 
- #define SHO_FLAGS_INTERACT 0x0001
- #define SHO_FLAGS_ISATTY   0x0100
diff -ruN libmba.orig/files/patch-src::mba::svsem.h libmba/files/patch-src::mba::svsem.h
--- libmba.orig/files/patch-src::mba::svsem.h	Sat Oct 28 15:31:43 2006
+++ libmba/files/patch-src::mba::svsem.h	Thu Jan  1 03:30:00 1970
@@ -1,11 +0,0 @@
---- src/mba/svsem.h.orig	Wed May 26 16:32:35 2004
-+++ src/mba/svsem.h	Mon Feb 21 00:31:21 2005
-@@ -9,6 +9,8 @@
- #endif
- 
- #include <fcntl.h>
-+#include <sys/types.h>
-+#include <sys/ipc.h>
- #include <sys/sem.h>
- #include <mba/pool.h>
- #include <mba/varray.h>
diff -ruN libmba.orig/files/patch-src::mba::time.h libmba/files/patch-src::mba::time.h
--- libmba.orig/files/patch-src::mba::time.h	Sat Oct 28 15:31:43 2006
+++ libmba/files/patch-src::mba::time.h	Thu Jan  1 03:30:00 1970
@@ -1,13 +0,0 @@
---- src/mba/time.h.orig	Sun Oct 26 06:06:09 2003
-+++ src/mba/time.h	Sun Apr 10 22:27:40 2005
-@@ -20,7 +20,9 @@
- #endif /* WIN32 */
- #endif /* LIBMBA_API */
- 
--#if defined(__sparc__)
-+#if defined(__FreeBSD__)
-+  #include <inttypes.h>
-+#elif defined(__sparc__)
-   #include <sys/inttypes.h>
- #elif defined(_WIN32)
-   #define MILLISECONDS_BETWEEN_1970_AND_1601 11644473600000Ui64
diff -ruN libmba.orig/files/patch-src::shellout.c libmba/files/patch-src::shellout.c
--- libmba.orig/files/patch-src::shellout.c	Sat Oct 28 15:31:43 2006
+++ libmba/files/patch-src::shellout.c	Thu Jan  1 03:30:00 1970
@@ -1,19 +0,0 @@
---- src/shellout.c.orig	Fri May 28 23:52:03 2004
-+++ src/shellout.c	Tue Mar  8 16:56:58 2005
-@@ -27,12 +27,15 @@
- #include <string.h>
- #include <termios.h>
- #include <unistd.h>
--#include <pty.h>
- #include <errno.h>
- #include <sys/types.h>
-+#include <sys/ioctl.h>
- #include <sys/wait.h>
- #include <sys/time.h>
-+#include <sys/select.h>
- #include <signal.h>
-+#include <termios.h>
-+#include <libutil.h>
- #include "mba/msgno.h"
- #include "mba/text.h"
- #include "mba/shellout.h"
diff -ruN libmba.orig/files/patch-src::svsem.c libmba/files/patch-src::svsem.c
--- libmba.orig/files/patch-src::svsem.c	Sat Oct 28 15:31:43 2006
+++ libmba/files/patch-src::svsem.c	Thu Jan  1 03:30:00 1970
@@ -1,29 +0,0 @@
---- src/svsem.c.orig	Wed May 26 16:32:24 2004
-+++ src/svsem.c	Mon Feb 21 00:31:21 2005
-@@ -42,7 +42,7 @@
- #include "mba/msgno.h"
- #include "defines.h"
- 
--#if defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)
-+#if defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED) || defined(__FreeBSD__)
- /* union semun is defined by including <sys/sem.h> */
- #include <sys/sem.h>
- #else
-@@ -108,7 +108,7 @@
- 					sleep(1);
- 				}
- 	
--				errno = ETIME;
-+				errno = ETIMEDOUT;
- 				PMNF(errno, ": %s", name);
- 				return -1;
- 			} else if (errno != ENOENT) {
-@@ -296,7 +296,7 @@
- 		int fd, cre;
- 
- 		va_start(ap, oflag);
--		mode = va_arg(ap, mode_t);
-+		mode = va_arg(ap, int);
- 		val = va_arg(ap, unsigned int);
- 		va_end(ap);
- 
diff -ruN libmba.orig/files/patch-src::text.c libmba/files/patch-src::text.c
--- libmba.orig/files/patch-src::text.c	Sat Oct 28 15:31:43 2006
+++ libmba/files/patch-src::text.c	Thu Jan  1 03:30:00 1970
@@ -1,11 +0,0 @@
---- src/text.c.orig	Fri Feb 13 22:52:52 2004
-+++ src/text.c	Sun Apr 10 22:25:00 2005
-@@ -22,6 +22,8 @@
-  * OTHER DEALINGS IN THE SOFTWARE.
-  */
- 
-+#include <sys/types.h>
-+#include <stdarg.h>
- #include <stdlib.h>
- #include <stdio.h>
- #include <stddef.h>
diff -ruN libmba.orig/pkg-plist libmba/pkg-plist
--- libmba.orig/pkg-plist	Sat Oct 28 15:31:43 2006
+++ libmba/pkg-plist	Sat Oct 28 15:35:26 2006
@@ -3,6 +3,7 @@
 include/mba/cfg.h
 include/mba/csv.h
 include/mba/daemon.h
+include/mba/dbug.h
 include/mba/diff.h
 include/mba/eval.h
 include/mba/hashmap.h
--- libmba.patch ends here ---



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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1162038160.32225>