Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jan 2012 21:16:15 +0400 (MSK)
From:      Yuri Pankov <yuri.pankov@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jkim@FreeBSD.org
Subject:   ports/164543: [PATCH] www/nspluginwrapper: Fix build on 10.x
Message-ID:  <201201271716.q0RHGFwv057957@procyon.xvoid.org>
Resent-Message-ID: <201201271720.q0RHK8Wr039950@freefall.freebsd.org>

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

>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@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@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:.@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:.@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:



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