Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Mar 2003 21:41:51 -0800 (PST)
From:      David Yeske <dyeske@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Mario <lioux@FreeBSD.org>
Subject:   ports/50233: multimedia/mpeg4ip is broken on HEAD
Message-ID:  <20030324054151.97280.qmail@web13508.mail.yahoo.com>

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

>Number:         50233
>Category:       ports
>Synopsis:       multimedia/mpeg4ip is broken on HEAD
>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:   Sun Mar 23 21:50:15 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     David Yeske
>Release:        FreeBSD 4.8-RC i386
>Organization:
>Environment:
System: FreeBSD blue 4.8-RC FreeBSD 4.8-RC #0: Thu Mar 20 03:51:59 EST 2003
root@blue:/usr/obj/usr/src/sys/BLUE i386

>Description:
one of these files corrects libgnugetopt detection, and the other one creates a workaround to
prevent conflicts with /usr/include/getopt.h

>How-To-Repeat:
attempt to compile on HEAD
mp4dump.cpp: In function `int main(int, char**)':
mp4dump.cpp:43: `getopt_long_only' undeclared (first use this function)

>Fix:
http://pigseye.kennesaw.edu/~dyeske/freebsd/mpeg4ip.tgz

--- include/mpeg4ip_getopt.h.orig       Tue Oct 15 13:12:27 2002
+++ include/mpeg4ip_getopt.h    Mon Feb 24 05:23:50 2003
@@ -11,6 +11,9 @@
 #endif
 
 #ifdef HAVE_GETOPT_H
+#ifdef __FreeBSD__
+#define __GNU_LIBRARY__
+#endif
 #include <getopt.h>
 #endif
 
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/multimedia/mpeg4ip/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile    23 Feb 2003 19:58:27 -0000      1.10
+++ Makefile    24 Feb 2003 12:37:43 -0000
@@ -33,6 +33,9 @@
                --with-gtk-prefix=${X11BASE} \
                --program-transform-name=''
 
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
+               LIBS="${LIBS} -L${LOCALBASE}/lib"
+
 SDL_CONFIG?=   ${LOCALBASE}/bin/sdl11-config
 
 DOC_FILES=     COPYING README doc/MPEG4IP_Guide.pdf





__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




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