FreeBSD Bugzilla – Attachment 128661 Details for
Bug 172511
x11/lupe: Update MASTER_SITES
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
x11_lupe.diff
x11_lupe.diff (text/x-diff), 4.04 KB, created by
tkato432
on 2012-10-26 18:47:25 UTC
(
hide
)
Description:
x11_lupe.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2012-10-26 18:47:25 UTC
Size:
4.04 KB
patch
obsolete
>diff -urN /usr/ports/x11/lupe/Makefile x11/lupe/Makefile >--- /usr/ports/x11/lupe/Makefile 2012-10-26 19:23:01.000000000 +0900 >+++ x11/lupe/Makefile 2012-10-26 21:39:56.000000000 +0900 >@@ -4,25 +4,41 @@ > PORTNAME= lupe > PORTVERSION= 0.08c > CATEGORIES= x11 accessibility >-MASTER_SITES= http://www.oersted.co.jp/~yav/soft/ >-DISTNAME= lupe008c >+MASTER_SITES= http://www2s.biglobe.ne.jp/~yav/soft/ >+DISTNAME= ${PORTNAME}${PORTVERSION:S/.//} > > MAINTAINER= ports@FreeBSD.org > COMMENT= Real-time magnifying glass for X11 > >-DEPRECATED= No more public distfiles >-EXPIRATION_DATE= 2012-11-26 >+OPTIONS_DEFINE= DOCS >+ >+WRKSRC= ${WRKDIR}/${PORTNAME} > >-WRKSRC= ${WRKDIR}/lupe >-USE_IMAKE= yes > USE_XORG= x11 xext >-XMKMF= xmkmf >-MAN1= lupe.1 >+GNU_CONFIGURE= yes >+ >+CPPFLAGS+= -I${LOCALBASE}/include >+LDFLAGS+= -L${LOCALBASE}/lib -lX11 -lXext -lm >+ >+MAN1= ${PORTNAME}.1 >+PORTDOCS= ${PORTNAME}.doc >+PLIST_FILES= bin/${PORTNAME} >+ >+.include <bsd.port.options.mk> >+ >+post-extract: >+ @${LN} -sf ${PORTNAME}.man ${WRKSRC}/${PORTNAME}.1 >+ >+do-build: >+ (cd ${WRKSRC} \ >+ && ${CC} ${CFLAGS} ${CPPFLAGS} -o ${PORTNAME} *.c ${LDFLAGS}) > >-post-install: >-.if !defined(NOPORTDOCS) >- ${MKDIR} ${DOCSDIR} >- ${INSTALL_MAN} ${WRKSRC}/lupe.doc ${DOCSDIR} >+do-install: >+ (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${PREFIX}/bin) >+ (cd ${WRKSRC} && ${INSTALL_MAN} ${PORTNAME}.1 ${MANPREFIX}/man/man1) >+.if ${PORT_OPTIONS:MDOCS} >+ @${MKDIR} ${DOCSDIR} >+ (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTNAME}.doc ${DOCSDIR}) > .endif > > .include <bsd.port.mk> >diff -urN /usr/ports/x11/lupe/files/patch-avionics.c x11/lupe/files/patch-avionics.c >--- /usr/ports/x11/lupe/files/patch-avionics.c 1970-01-01 09:00:00.000000000 +0900 >+++ x11/lupe/files/patch-avionics.c 2012-10-07 20:04:43.000000000 +0900 >@@ -0,0 +1,13 @@ >+--- avionics.c.orig 1999-05-29 18:08:12.000000000 +0900 >++++ avionics.c 2012-10-07 20:03:12.000000000 +0900 >+@@ -16,6 +16,10 @@ >+ #include <stdlib.h> >+ #endif >+ >++#ifdef HAVE_STRING_H >++#include <string.h> >++#endif >++ >+ #include "extern.h" >+ #include "timer.h" >+ >diff -urN /usr/ports/x11/lupe/files/patch-lupe.c x11/lupe/files/patch-lupe.c >--- /usr/ports/x11/lupe/files/patch-lupe.c 1970-01-01 09:00:00.000000000 +0900 >+++ x11/lupe/files/patch-lupe.c 2012-10-07 20:04:18.000000000 +0900 >@@ -0,0 +1,22 @@ >+--- lupe.c.orig 1999-05-29 18:08:12.000000000 +0900 >++++ lupe.c 2012-10-07 20:03:55.000000000 +0900 >+@@ -19,6 +19,10 @@ >+ #include "version.h" >+ #include "timer.h" >+ >++#ifdef HAVE_STDLIB_H >++#include <stdlib.h> >++#endif >++ >+ #ifdef HAVE_STRING_H >+ #include <string.h> >+ #else >+@@ -339,7 +343,7 @@ >+ photo_delay *= 1000; /* sec. to millisec. */ >+ } >+ >+-void main(argc, argv) >++int main(argc, argv) >+ int argc; >+ char **argv; >+ { >diff -urN /usr/ports/x11/lupe/files/patch-option.c x11/lupe/files/patch-option.c >--- /usr/ports/x11/lupe/files/patch-option.c 1970-01-01 09:00:00.000000000 +0900 >+++ x11/lupe/files/patch-option.c 2012-10-07 20:04:32.000000000 +0900 >@@ -0,0 +1,13 @@ >+--- option.c.orig 1999-05-29 18:08:12.000000000 +0900 >++++ option.c 2012-10-07 20:02:51.000000000 +0900 >+@@ -13,6 +13,10 @@ >+ #include <stdlib.h> >+ #endif >+ >++#ifdef HAVE_STRING_H >++#include <string.h> >++#endif >++ >+ #include "extern.h" >+ >+ #define OPT_FUNC 1 >diff -urN /usr/ports/x11/lupe/pkg-descr x11/lupe/pkg-descr >--- /usr/ports/x11/lupe/pkg-descr 1998-02-08 04:55:58.000000000 +0900 >+++ x11/lupe/pkg-descr 2012-10-07 20:11:47.000000000 +0900 >@@ -1,8 +1,6 @@ > Lupe is a magnifying glass for X Window System. >-Lupe is like xmag but it updates the image in real-time >-and needs more processor power. > >-See man page for details. >+Lupe is like xmag but it updates the image in real-time and needs >+more processor power. > >-Orignal lupe written by UHD98984@pcvan.or.jp . >-This port is done by kazu@jp.freebsd.org . >+WWW: http://www2s.biglobe.ne.jp/~yav/soft/indexe.html >diff -urN /usr/ports/x11/lupe/pkg-plist x11/lupe/pkg-plist >--- /usr/ports/x11/lupe/pkg-plist 2008-07-10 03:01:56.000000000 +0900 >+++ x11/lupe/pkg-plist 1970-01-01 09:00:00.000000000 +0900 >@@ -1,3 +0,0 @@ >-bin/lupe >-%%PORTDOCS%%%%DOCSDIR%%/lupe.doc >-%%PORTDOCS%%@dirrm %%DOCSDIR%%
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 172511
:
128660
| 128661