Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Apr 2004 16:19:04 +0200 (CEST)
From:      Volker Stolz <vs@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        edwin@FreeBSD.org
Subject:   ports/65850: [patch] Unbreak textproc/iiimf-protocol-lib on -STABLE (bento)
Message-ID:  <200404211419.i3LEJ4CO097653@menelaos.informatik.rwth-aachen.de>
Resent-Message-ID: <200404211420.i3LEKMvZ054268@freefall.freebsd.org>

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

>Number:         65850
>Category:       ports
>Synopsis:       [patch] Unbreak textproc/iiimf-protocol-lib on -STABLE (bento)
>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:   Wed Apr 21 07:20:22 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Volker Stolz
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
Lehrstuhl für Informatik II
>Environment:
System: FreeBSD menelaos.informatik.rwth-aachen.de 4.9-STABLE FreeBSD 4.9-STABLE #15: Thu Mar 25 15:34:34 CET 2004 root@menelaos.informatik.rwth-aachen.de:/usr/obj/usr/src/sys/MENELAOS i386


>Description:
Unbreak on -STABLE: No stdint.h there. No problem though, it isn't required
anyway.

BTW, this port never worked on -STABLE in the first place, I think...

cc: maintainer
>How-To-Repeat:
http://bento.freebsd.org/errorlogs/i386-4-full/iiimf-protocol-lib-r11.4_1.log

>Fix:
Tested on -STABLE & -CURRENT.

--- iiimf-protocol-lib begins here ---
Index: Makefile
===================================================================
RCS file: /usr/freebsdcvs/cvs-ports/ports/textproc/iiimf-protocol-lib/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	13 Mar 2004 05:27:08 -0000	1.4
+++ Makefile	21 Apr 2004 14:11:05 -0000
@@ -27,12 +27,6 @@
 CONFIGURE_ARGS=	--prefix=${PREFIX} \
 		--includedir=${PREFIX}/include/iiimf/iiimp
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-BROKEN=		"Does not compile on 4.x"
-.endif
-
 post-patch:
 	${REINPLACE_CMD} -e "s,-lpthread,-pthread,g" \
 		-e "s,-D_POSIX_C_SOURCE=199506L,,g" \
@@ -40,4 +34,4 @@
 		-e "s,/usr/lib/im,${PREFIX}/lib/im,g" \
 		${WRKSRC}/configure
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: files/patch-include_iiimp_iiimp-data.h
===================================================================
RCS file: /usr/freebsdcvs/cvs-ports/ports/textproc/iiimf-protocol-lib/files/patch-include_iiimp_iiimp-data.h,v
retrieving revision 1.1
diff -u -r1.1 patch-include_iiimp_iiimp-data.h
--- files/patch-include_iiimp_iiimp-data.h	28 Dec 2003 11:00:27 -0000	1.1
+++ files/patch-include_iiimp_iiimp-data.h	21 Apr 2004 14:02:25 -0000
@@ -1,11 +1,14 @@
---- include/iiimp/iiimp-data.h.orig	Sat Dec  6 02:19:44 2003
-+++ include/iiimp/iiimp-data.h	Sat Dec  6 02:18:15 2003
-@@ -7,7 +7,7 @@
+--- include/iiimp/iiimp-data.h.orig	Wed Apr 21 16:01:34 2004
++++ include/iiimp/iiimp-data.h	Wed Apr 21 16:01:45 2004
+@@ -7,11 +7,8 @@
  #include <stdio.h>
  #include <sys/types.h>
  
 -#if defined(linux)
-+#if defined(linux) || defined(__FreeBSD__)
- #include <stdint.h>
+-#include <stdint.h>
  typedef unsigned char	uchar_t;
  typedef unsigned int	uint_t;
+-#endif /* linux */
+ 
+ #include <iiimp-opcode.h>
+ 
--- iiimf-protocol-lib ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



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