Summary: | print/ghostview: Fix build with clang | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | tkato432 | ||||
Component: | Individual Port(s) | Assignee: | Martin Wilke <miwi> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
tkato432
2013-05-13 18:55:35 UTC
- Fix build with clang - Update MASTER_SITES - Support PLIST_FILES Responsible Changed From-To: freebsd-ports-bugs->miwi miwi@ wants this submitter's PRs (via the GNATS Auto Assign Tool) State Changed From-To: open->closed Committed. Thanks! Author: miwi Date: Tue May 14 16:12:01 2013 New Revision: 318167 URL: http://svnweb.freebsd.org/changeset/ports/318167 Log: - Fix build with clang - Update MASTER_SITES - Support PLIST_FILES PR: 178578 Submitted by: Ports Fury Added: head/print/ghostview/files/patch-Dir.c (contents, props changed) Deleted: head/print/ghostview/pkg-plist Modified: head/print/ghostview/Makefile (contents, props changed) head/print/ghostview/files/patch-aa (contents, props changed) Modified: head/print/ghostview/Makefile ============================================================================== --- head/print/ghostview/Makefile Tue May 14 16:09:04 2013 (r318166) +++ head/print/ghostview/Makefile Tue May 14 16:12:01 2013 (r318167) @@ -1,22 +1,17 @@ -# New ports collection makefile for: ghostview -# Date created: 21 October 1994 -# Whom: jkh -# +# Created by: jkh # $FreeBSD$ -# PORTNAME= ghostview PORTVERSION= 1.5 PORTREVISION= 3 CATEGORIES= print MASTER_SITES= http://ftp.gnu.org/old-gnu/ghostview/ \ - ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/gnu/ghostview/ + http://ftp.sunet.se/pub/text-processing/postscript/interpreters/ghostscript/gnu/ghostview/ MAINTAINER= ports@FreeBSD.org -COMMENT= An X11 front-end for ghostscript, the GNU postscript previewer +COMMENT= X11 front-end for ghostscript, the GNU postscript previewer LICENSE= GPLv2 # (or later) -LICENSE_FILE= ${WRKSRC}/COPYING USE_IMAKE= yes USE_XORG= xbitmaps xaw @@ -24,8 +19,8 @@ USE_GHOSTSCRIPT_RUN= yes MAKE_JOBS_SAFE= yes MAN1= ghostview.1 - -CFLAGS+= -DUSG +PLIST_FILES= bin/ghostview \ + lib/X11/app-defaults/Ghostview post-install: @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL Added: head/print/ghostview/files/patch-Dir.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/print/ghostview/files/patch-Dir.c Tue May 14 16:12:01 2013 (r318167) @@ -0,0 +1,10 @@ +--- Dir.c.orig ++++ Dir.c +@@ -25,6 +25,7 @@ + */ + + #include <stdio.h> ++#include <stdlib.h> + + #ifdef SEL_FILE_IGNORE_CASE + #include <ctype.h> Modified: head/print/ghostview/files/patch-aa ============================================================================== --- head/print/ghostview/files/patch-aa Tue May 14 16:09:04 2013 (r318166) +++ head/print/ghostview/files/patch-aa Tue May 14 16:12:01 2013 (r318167) @@ -1,6 +1,15 @@ --- misc.c.orig Sat Jul 24 03:29:12 1993 +++ misc.c Wed Jun 5 22:41:39 2002 -@@ -60,8 +60,9 @@ +@@ -24,6 +24,8 @@ + */ + + #include <stdio.h> ++#include <stdlib.h> ++ + #ifndef SEEK_SET + #define SEEK_SET 0 + #endif +@@ -60,8 +62,9 @@ #ifdef VMS #include <perror.h> #else _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" |