Re: Fwd: Deprecation campaign

2011-04-07 Thread Chris Rees
On 06/04/2011, Ruslan Mahmatkhanov cvs-...@yandex.ru wrote:
 06.04.2011 18:30, Wesley Shields пишет:
 I went ahead and committed these changes. Please let me know if you
 would like to be maintainer or not.

 Thanks a lot!

 I'm afraid that i'm not a proper person to maintain such a port,
 because my c-foo is very little. Maybe Michel Talon, that initiated
 this port resurrection and that sent build patches would be interested
 in maintaining this port.

I could look after it in the absence of others' interest.

Chris
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Fwd: Deprecation campaign

2011-04-07 Thread Wesley Shields
On Thu, Apr 07, 2011 at 11:40:31AM +0100, Chris Rees wrote:
 On 06/04/2011, Ruslan Mahmatkhanov cvs-...@yandex.ru wrote:
  06.04.2011 18:30, Wesley Shields ?:
  I went ahead and committed these changes. Please let me know if you
  would like to be maintainer or not.
 
  Thanks a lot!
 
  I'm afraid that i'm not a proper person to maintain such a port,
  because my c-foo is very little. Maybe Michel Talon, that initiated
  this port resurrection and that sent build patches would be interested
  in maintaining this port.
 
 I could look after it in the absence of others' interest.

I just committed this.

-- WXS
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Fwd: Deprecation campaign

2011-04-06 Thread Wesley Shields
On Wed, Apr 06, 2011 at 08:56:27AM +0400, Ruslan Mahmatkhanov wrote:
 Hi!
 
 So can please anybody commit this? This patch unbreaks devel/ucpp.
 Build patches are from Michel Talon ta...@lpthe.jussieu.fr.
 (Should be applied with -p0)

I will take care of this. As this port is currently unmaintained, do you
want to take the maintainer role?

-- WXS
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Fwd: Deprecation campaign

2011-04-06 Thread Wesley Shields
On Wed, Apr 06, 2011 at 08:56:27AM +0400, Ruslan Mahmatkhanov wrote:
 Hi!
 
 So can please anybody commit this? This patch unbreaks devel/ucpp.
 Build patches are from Michel Talon ta...@lpthe.jussieu.fr.
 (Should be applied with -p0)

Actually, on second thought I'm hesitant to commit this. There is a
distinfo change without a version bump. I will try to hunt down the old
distfile and figure out what has changed between that and the new one in
recorded in your patch.

-- WXS
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Fwd: Deprecation campaign

2011-04-06 Thread Wesley Shields
On Wed, Apr 06, 2011 at 10:17:53AM -0400, Wesley Shields wrote:
 On Wed, Apr 06, 2011 at 08:56:27AM +0400, Ruslan Mahmatkhanov wrote:
  Hi!
  
  So can please anybody commit this? This patch unbreaks devel/ucpp.
  Build patches are from Michel Talon ta...@lpthe.jussieu.fr.
  (Should be applied with -p0)
 
 Actually, on second thought I'm hesitant to commit this. There is a
 distinfo change without a version bump. I will try to hunt down the old
 distfile and figure out what has changed between that and the new one in
 recorded in your patch.

I reviewed the changes between the old distfile and the new one and they
are build related and one change to the code, which was harmless.

I went ahead and committed these changes. Please let me know if you
would like to be maintainer or not.

-- WXS
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Fwd: Deprecation campaign

2011-04-06 Thread Ruslan Mahmatkhanov

06.04.2011 18:30, Wesley Shields пишет:

On Wed, Apr 06, 2011 at 10:17:53AM -0400, Wesley Shields wrote:

On Wed, Apr 06, 2011 at 08:56:27AM +0400, Ruslan Mahmatkhanov wrote:

Hi!

So can please anybody commit this? This patch unbreaks devel/ucpp.
Build patches are from Michel Talonta...@lpthe.jussieu.fr.
(Should be applied with -p0)


Actually, on second thought I'm hesitant to commit this. There is a
distinfo change without a version bump. I will try to hunt down the old
distfile and figure out what has changed between that and the new one in
recorded in your patch.


