Bug 145115 - [ERROR] cannot portupgrade graphics/ming
Summary: [ERROR] cannot portupgrade graphics/ming
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-28 18:10 UTC by Andrei Lavreniyuk
Modified: 2010-03-28 19:40 UTC (History)
0 users

See Also:


Attachments
file.diff (617 bytes, patch)
2010-03-28 18:10 UTC, Andrei Lavreniyuk
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Lavreniyuk 2010-03-28 18:10:05 UTC
cc -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fno-delete-null-pointer-checks -fstack-protector -fno-strict-aliasing -Wformat -Wformat-security -s -I. -I.. -I/usr/local/include -Wall -I. -fPIC -DPIC -I.. -c assembler.c
cc -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fno-delete-null-pointer-checks -fstack-protector -fno-strict-aliasing -Wformat -Wformat-security -s -I. -I.. -I/usr/local/include -Wall -I. -fPIC -DPIC -I.. -c compileaction.c
cc blocklist.o  displaylist.o  fill.o  font_util.o  ming.o  movie.o  movieclip.o  position.o  shape_cubic.o  shape_util.o  text_util.o  gc.o actioncompiler/compile.o  actioncompiler/swf4compiler.tab.o  actioncompiler/lex.swf4.o  actioncompiler/swf5compiler.tab.o  actioncompiler/lex.swf5.o  actioncompiler/compileaction.o  actioncompiler/assembler.o -L. -L.. -L/usr/local/lib -lz -lm -lungif -lpng blocks/*.o -shared -Wl,-soname,libming.so.4 -o libming.so.4
cp libming.so.4 ..
ln -fs libming.so.4 ../libming.so
(cd util && make)
cc -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fno-delete-null-pointer-checks -fstack-protector -fno-strict-aliasing -Wformat -Wformat-security -s -I. -I.. -I/usr/local/include -Wall -I. -I.. -I../src -c action.c
cc -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fno-delete-null-pointer-checks -fstack-protector -fno-strict-aliasing -Wformat -Wformat-security -s -I. -I.. -I/usr/local/include -Wall -I. -I.. -I../src -c blocktypes.c
cc -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fno-delete-null-pointer-checks -fstack-protector -fno-strict-aliasing -Wformat -Wformat-security -s -I. -I.. -I/usr/local/include -Wall -I. -I.. -I../src -c decompile.c -o decompile.o
decompile.c:110:1: warning: "putchar" redefined
In file included from decompile.c:7:
/usr/include/stdio.h:495:1: warning: this is the location of the previous definition
cc -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fno-delete-null-pointer-checks -fstack-protector -fno-strict-aliasing -Wformat -Wformat-security -s -I. -I.. -I/usr/local/include -Wall -I. -I.. -I../src -c main.c
cc -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fno-delete-null-pointer-checks -fstack-protector -fno-strict-aliasing -Wformat -Wformat-security -s -I. -I.. -I/usr/local/include -Wall -I. -I.. -I../src -c parser.c
cc -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fno-delete-null-pointer-checks -fstack-protector -fno-strict-aliasing -Wformat -Wformat-security -s -I. -I.. -I/usr/local/include -Wall -I. -I.. -I../src -c read.c
cc -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fno-delete-null-pointer-checks -fstack-protector -fno-strict-aliasing -Wformat -Wformat-security -s -I. -I.. -I/usr/local/include -Wall -I. -I.. -I../src -L. -L.. -L/usr/local/lib -L.. -lming -lz -lm -lungif -lpng -DNODECOMPILE action.o blocktypes.o decompile.o main.o parser.o read.o outputtxt.c -o listswf
./libming.so: undefined reference to `png_check_sig'
*** Error code 1

Stop in /usr/ports/graphics/ming/work/ming-0.3.0/util.
*** Error code 1

Stop in /usr/ports/graphics/ming/work/ming-0.3.0.
*** Error code 1

Stop in /usr/ports/graphics/ming/work/ming-0.3.0.
*** Error code 1

Stop in /usr/ports/graphics/ming.

Fix: Patch attached with submission follows:
Comment 1 Dirk Meyer freebsd_committer freebsd_triage 2010-03-28 18:42:55 UTC
Responsible Changed
From-To: freebsd-ports-bugs->dinoex

I will take care of it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-03-28 19:35:53 UTC
dinoex      2010-03-28 18:35:45 UTC

  FreeBSD ports repository

  Added files:
    graphics/ming/files  patch-src_blocks_pngdbl.c 
  Log:
  - fix build for png-1.4.1
  PR:             145115
  
  Revision  Changes    Path
  1.1       +20 -0     ports/graphics/ming/files/patch-src_blocks_pngdbl.c (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Dirk Meyer freebsd_committer freebsd_triage 2010-03-28 19:36:04 UTC
State Changed
From-To: open->closed

committed a modified patch, the return value has chaned too, thanks.