FreeBSD Bugzilla – Attachment 110118 Details for
Bug 151235
[maintainer update] [patch] astro/astrometry port update to fix FreeBSD 6.x amd64 compilation issue
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.90 KB, created by
dereckson
on 2010-10-06 01:40:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
dereckson
Created:
2010-10-06 01:40:02 UTC
Size:
1.90 KB
patch
obsolete
>diff -urN astrometry.orig/Makefile astrometry/Makefile >--- astrometry.orig/Makefile 2010-09-21 13:08:40.000000000 +0200 >+++ astrometry/Makefile 2010-10-05 23:01:49.000000000 +0200 >@@ -2,11 +2,12 @@ > # Date created: 7 July 2009 > # Whom: Dereckson <dereckson@gmail.com> > # >-# $FreeBSD: ports/astro/astrometry/Makefile,v 1.8 2010/09/21 11:08:40 makc Exp $ >+# $FreeBSD$ > # > > PORTNAME= astrometry > PORTVERSION= 0.34 >+PORTREVISION= 1 > CATEGORIES= astro > MASTER_SITES= http://www.astrometry.net/downloads/ > DISTNAME= astrometry.net-${PORTVERSION} >@@ -28,8 +29,12 @@ > MAKE_JOBS_UNSAFE= yes > SUB_FILES= pkg-message > >+.include <bsd.port.pre.mk> >+ > post-extract: >- ${CP} ${FILESDIR}/gnu-specific-config.h ${WRKSRC}/util/ >+.if ${OSVERSION} < 700000 && ${ARCH} == "amd64" >+ ${CP} ${FILESDIR}/os-features-config.h ${WRKSRC}/util/ >+.endif > > post-patch: > ${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \ >@@ -38,8 +43,6 @@ > post-install: > @${CAT} ${PKGMESSAGE} > >-.include <bsd.port.pre.mk> >- > .if ${ARCH} == "sparc64" > BROKEN= Does not build on sparc64 > .endif >diff -urN astrometry.orig/files/gnu-specific-config.h astrometry/files/gnu-specific-config.h >--- astrometry.orig/files/gnu-specific-config.h 2009-07-17 19:13:13.000000000 +0200 >+++ astrometry/files/gnu-specific-config.h 1970-01-01 01:00:00.000000000 +0100 >@@ -1,4 +0,0 @@ >-#define NEED_CANONICALIZE_FILE_NAME 1 >-#define NEED_DECLARE_QSORT_R 1 >-#define NEED_QSORT_R 0 >-#define NEED_SWAP_QSORT_R 0 >diff -urN astrometry.orig/files/os-features-config.h astrometry/files/os-features-config.h >--- astrometry.orig/files/os-features-config.h 1970-01-01 01:00:00.000000000 +0100 >+++ astrometry/files/os-features-config.h 2010-10-05 23:06:06.000000000 +0200 >@@ -0,0 +1,5 @@ >+#define NEED_CANONICALIZE_FILE_NAME 1 >+#define NEED_DECLARE_QSORT_R 1 >+#define NEED_QSORT_R 0 >+#define NEED_SWAP_QSORT_R 0 >+#define HAVE_NETPBM 0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 151235
: 110118