I reviewed the changes between the old distfile and the new one and they
are build related and one change to the code, which was harmless.

I went ahead and committed these changes. Please let me know if you
would like to be maintainer or not.


Thanks a lot!

I'm afraid that i'm not a proper person to maintain such a port,
because my c-foo is very little. Maybe Michel Talon, that initiated
this port resurrection and that sent build patches would be interested
in maintaining this port.

--
Regards,
Ruslan
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Fwd: Deprecation campaign

2011-04-06 Thread Matthias Andree
Am 06.04.2011 06:56, schrieb Ruslan Mahmatkhanov:
 Hi!
 
 So can please anybody commit this? This patch unbreaks devel/ucpp.
 Build patches are from Michel Talon ta...@lpthe.jussieu.fr.
 (Should be applied with -p0)
 
 Thanks.

Hi Ruslan,

Have you checked the tarball differences that no nasty code was introduced?

I. e. have you read the diff between the old and new unpacked tarballs?

Any particular reason you haven't filed a PR?

Best
Matthias
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Fwd: Deprecation campaign

2011-04-06 Thread Ruslan Mahmatkhanov

06.04.2011 15:47, Matthias Andree пишет:

Am 06.04.2011 06:56, schrieb Ruslan Mahmatkhanov:

Hi!

So can please anybody commit this? This patch unbreaks devel/ucpp.
Build patches are from Michel Talonta...@lpthe.jussieu.fr.
(Should be applied with -p0)

Thanks.


Hi Ruslan,

Have you checked the tarball differences that no nasty code was introduced?

I. e. have you read the diff between the old and new unpacked tarballs?


I'm not, but wxs@ did.



Any particular reason you haven't filed a PR?


Yes. My PR's are now auto-assigned to miwi@, but Martin seems busy right now, so 
i decide to not bother him and that posting the patch into the ports@ will bring 
it faster to the ports tree.


--
Regards,
Ruslan
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Fwd: Deprecation campaign

2011-04-05 Thread Ruslan Mahmatkhanov

Hi!

So can please anybody commit this? This patch unbreaks devel/ucpp.
Build patches are from Michel Talon ta...@lpthe.jussieu.fr.
(Should be applied with -p0)

Thanks.

--
Regards,
Ruslan

diff -ruNa ucpp.orig/Makefile ucpp/Makefile
--- ucpp.orig/Makefile  2011-03-16 16:55:41.0 +0300
+++ ucpp/Makefile   2011-03-17 21:03:33.0 +0300
@@ -9,16 +9,16 @@
 PORTNAME=  ucpp
 PORTVERSION=   1.3
 CATEGORIES=devel
-MASTER_SITES=  http://pornin.nerim.net/ucpp/
+MASTER_SITES=  GOOGLE_CODE
 
 MAINTAINER=po...@freebsd.org
 COMMENT=   A C preprocessor and lexer
 
-DEPRECATED= Upstream disapear and distfile is no more available
-EXPIRATION_DATE=2011-05-01
+LICENSE=   BSD
 
 MAN1=  ucpp.1
 PLIST_FILES=   bin/ucpp
+USE_GMAKE= yes
 
 do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
diff -ruNa ucpp.orig/distinfo ucpp/distinfo
--- ucpp.orig/distinfo  2005-11-24 18:40:02.0 +0300
+++ ucpp/distinfo   2011-03-17 21:03:33.0 +0300
@@ -1,3 +1,2 @@
-MD5 (ucpp-1.3.tar.gz) = f6f508ab42dd3eb57c0411a25429c9e8
-SHA256 (ucpp-1.3.tar.gz) = 
6057028d96d349acd3de39a83f88f5772c422f822beb7f139dca8eabcf058bfa
-SIZE (ucpp-1.3.tar.gz) = 91537
+SHA256 (ucpp-1.3.tar.gz) = 
d81bff52769325497d7663356ebebb358991e4c820b43aa60c40d65a29e9c376
+SIZE (ucpp-1.3.tar.gz) = 91626
diff -ruNa ucpp.orig/files/patch-Makefile ucpp/files/patch-Makefile
--- ucpp.orig/files/patch-Makefile  2003-07-29 00:59:02.0 +0400
+++ ucpp/files/patch-Makefile   2011-03-17 21:06:08.0 +0300
@@ -1,22 +1,31 @@
 Makefile.orig  Wed Jan 15 02:07:44 2003
