Bug 145108 - libpng update breaks print/teTeX-base
Summary: libpng update breaks print/teTeX-base
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 14:40 UTC by Pascal Stumpf
Modified: 2010-03-28 15:10 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Stumpf 2010-03-28 14:40:05 UTC
Build of print/teTeX-base fails after recent png update to 1.4.1: 

cc -o dvipdfm pdfdev.o pdfdoc.o dvi.o mfileio.o mem.o jpeg.o numbers.o pdfobj.o
pdfparse.o pdfspecial.o tfm.o type1.o dvipdfm.o epdf.o vf.o t1crypt.o pkfont.o t
pic.o thumbnail.o pngimage.o htex.o mpost.o psimage.o psspecial.o colorsp.o enco
dings.o ttf.o  -L/usr/local/lib -lpng -lz ../kpathsea/.libs/libkpathsea.a -lm
psimage.o(.text+0x7e): In function `ps_include':
: warning: warning: tmpnam() possibly used unsafely; consider using mkstemp()
thumbnail.o(.text+0xeb): In function `do_thumbnail':
: undefined reference to `png_check_sig'
pngimage.o(.text+0x3dd): In function `check_for_png':
: undefined reference to `png_check_sig'
gmake[2]: *** [dvipdfm] Error 1
gmake[2]: Leaving directory `/usr/ports/print/teTeX-base/work/tetex-src-3.0/texk
/dvipdfm'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/ports/print/teTeX-base/work/tetex-src-3.0/texk
'
gmake: *** [all] Error 1
*** Error code 1

Stop in /usr/ports/print/teTeX-base.


Apparently, the png_check_sig function was replaced/renamed in png-1.4.1, so some ports need patching to reflect that.

How-To-Repeat: cd /usr/ports/print/teTeX-base && make install clean
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-03-28 14:40:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->hrs

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Dirk Meyer freebsd_committer freebsd_triage 2010-03-28 14:43:46 UTC
Responsible Changed
From-To: hrs->dinoex

I will take care of it.
Comment 3 Dirk Meyer freebsd_committer freebsd_triage 2010-03-28 15:05:42 UTC
State Changed
From-To: open->closed

fix was committed, thanks for reporting.
Comment 4 dfilter service freebsd_committer freebsd_triage 2010-03-28 15:05:50 UTC
dinoex      2010-03-28 14:05:35 UTC

  FreeBSD ports repository

  Added files:
    print/teTeX-base/files patch-texk-dvipdfm-pngimage.c 
                           patch-texk-dvipdfm-thumbnail.c 
  Log:
  - fix build for png-1.4.1
  PR:             145108
  
  Revision  Changes    Path
  1.1       +11 -0     ports/print/teTeX-base/files/patch-texk-dvipdfm-pngimage.c (new)
  1.1       +11 -0     ports/print/teTeX-base/files/patch-texk-dvipdfm-thumbnail.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"