ports/164543: [PATCH] www/nspluginwrapper: Fix build on 10.x

Yuri Pankov yuri.pankov at gmail.com
Fri Jan 27 17:20:09 UTC 2012


>Number:         164543
>Category:       ports
>Synopsis:       [PATCH] www/nspluginwrapper: Fix build on 10.x
>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:   Fri Jan 27 17:20:08 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Yuri Pankov
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD procyon.xvoid.org 10.0-CURRENT FreeBSD 10.0-CURRENT #5 r230537: Wed Jan 25 16:41:12 MSK
>Description:
Fix build on 10.x, patch taken from http://people.freebsd.org/~sylvio/nspluginwrapper.diff.

Port maintainer (jkim at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
procyon:root:/usr/ports/www/nspluginwrapper# make
===>   nspluginwrapper-1.4.4 depends on executable: gmake - found
===>   nspluginwrapper-1.4.4 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   nspluginwrapper-1.4.4 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found
===>   nspluginwrapper-1.4.4 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found
===>   nspluginwrapper-1.4.4 depends on file: /usr/local/bin/intltool-extract - found
===>   nspluginwrapper-1.4.4 depends on executable: pkg-config - found
===>   nspluginwrapper-1.4.4 depends on shared library: curl.6 - found
===>   nspluginwrapper-1.4.4 depends on shared library: atk-1.0.0 - found
===>   nspluginwrapper-1.4.4 depends on shared library: glib-2.0.0 - found
===>   nspluginwrapper-1.4.4 depends on shared library: gtk-x11-2.0.0 - found
===>   nspluginwrapper-1.4.4 depends on shared library: pango-1.0.0 - found
===>  Configuring for nspluginwrapper-1.4.4
===>   FreeBSD 10 autotools fix applied to /usr/ports/www/nspluginwrapper/work/nspluginwrapper-1.4.4/configure
unknown floating point format
===>  Script "configure" failed unexpectedly.
Please report the problem to jkim at FreeBSD.org [maintainer] and attach the
"/usr/ports/www/nspluginwrapper/work/nspluginwrapper-1.4.4/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. an `ls /var/db/pkg`).
*** Error code 1

Stop in /usr/ports/www/nspluginwrapper.
>Fix:

--- nspluginwrapper-1.4.4.patch begins here ---
Index: files/patch-configure
===================================================================
RCS file: /home/ncvs/ports/www/nspluginwrapper/files/patch-configure,v
retrieving revision 1.4
diff -u -r1.4 patch-configure
--- files/patch-configure	23 May 2011 22:50:19 -0000	1.4
+++ files/patch-configure	27 Jan 2012 17:13:12 -0000
@@ -1,5 +1,5 @@
---- configure.orig	2009-01-02 11:54:10.000000000 +0300
-+++ configure	2009-01-09 05:42:24.000000000 +0300
+--- configure.orig	2011-07-01 00:18:57.000000000 -0300
++++ configure	2012-01-16 23:46:05.000000000 -0200
 @@ -6,13 +6,8 @@
  PACKAGE=nspluginwrapper
  
@@ -16,3 +16,16 @@
  
  TMPC="${TMPDIR1}/npw-conf-${RANDOM}-$$-${RANDOM}.c"
  TMPO="${TMPDIR1}/npw-conf-${RANDOM}-$$-${RANDOM}.o"
+@@ -650,7 +645,11 @@
+ ' | fold | sed '$a\
+ ' > $TMPE
+ 
+-    if grep 'format:. at IEEEF.:tamrof' $TMPE >/dev/null 2>&1; then
++    if grep 'format:PFEEEI@@n0000120:tamrof' $TMPE >/dev/null 2>&1; then
++        float_format='IEEE (big-endian)'
++    elif grep 'format:PFEEEI@@.:tamrof' $TMPE >/dev/null 2>&1; then
++        float_format='IEEE (big-endian)'
++    elif grep 'format:. at IEEEF.:tamrof' $TMPE >/dev/null 2>&1; then
+ 	float_format='IEEE (big-endian)'
+     elif grep 'format:.I@@PFE.:tamrof' $TMPE >/dev/null 2>&1; then
+ 	float_format='IEEE (big-endian)'
--- nspluginwrapper-1.4.4.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list