[SCM] gwc/master: Refresh 0001-buildsystem.patch.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Tue Apr 10 07:57:46 UTC 2012


The following commit has been merged in the master branch:
commit 7b37b2e43131f9302c6dead10242ef7239709710
Author: Alessio Treglia <alessio at debian.org>
Date:   Tue Apr 10 09:55:14 2012 +0200

    Refresh 0001-buildsystem.patch.

diff --git a/debian/patches/0001-buildsystem.patch b/debian/patches/0001-buildsystem.patch
index 7f0e9df..0409fca 100644
--- a/debian/patches/0001-buildsystem.patch
+++ b/debian/patches/0001-buildsystem.patch
@@ -52,7 +52,7 @@ Forwarded: no
 -	$(CC) $(OBJS) $(EFENCE) $(LFLAGS) $(LIBS) -o gwc
 +	$(CC) $(LDFLAGS) $(OBJS) $(EFENCE) $(LFLAGS) $(LIBS) -o gwc
  
- audio_device.o : audio_device.c audio_alsa.c audio_oss.c audio_osx.c audio_pa.c
+ audio_device.o : audio_device.c audio_alsa.c audio_oss.c audio_osx.c audio_pa.c Makefile
  	$(COMPILE) -c audio_device.c
 @@ -60,7 +59,7 @@ install : gwc
  	install -d $(DOCDIR)
diff --git a/debian/patches/0002-fix_undo_files_permissions.patch b/debian/patches/0002-fix_undo_files_permissions.patch
deleted file mode 100644
index 3940e98..0000000
--- a/debian/patches/0002-fix_undo_files_permissions.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Description: Don't set the executable bit on the generated undo files.
-Author: Alessio Treglia <alessio at debian.org>
-Bug-Debian: http://bugs.debian.org/277615
-Bug: https://sourceforge.net/support/tracker.php?aid=3303531
----
- sample_block.c |    2 +-
- undo.c         |    2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
---- gwc.orig/undo.c
-+++ gwc/undo.c
-@@ -55,7 +55,7 @@ int start_save_undo(char *undo_msg, stru
- 
-     sprintf(filename, "gwc_undo_%d.dat", undo_level) ;
- 
--    if( (undo_fd = open(filename, O_CREAT|O_TRUNC|O_RDWR,S_IRWXU)) == -1) {
-+    if( (undo_fd = open(filename, O_CREAT|O_TRUNC|O_RDWR,S_IRUSR | S_IWUSR)) == -1) {
- 	warning("Can't save undo information") ;
- 	return -1 ;
-     }
---- gwc.orig/sample_block.c
-+++ gwc/sample_block.c
-@@ -48,7 +48,7 @@ void save_sample_block_data(struct sound
-     char l ;
-     int fd ;
-     sprintf(buf, "%s.gwc", wave_filename) ;
--    fd = open(buf, O_WRONLY | O_TRUNC | O_CREAT, S_IRWXU) ;
-+    fd = open(buf, O_WRONLY | O_TRUNC | O_CREAT, S_IRUSR | S_IWUSR) ;
- 
-     sprintf(buf, "gwc %d %d", GWC_VERSION_MAJOR, GWC_VERSION_MINOR) ;
-     l = (char)strlen(buf) ;

-- 
gwc packaging



More information about the pkg-multimedia-commits mailing list