Bug 159895 - print/teTeX-base : fix build with clang
Summary: print/teTeX-base : fix build with clang
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: Hiroki Sato
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-18 22:40 UTC by Rene Ladan
Modified: 2011-09-20 18:30 UTC (History)
0 users

See Also:


Attachments
file.diff (385 bytes, patch)
2011-08-18 22:40 UTC, Rene Ladan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rene Ladan freebsd_committer freebsd_triage 2011-08-18 22:40:07 UTC
The print/teTeX-base port currently does not build with clang r135360 as found in HEAD:

In file included from type1.c:1:
type1.c:803:111: error: non-void function 'PSFakePop' should return a value [-Wreturn-type]
  else { {if (1) printf("'%03o ",currentchar);}; {if (1) printf("PSFakePop : Stack empty\n");}; {errflag = 1; return;};};
                                                                                                              ^

Fix: Patch attached with submission follows:
How-To-Repeat: Build print/teTeX-base with clang from HEAD.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-08-18 22:40:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->hrs

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Rene Ladan freebsd_committer freebsd_triage 2011-09-20 18:27:17 UTC
State Changed
From-To: open->closed

Committed after maintainer timeout.
Comment 3 dfilter service freebsd_committer freebsd_triage 2011-09-20 18:27:17 UTC
rene        2011-09-20 17:26:58 UTC

  FreeBSD ports repository

  Added files:
    print/teTeX-base/files patch-texk-ps2kpm-type1.c 
  Log:
  Fix build with clang.
  
  PR:             ports/159895
  Submitted by:   myself
  Approved by:    maintainer timeout (hrs, one month)
  
  Revision  Changes    Path
  1.1       +11 -0     ports/print/teTeX-base/files/patch-texk-ps2kpm-type1.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"