From stolz@i2.informatik.rwth-aachen.de  Wed Apr 21 07:19:11 2004
Return-Path: <stolz@i2.informatik.rwth-aachen.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 4FEDF16A4CE; Wed, 21 Apr 2004 07:19:11 -0700 (PDT)
Received: from atlas.informatik.rwth-aachen.de (atlas.informatik.RWTH-Aachen.DE [137.226.194.2])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id ADD8843D45; Wed, 21 Apr 2004 07:19:09 -0700 (PDT)
	(envelope-from stolz@i2.informatik.rwth-aachen.de)
Received: from menelaos.informatik.rwth-aachen.de (menelaos.informatik.RWTH-Aachen.DE [137.226.194.73])
	by atlas.informatik.rwth-aachen.de (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5-michaelw-20030918) with ESMTP id i3LEJ4408137;
	Wed, 21 Apr 2004 16:19:04 +0200
Received: (from stolz@localhost)
	by menelaos.informatik.rwth-aachen.de (8.12.10/8.12.10/Submit) id i3LEJ4CO097653;
	Wed, 21 Apr 2004 16:19:04 +0200 (CEST)
	(envelope-from stolz)
Message-Id: <200404211419.i3LEJ4CO097653@menelaos.informatik.rwth-aachen.de>
Date: Wed, 21 Apr 2004 16:19:04 +0200 (CEST)
From: Volker Stolz <vs@freebsd.org>
Reply-To: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc: kcwu@csie.org, edwin@freebsd.org
Subject: [patch] Unbreak textproc/iiimf-protocol-lib on -STABLE (bento)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         65850
>Category:       ports
>Synopsis:       [patch] Unbreak textproc/iiimf-protocol-lib on -STABLE (bento)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    vs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 21 07:20:22 PDT 2004
>Closed-Date:    Sun May 09 13:19:37 PDT 2004
>Last-Modified:  Sun May 09 13:19:37 PDT 2004
>Originator:     Volker Stolz
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
Lehrstuhl fr 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:
Responsible-Changed-From-To: freebsd-ports-bugs->vs 
Responsible-Changed-By: vs 
Responsible-Changed-When: Thu Apr 29 00:35:04 PDT 2004 
Responsible-Changed-Why:  
I should probably track my own PRs. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=65850 
State-Changed-From-To: open->closed 
State-Changed-By: vs 
State-Changed-When: Sun May 9 13:19:13 PDT 2004 
State-Changed-Why:  
Committed after maintainer timeout. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=65850 
>Unformatted:
