pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/35293: textproc/groff fails to build on Irix with MIPSPro



>Number:         35293
>Category:       pkg
>Synopsis:       textproc/groff fails to build on Irix with MIPSPro
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 20 10:15:05 +0000 2006
>Originator:     Francois Brunel
>Release:        pkgsrc-2006Q3
>Organization:
>Environment:
IP30
Irix 6.5.30
MIPSPro 7.4.1m
ABI=32
>Description:
Linker error with unresolved symbol getopt_long.

__GETOP_PREFIX is defined too late and so has no effect.

>How-To-Repeat:

>Fix:
-----------------
patches/patch-af
-----------------

--- src/utils/pfbtops/pfbtops.c.orig    2005-06-23 08:44:39.000000000 +0200
+++ src/utils/pfbtops/pfbtops.c
@@ -23,13 +23,13 @@ Foundation, 51 Franklin St - Fifth Floor
 #include <config.h>
 #endif
 
+#define __GETOPT_PREFIX groff_
+#include <getopt.h>
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <limits.h>
 
-#define __GETOPT_PREFIX groff_
-#include <getopt.h>
-
 #include "nonposix.h"
 
 /* Binary bytes per output line. */


-----------------
patches/patch-ag
-----------------

--- src/utils/xtotroff/xtotroff.c.orig  2005-06-23 08:44:35.000000000 +0200
+++ src/utils/xtotroff/xtotroff.c
@@ -8,6 +8,9 @@
 #include <config.h>
 #endif
 
+#define __GETOPT_PREFIX groff_
+#include <getopt.h>
+
 #include <X11/Xlib.h>
 #include <stdio.h>
 #include <ctype.h>
@@ -17,9 +20,6 @@
 #include <fcntl.h>
 #include <limits.h>
 
-#define __GETOPT_PREFIX groff_
-#include <getopt.h>
-
 #include "XFontName.h"
 #include "DviChar.h"
 

-----------------
patches/patch-ad
-----------------

--- src/preproc/grn/hdb.cpp.orig        2004-08-07 18:06:13.000000000 +0200
+++ src/preproc/grn/hdb.cpp
@@ -6,8 +6,8 @@
  * gremlin picture editor.
  */
 
-#include "gprint.h"
 #include <stdlib.h>
+#include "gprint.h"
 #include <string.h>
 #include <ctype.h>
 




Home | Main Index | Thread Index | Old Index