FreeBSD Bugzilla – Attachment 12655 Details for
Bug 24352
Update port: audio/cmp3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.47 KB, created by
tkato
on 2001-01-15 20:10:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
tkato
Created:
2001-01-15 20:10:02 UTC
Size:
2.47 KB
patch
obsolete
>diff -urN /usr/ports/audio/cmp3/Makefile audio/cmp3/Makefile >--- /usr/ports/audio/cmp3/Makefile Thu Dec 28 01:02:07 2000 >+++ audio/cmp3/Makefile Fri Jan 12 02:45:01 2001 >@@ -7,6 +7,7 @@ > > PORTNAME= cmp3 > PORTVERSION= 2.0.p5 >+PORTREVISION= 1 > CATEGORIES= audio > MASTER_SITES= http://www.personal.psu.edu/users/n/k/nkk104/cmp3/ > DISTNAME= ${PORTNAME}-${PORTVERSION:S/.p/pre/} >diff -urN /usr/ports/audio/cmp3/files/patch-aa audio/cmp3/files/patch-aa >--- /usr/ports/audio/cmp3/files/patch-aa Thu Dec 28 01:02:08 2000 >+++ audio/cmp3/files/patch-aa Fri Jan 12 03:02:31 2001 >@@ -1,6 +1,6 @@ > --- Makefile.orig Fri Mar 17 10:35:33 2000 >-+++ Makefile Sat Dec 23 10:34:05 2000 >-@@ -3,19 +3,19 @@ >++++ Makefile Fri Jan 12 03:02:20 2001 >+@@ -3,22 +3,22 @@ > # > # initial_directory is now set in the config file > mpg123_location := "mpg123" >@@ -11,7 +11,7 @@ > # Location of config file - Please edit this file before installing > # > -config_file := "$(HOME)/.cmp3rc" >-+config_file := "$$\(HOME)/.cmp3rc" >++#config_file := "$(HOME)/.cmp3rc" > > # > # Uncomment and set if desired >@@ -19,10 +19,14 @@ > > ## An ass repository is a nice thing to have. See README > -ass_repository := "$(HOME)/.cmp3ass" >-+ass_repository := "$$\(HOME)/.cmp3ass" >++#ass_repository := "$(HOME)/.cmp3ass" > > ## Define this for bufferring or add other parameters to mpg123 >- mpg123_params := -b 320 >+-mpg123_params := -b 320 >++#mpg123_params := -b 320 >+ >+ # You need debugging info? Uncomment this and check /tmp/cmp3log >+ #debugging := 1 > @@ -38,8 +38,8 @@ > # stands. Change the code to do something else you want it to do... > #PARAMS +=-DMY_CD >diff -urN /usr/ports/audio/cmp3/files/patch-ae audio/cmp3/files/patch-ae >--- /usr/ports/audio/cmp3/files/patch-ae Thu Jan 1 09:00:00 1970 >+++ audio/cmp3/files/patch-ae Fri Jan 12 02:17:33 2001 >@@ -0,0 +1,22 @@ >+--- cmp3main.c.orig Fri Mar 17 08:40:00 2000 >++++ cmp3main.c Fri Jan 12 02:16:41 2001 >+@@ -33,13 +33,18 @@ >+ int lastleftline = 0; >+ int lastrightline = 0; >+ char *init_dir = NULL; >++ char *home_dir = NULL; >++ char cmp3_config[4096]; >+ >+ if (argc > 1) >+ docmdline(argc, argv); >+ shm_init(); >+ >+ cmp3rc = ini_create(); >+- if (ini_load(cmp3rc, CMP3_CONFIG) == INI_FAIL) >++ home_dir = getenv("HOME"); >++ strcpy (cmp3_config, home_dir); >++ strcat (cmp3_config, "/.cmp3rc"); >++ if (ini_load(cmp3rc, cmp3_config) == INI_FAIL) >+ { >+ ini_destroy(cmp3rc); >+ cmp3rc = NULL;
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 24352
: 12655