-+++ Makefile   Sun Jul 27 14:51:51 2003
+--- Makefile.orig  2008-10-01 21:15:41.0 +0400
 Makefile   2011-03-17 21:05:49.0 +0300
 @@ -56,8 +56,8 @@
  #FLAGS = -O -m -DMEM_CHECK
  
  # for gcc
 -CC = gcc
--FLAGS = -g -W -Wall -ansi -DAUDIT -DMEM_DEBUG
+-FLAGS = -O3 -W -Wall -ansi
 +CC ?= gcc
 +FLAGS = -ansi -DAUDIT -DMEM_DEBUG
+ #FLAGS = -g -W -Wall -ansi -DAUDIT -DMEM_DEBUG
  #FLAGS = -O3 -mcpu=pentiumpro -fomit-frame-pointer -W -Wall -ansi -DMEM_CHECK
  #FLAGS = -O -pg -W -Wall -ansi -DMEM_CHECK
- #LDFLAGS = -pg
-@@ -80,7 +80,7 @@
+@@ -78,7 +78,7 @@
+ #LIBS = libefence.a
+ #LIBS = -lgc_dbg
+ 
+-#STAND_ALONE = -DSTAND_ALONE
++STAND_ALONE = -DSTAND_ALONE
+ 
+ ifdef STAND_ALONE
+   FINAL_STEP = $(CC) $(LDFLAGS) -o ucpp $(COBJ) $(LIBS)
+@@ -87,7 +87,7 @@
  # - nothing should be changed below this line -
  
  COBJ = mem.o nhash.o cpp.o lexer.o assert.o macro.o eval.o
--CFLAGS = $(FLAGS) -DSTAND_ALONE
-+CFLAGS += $(FLAGS) -DSTAND_ALONE
+-CFLAGS = $(FLAGS) $(STAND_ALONE)
++CFLAGS += $(FLAGS) $(STAND_ALONE)
  
  all: ucpp
- 
+   @ar cq libucpp.a *.o
diff -ruNa ucpp.orig/files/patch-cpp.c ucpp/files/patch-cpp.c
--- ucpp.orig/files/patch-cpp.c 1970-01-01 03:00:00.0 +0300
+++ ucpp/files/patch-cpp.c  2011-03-17 21:08:34.0 +0300
@@ -0,0 +1,22 @@
+--- cpp.c.orig 2008-10-01 21:15:41.0 +0400
 cpp.c  2011-03-17 21:08:15.0 +0300
+@@ -65,8 +65,8 @@
+ FILE *emit_output;
+ 
+ #ifdef STAND_ALONE
+-static char *system_macros_def[] = { STD_MACROS, 0 };
+-static char *system_assertions_def[] = { STD_ASSERT, 0 };
++static char *system_macros_def[] = { /usr/include, 0 };
++static char *system_assertions_def[] = { , 0 };
+ #endif
+ 
+ char *current_filename = 0, *current_long_filename = 0;
+@@ -2364,7 +2364,7 @@
+   char *filename = 0;
+   int with_std_incpath = 1;
+   int print_version = 0, print_defs = 0, print_asserts = 0;
+-  int system_macros = 0, standard_assertions = 1;
++  int system_macros = 0, standard_assertions = 0;
+ 
+   init_lexer_state(ls);
+   ls-flags = DEFAULT_CPP_FLAGS;
diff -ruNa ucpp.orig/pkg-descr ucpp/pkg-descr
--- ucpp.orig/pkg-descr 2002-08-19 15:44:39.0 +0400
+++ ucpp/pkg-descr  2011-03-17 21:03:33.0 +0300
@@ -6,4 +6,4 @@
- Possibility to use the code as a lexer (that outputs tokens
  directly) 
 
-WWW: http://pornin.nerim.net/ucpp/
+WWW: http://code.google.com/p/ucpp/
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org